diff --git a/docs/en/msg_docs/SurfaceVehicleCourseSetpoint.md b/docs/en/msg_docs/SurfaceVehicleCourseSetpoint.md index 2e7b51fb234..ee54255ac9c 100644 --- a/docs/en/msg_docs/SurfaceVehicleCourseSetpoint.md +++ b/docs/en/msg_docs/SurfaceVehicleCourseSetpoint.md @@ -20,12 +20,12 @@ corrected. To follow a desired track, publish surface_vehicle_position_setpoint ## Fields -| Name | Type | Unit [Frame] | Range/Enum | Description | -| ----------------------------------- | --------- | ------------ | ------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| timestamp | `uint64` | us | | Time since system start | -| course | `float32` | rad [NED] | [-pi : pi] | Course over ground to hold (Invalid: NaN No course. The last valid course is controlled until a NaN course is received. With a speed, the speed is still commanded (rover_ackermann and rover_differential keep the current heading, rover_mecanum drives along its body x axis); with NaN speed too, the course controller stops) | -| speed | `float32` | m/s | [-inf : inf] | Cruising speed; a negative value drives the vehicle in reverse (rear first) along the course (Invalid: NaN Speed not controlled: the speed controller is deactivated, and the heading is turned so that an external thrust commanded (surface_vehicle_thrust_setpoint) drives along the course: the sign of x gives forwards or reverse, rover_mecanum also aligns any x/y thrust direction with the course) | -| yaw | `float32` | rad [NED] | [-pi : pi] | Currently unused. Only for omnidirectional vehicles: vehicle yaw while holding the course. (Invalid: NaN Not considered) | +| Name | Type | Unit [Frame] | Range/Enum | Description | +| ----------------------------------- | --------- | ------------ | ------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| timestamp | `uint64` | us | | Time since system start | +| course | `float32` | rad [NED] | [-pi : pi] | Course over ground to hold (Invalid: NaN No course. The last valid course is controlled until a NaN course is received. With a speed, the speed is still commanded (rover_ackermann and rover_differential keep the current heading, rover_mecanum drives along its body x axis); with NaN speed too, the course controller stops) | +| speed | `float32` | m/s | [-inf : inf] | Cruising speed; a negative value drives the vehicle in reverse (rear first) along the course (Invalid: NaN Speed not controlled: the speed controller is deactivated, and the heading is turned so that an external thrust commanded (surface_vehicle_thrust_setpoint) drives along the course: the sign of x gives forwards or reverse, rover_mecanum also aligns any x/y thrust direction with the course. The publisher must also publish the thrust: otherwise the last thrust of the speed controller stays applied) | +| yaw | `float32` | rad [NED] | [-pi : pi] | Currently unused. Only for omnidirectional vehicles: vehicle yaw while holding the course. (Invalid: NaN Not considered) | ## Source Message @@ -48,7 +48,7 @@ corrected. To follow a desired track, publish surface_vehicle_position_setpoint uint64 timestamp # [us] Time since system start float32 course # [rad] [@range -pi, pi] [@frame NED] [@invalid NaN No course. The last valid course is controlled until a NaN course is received. With a speed, the speed is still commanded (rover_ackermann and rover_differential keep the current heading, rover_mecanum drives along its body x axis); with NaN speed too, the course controller stops] Course over ground to hold -float32 speed # [m/s] [@range -inf, inf] [@invalid NaN Speed not controlled: the speed controller is deactivated, and the heading is turned so that an external thrust commanded (surface_vehicle_thrust_setpoint) drives along the course: the sign of x gives forwards or reverse, rover_mecanum also aligns any x/y thrust direction with the course] Cruising speed; a negative value drives the vehicle in reverse (rear first) along the course +float32 speed # [m/s] [@range -inf, inf] [@invalid NaN Speed not controlled: the speed controller is deactivated, and the heading is turned so that an external thrust commanded (surface_vehicle_thrust_setpoint) drives along the course: the sign of x gives forwards or reverse, rover_mecanum also aligns any x/y thrust direction with the course. The publisher must also publish the thrust: otherwise the last thrust of the speed controller stays applied] Cruising speed; a negative value drives the vehicle in reverse (rear first) along the course float32 yaw # [rad] [@range -pi, pi] [@frame NED] [@invalid NaN Not considered] Currently unused. Only for omnidirectional vehicles: vehicle yaw while holding the course. ``` diff --git a/msg/SurfaceVehicleCourseSetpoint.msg b/msg/SurfaceVehicleCourseSetpoint.msg index 6f87d0b0665..cd0a0cbb94a 100644 --- a/msg/SurfaceVehicleCourseSetpoint.msg +++ b/msg/SurfaceVehicleCourseSetpoint.msg @@ -12,5 +12,5 @@ uint64 timestamp # [us] Time since system start float32 course # [rad] [@range -pi, pi] [@frame NED] [@invalid NaN No course. The last valid course is controlled until a NaN course is received. With a speed, the speed is still commanded (rover_ackermann and rover_differential keep the current heading, rover_mecanum drives along its body x axis); with NaN speed too, the course controller stops] Course over ground to hold -float32 speed # [m/s] [@range -inf, inf] [@invalid NaN Speed not controlled: the speed controller is deactivated, and the heading is turned so that an external thrust commanded (surface_vehicle_thrust_setpoint) drives along the course: the sign of x gives forwards or reverse, rover_mecanum also aligns any x/y thrust direction with the course] Cruising speed; a negative value drives the vehicle in reverse (rear first) along the course +float32 speed # [m/s] [@range -inf, inf] [@invalid NaN Speed not controlled: the speed controller is deactivated, and the heading is turned so that an external thrust commanded (surface_vehicle_thrust_setpoint) drives along the course: the sign of x gives forwards or reverse, rover_mecanum also aligns any x/y thrust direction with the course. The publisher must also publish the thrust: otherwise the last thrust of the speed controller stays applied] Cruising speed; a negative value drives the vehicle in reverse (rear first) along the course float32 yaw # [rad] [@range -pi, pi] [@frame NED] [@invalid NaN Not considered] Currently unused. Only for omnidirectional vehicles: vehicle yaw while holding the course.