Skip to content

Commit

Permalink
Add speed_scaling_factor msg and field in JointTrajectoryControllerState
Browse files Browse the repository at this point in the history
  • Loading branch information
fmauch committed Jul 3, 2024
1 parent 65814d9 commit 51ace18
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions control_msgs/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ set(msg_files
msg/SingleDOFState.msg
msg/SingleDOFStateStamped.msg
msg/SteeringControllerStatus.msg
msg/SpeedScalingFactor.msg
)

set(action_files
Expand Down
2 changes: 2 additions & 0 deletions control_msgs/msg/JointTrajectoryControllerState.msg
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,5 @@ trajectory_msgs/MultiDOFJointTrajectoryPoint multi_dof_feedback
trajectory_msgs/MultiDOFJointTrajectoryPoint multi_dof_error
# Current output of the controller.
trajectory_msgs/MultiDOFJointTrajectoryPoint multi_dof_output
# The speed scaling factor the trajectory is currently being executed with
float64 speed_scaling_factor
5 changes: 5 additions & 0 deletions control_msgs/msg/SpeedScalingFactor.msg
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# This message contains a scaling factor to scale trajectory execution. A factor of 1.0 means
# execution at normal speed, a factor of 0.0 means a full pause.
# Negative values are not allowed (Which should be checked by any instance consuming this message).

float64 factor

0 comments on commit 51ace18

Please sign in to comment.