diff --git a/control_msgs/CMakeLists.txt b/control_msgs/CMakeLists.txt index 6723c0d..be3bda8 100644 --- a/control_msgs/CMakeLists.txt +++ b/control_msgs/CMakeLists.txt @@ -37,6 +37,7 @@ set(msg_files msg/SingleDOFState.msg msg/SingleDOFStateStamped.msg msg/SteeringControllerStatus.msg + msg/SpeedScalingFactor.msg ) set(action_files diff --git a/control_msgs/msg/JointTrajectoryControllerState.msg b/control_msgs/msg/JointTrajectoryControllerState.msg index 5678ed0..afb5c1e 100644 --- a/control_msgs/msg/JointTrajectoryControllerState.msg +++ b/control_msgs/msg/JointTrajectoryControllerState.msg @@ -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 diff --git a/control_msgs/msg/SpeedScalingFactor.msg b/control_msgs/msg/SpeedScalingFactor.msg new file mode 100644 index 0000000..4826ac0 --- /dev/null +++ b/control_msgs/msg/SpeedScalingFactor.msg @@ -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