Skip to content

Commit fc0b600

Browse files
Refactor trajectory control and introduce impedance controller (#78) (#79)
* start moving trajectory controller and setup pd tracking controller * continue migration * refactor and made initial pass at pd controller * compile and cleanup * testing * what * confused * maybe * maybe * maybe * maybe * maybe * maybe * cleanup? * cleanup? * test * test * revert for now * resolve upstream deprecations * bump version (cherry picked from commit 20f768d) Co-authored-by: Evan Palmer <evanp922@gmail.com>
1 parent 0b68331 commit fc0b600

60 files changed

Lines changed: 1101 additions & 239 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

auv_control_demos/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Changelog for package auv_control_demos
22

3+
## 0.4.1 (2026-02-23)
4+
5+
## 0.4.0 (2025-08-01)
6+
37
## 0.3.3 (2025-07-29)
48

59
## 0.3.2 (2025-07-22)

auv_control_demos/package.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<package format="3">
44

55
<name>auv_control_demos</name>
6-
<version>0.3.3</version>
6+
<version>0.4.1</version>
77
<description>Example package that includes demos for using auv_controllers in individual and chained modes</description>
88

99
<maintainer email="mitchcol@oregonstate.edu">Colin Mitchell</maintainer>

auv_control_msgs/CHANGELOG.md

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
11
# Changelog for package auv_control_msgs
22

3+
## 0.4.1 (2026-02-23)
4+
5+
## 0.4.0 (2025-08-01)
6+
7+
- Renames the Trajectory message to CartesianTrajectory
8+
- Renames the TrajectoryPoint message to CartesianTrajectoryPoint
9+
- Renames the TrajectoryControllerState message to CartesianTrajectoryControllerStateStamped
10+
- Renames the FollowTrajectory action to FollowCartesianTrajectory
11+
- Implements the ImpedanceCommand message
12+
313
## 0.3.3 (2025-07-29)
414

515
## 0.3.2 (2025-07-22)
@@ -12,10 +22,10 @@
1222

1323
## 0.2.0 (2025-05-03)
1424

15-
- Implements the EndEffectorTrajectory message
16-
- Implements the EndEffectorTrajectoryPoint message
17-
- Implements the EndEffectorTrajectoryControllerState message
18-
- Adds the FollowEndEffectorTrajectory action
25+
- Implements the Trajectory message
26+
- Implements the TrajectoryPoint message
27+
- Implements the TrajectoryControllerState message
28+
- Adds the FollowTrajectory action
1929

2030
## 0.1.0 (2025-04-27)
2131

auv_control_msgs/CMakeLists.txt

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,11 @@ find_package(trajectory_msgs REQUIRED)
1111
rosidl_generate_interfaces(auv_control_msgs
1212
"msg/MultiActuatorStateStamped.msg"
1313
"msg/IKControllerStateStamped.msg"
14-
"msg/EndEffectorTrajectoryPoint.msg"
15-
"msg/EndEffectorTrajectory.msg"
16-
"msg/EndEffectorTrajectoryControllerState.msg"
17-
"action/FollowEndEffectorTrajectory.action"
14+
"msg/CartesianTrajectoryPoint.msg"
15+
"msg/CartesianTrajectory.msg"
16+
"msg/CartesianTrajectoryControllerStateStamped.msg"
17+
"msg/ImpedanceCommand.msg"
18+
"action/FollowCartesianTrajectory.action"
1819
DEPENDENCIES builtin_interfaces std_msgs geometry_msgs trajectory_msgs
1920
)
2021

auv_control_msgs/action/FollowEndEffectorTrajectory.action renamed to auv_control_msgs/action/FollowCartesianTrajectory.action

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# The trajectory header stamp is used to set the trajectory start time. This can be
44
# set to zero to indicate that the controller should start following the trajectory
55
# now.
6-
auv_control_msgs/EndEffectorTrajectory trajectory
6+
auv_control_msgs/CartesianTrajectory trajectory
77

88
# The maximum error that the controller is allowed when following the trajectory.
99
# When this is set to 0, the tolerance will not be applied during control.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
std_msgs/Header header
22

33
# The sequence of end effector points to track.
4-
auv_control_msgs/EndEffectorTrajectoryPoint[] points
4+
auv_control_msgs/CartesianTrajectoryPoint[] points

auv_control_msgs/msg/EndEffectorTrajectoryControllerState.msg renamed to auv_control_msgs/msg/CartesianTrajectoryControllerStateStamped.msg

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ std_msgs/Header header
44
# for error calculation.
55
geometry_msgs/Pose reference
66

7-
# The current end effector state.
7+
# The current state.
88
geometry_msgs/Pose feedback
99

10-
# The squared Euclidean norm of the geodesic distance between the reference state and end effector state.
10+
# The squared Euclidean norm of the geodesic distance between the reference state and state.
1111
float64 error
1212

1313
# The trajectory controller command. This is the trajectory sample from the next time instance.

auv_control_msgs/msg/EndEffectorTrajectoryPoint.msg renamed to auv_control_msgs/msg/CartesianTrajectoryPoint.msg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# The sequence of end effector poses.
1+
# The sequence of poses.
22
geometry_msgs/Pose point
33

44
# The time that this point should be reached, measured from the start of the trajectory.
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
std_msgs/Header header
2+
3+
string child_frame_id
4+
5+
geometry_msgs/Pose pose
6+
7+
geometry_msgs/Twist twist
8+
9+
geometry_msgs/Wrench wrench

auv_control_msgs/package.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<package format="3">
44

55
<name>auv_control_msgs</name>
6-
<version>0.3.3</version>
6+
<version>0.4.1</version>
77
<description>Custom messages for AUV controllers</description>
88

99
<maintainer email="rakeshvivek97@gmail.com">Rakesh Vivekanandan</maintainer>

0 commit comments

Comments
 (0)