mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-11-30 13:00:57 +08:00
docs(i18n): PX4 guide translations (Crowdin) - zh-CN (#29802)
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
This commit is contained in:
1 parent
c3c6b24b07
commit
c4b8f107ae
57 files changed
+1703
-217
No files matched your search
@@ -26,25 +26,25 @@ Published by external modes and PX4 will respond with SetpointConfigReply.
|
||||
|
||||
Used in field(s): [type](#fld_type)
|
||||
|
||||
| 参数名 | 类型 | 值 | 描述 |
|
||||
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------- | -- | -------------------------------------------------------------- |
|
||||
| <a id="#TYPE_INVALID"></a> TYPE_INVALID | `uint16` | 0 | |
|
||||
| <a id="#TYPE_DIRECT_ACTUATORS"></a> TYPE_DIRECT_ACTUATORS | `uint16` | 1 | ActuatorMotors and ActuatorServos |
|
||||
| <a id="#TYPE_MULTICOPTER_GOTO"></a> TYPE_MULTICOPTER_GOTO | `uint16` | 2 | GotoSetpoint |
|
||||
| <a id="#TYPE_FIXEDWING_LATERAL_LONGITUDINAL"></a> TYPE_FIXEDWING_LATERAL_LONGITUDINAL | `uint16` | 3 | FixedWingLateralSetpoint and FixedWingLongitudinalSetpoint |
|
||||
| <a id="#TYPE_TRAJECTORY"></a> TYPE_TRAJECTORY | `uint16` | 4 | TrajectorySetpoint |
|
||||
| <a id="#TYPE_RATES"></a> TYPE_RATES | `uint16` | 5 | VehicleRatesSetpoint |
|
||||
| <a id="#TYPE_ATTITUDE"></a> TYPE_ATTITUDE | `uint16` | 6 | VehicleAttitudeSetpoint |
|
||||
| <a id="#TYPE_SURFACE_VEHICLE_POSITION"></a> TYPE_SURFACE_VEHICLE_POSITION | `uint16` | 7 | SurfaceVehiclePositionSetpoint |
|
||||
| <a id="#TYPE_SURFACE_VEHICLE_SPEED_ATTITUDE"></a> TYPE_SURFACE_VEHICLE_SPEED_ATTITUDE | `uint16` | 8 | SurfaceVehicleSpeedSetpoint and SurfaceVehicleAttitudeSetpoint |
|
||||
| <a id="#TYPE_SURFACE_VEHICLE_SPEED_RATE"></a> TYPE_SURFACE_VEHICLE_SPEED_RATE | `uint16` | 9 | SurfaceVehicleSpeedSetpoint and SurfaceVehicleRateSetpoint |
|
||||
| <a id="#TYPE_SURFACE_VEHICLE_SPEED_STEERING"></a> TYPE_SURFACE_VEHICLE_SPEED_STEERING | `uint16` | 10 | SurfaceVehicleSpeedSetpoint and SurfaceVehicleSteeringSetpoint |
|
||||
| <a id="#TYPE_ROVER_THROTTLE_ATTITUDE"></a> TYPE_ROVER_THROTTLE_ATTITUDE | `uint16` | 11 | RoverThrottleSetpoint and SurfaceVehicleAttitudeSetpoint |
|
||||
| <a id="#TYPE_ROVER_THROTTLE_RATE"></a> TYPE_ROVER_THROTTLE_RATE | `uint16` | 12 | RoverThrottleSetpoint and SurfaceVehicleRateSetpoint |
|
||||
| <a id="#TYPE_ROVER_THROTTLE_STEERING"></a> TYPE_ROVER_THROTTLE_STEERING | `uint16` | 13 | RoverThrottleSetpoint and SurfaceVehicleSteeringSetpoint |
|
||||
| <a id="#TYPE_TRAJECTORY_6DOF"></a> TYPE_TRAJECTORY_6DOF | `uint16` | 14 | TrajectorySetpoint6dof |
|
||||
| <a id="#TYPE_THRUST_AND_TORQUE"></a> TYPE_THRUST_AND_TORQUE | `uint16` | 15 | VehicleThrustSetpoint and VehicleTorqueSetpoint |
|
||||
| <a id="#TYPE_POSITION_TRIPLET"></a> TYPE_POSITION_TRIPLET | `uint16` | 16 | PositionSetpointTriplet |
|
||||
| 参数名 | 类型 | 值 | 描述 |
|
||||
| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------- | -- | --------------------------------------------------------------- |
|
||||
| <a id="#TYPE_INVALID"></a> TYPE_INVALID | `uint16` | 0 | |
|
||||
| <a id="#TYPE_DIRECT_ACTUATORS"></a> TYPE_DIRECT_ACTUATORS | `uint16` | 1 | ActuatorMotors and ActuatorServos |
|
||||
| <a id="#TYPE_MULTICOPTER_GOTO"></a> TYPE_MULTICOPTER_GOTO | `uint16` | 2 | GotoSetpoint |
|
||||
| <a id="#TYPE_FIXEDWING_LATERAL_LONGITUDINAL"></a> TYPE_FIXEDWING_LATERAL_LONGITUDINAL | `uint16` | 3 | FixedWingLateralSetpoint and FixedWingLongitudinalSetpoint |
|
||||
| <a id="#TYPE_TRAJECTORY"></a> TYPE_TRAJECTORY | `uint16` | 4 | TrajectorySetpoint |
|
||||
| <a id="#TYPE_RATES"></a> TYPE_RATES | `uint16` | 5 | VehicleRatesSetpoint |
|
||||
| <a id="#TYPE_ATTITUDE"></a> TYPE_ATTITUDE | `uint16` | 6 | VehicleAttitudeSetpoint |
|
||||
| <a id="#TYPE_SURFACE_VEHICLE_POSITION"></a> TYPE_SURFACE_VEHICLE_POSITION | `uint16` | 7 | SurfaceVehiclePositionSetpoint |
|
||||
| <a id="#TYPE_SURFACE_VEHICLE_SPEED_ATTITUDE"></a> TYPE_SURFACE_VEHICLE_SPEED_ATTITUDE | `uint16` | 8 | SurfaceVehicleSpeedSetpoint and SurfaceVehicleAttitudeSetpoint |
|
||||
| <a id="#TYPE_SURFACE_VEHICLE_SPEED_RATE"></a> TYPE_SURFACE_VEHICLE_SPEED_RATE | `uint16` | 9 | SurfaceVehicleSpeedSetpoint and SurfaceVehicleRateSetpoint |
|
||||
| <a id="#TYPE_SURFACE_VEHICLE_SPEED_STEERING"></a> TYPE_SURFACE_VEHICLE_SPEED_STEERING | `uint16` | 10 | SurfaceVehicleSpeedSetpoint and SurfaceVehicleSteeringSetpoint |
|
||||
| <a id="#TYPE_SURFACE_VEHICLE_THRUST_ATTITUDE"></a> TYPE_SURFACE_VEHICLE_THRUST_ATTITUDE | `uint16` | 11 | SurfaceVehicleThrustSetpoint and SurfaceVehicleAttitudeSetpoint |
|
||||
| <a id="#TYPE_SURFACE_VEHICLE_THRUST_RATE"></a> TYPE_SURFACE_VEHICLE_THRUST_RATE | `uint16` | 12 | SurfaceVehicleThrustSetpoint and SurfaceVehicleRateSetpoint |
|
||||
| <a id="#TYPE_SURFACE_VEHICLE_THRUST_STEERING"></a> TYPE_SURFACE_VEHICLE_THRUST_STEERING | `uint16` | 13 | SurfaceVehicleThrustSetpoint and SurfaceVehicleSteeringSetpoint |
|
||||
| <a id="#TYPE_TRAJECTORY_6DOF"></a> TYPE_TRAJECTORY_6DOF | `uint16` | 14 | TrajectorySetpoint6dof |
|
||||
| <a id="#TYPE_THRUST_AND_TORQUE"></a> TYPE_THRUST_AND_TORQUE | `uint16` | 15 | VehicleThrustSetpoint and VehicleTorqueSetpoint |
|
||||
| <a id="#TYPE_POSITION_TRIPLET"></a> TYPE_POSITION_TRIPLET | `uint16` | 16 | PositionSetpointTriplet |
|
||||
|
||||
## Constants
|
||||
|
||||
@@ -79,9 +79,9 @@ uint16 TYPE_SURFACE_VEHICLE_POSITION = 7 # SurfaceVehiclePositionSetpoint
|
||||
uint16 TYPE_SURFACE_VEHICLE_SPEED_ATTITUDE = 8 # SurfaceVehicleSpeedSetpoint and SurfaceVehicleAttitudeSetpoint
|
||||
uint16 TYPE_SURFACE_VEHICLE_SPEED_RATE = 9 # SurfaceVehicleSpeedSetpoint and SurfaceVehicleRateSetpoint
|
||||
uint16 TYPE_SURFACE_VEHICLE_SPEED_STEERING = 10 # SurfaceVehicleSpeedSetpoint and SurfaceVehicleSteeringSetpoint
|
||||
uint16 TYPE_ROVER_THROTTLE_ATTITUDE = 11 # RoverThrottleSetpoint and SurfaceVehicleAttitudeSetpoint
|
||||
uint16 TYPE_ROVER_THROTTLE_RATE = 12 # RoverThrottleSetpoint and SurfaceVehicleRateSetpoint
|
||||
uint16 TYPE_ROVER_THROTTLE_STEERING = 13 # RoverThrottleSetpoint and SurfaceVehicleSteeringSetpoint
|
||||
uint16 TYPE_SURFACE_VEHICLE_THRUST_ATTITUDE = 11 # SurfaceVehicleThrustSetpoint and SurfaceVehicleAttitudeSetpoint
|
||||
uint16 TYPE_SURFACE_VEHICLE_THRUST_RATE = 12 # SurfaceVehicleThrustSetpoint and SurfaceVehicleRateSetpoint
|
||||
uint16 TYPE_SURFACE_VEHICLE_THRUST_STEERING = 13 # SurfaceVehicleThrustSetpoint and SurfaceVehicleSteeringSetpoint
|
||||
uint16 TYPE_TRAJECTORY_6DOF = 14 # TrajectorySetpoint6dof
|
||||
uint16 TYPE_THRUST_AND_TORQUE = 15 # VehicleThrustSetpoint and VehicleTorqueSetpoint
|
||||
uint16 TYPE_POSITION_TRIPLET = 16 # PositionSetpointTriplet
|
||||
|
||||
@@ -7,13 +7,12 @@ pageClass: is-wide-page
|
||||
Surface Vehicle Course Setpoint.
|
||||
|
||||
Course setpoint for surface vehicles, on land or on water (rovers, boats).
|
||||
Consumed by the position controllers of these vehicles (currently AckermannPosControl,
|
||||
DifferentialPosControl and MecanumPosControl), which turn it into speed and attitude
|
||||
setpoints.
|
||||
Consumed by the position controllers of rover_ackermann, rover_differential and
|
||||
rover_mecanum, which turn it into speed and attitude setpoints.
|
||||
Published by the Guided Course mode of rover_ackermann, rover_differential and rover_mecanum,
|
||||
and can be sent from ROS 2 over uXRCE-DDS (/fmu/in/surface_vehicle_course_setpoint).
|
||||
The vehicle tries to track the course over ground, as with the fixed-wing course hold: vehicles
|
||||
that steer by heading correct their heading by the estimated drift angle, mecanum rovers drive
|
||||
that steer by heading correct their heading by the estimated drift angle; omnidirectional vehicles drive
|
||||
along the course setpoint directly. There is no desired track, so a sideways offset is not
|
||||
corrected. To follow a desired track, publish surface_vehicle_position_setpoint instead.
|
||||
The position controller follows whichever of the two was published most recently.
|
||||
@@ -22,12 +21,12 @@ The position controller follows whichever of the two was published most recently
|
||||
|
||||
## Fields
|
||||
|
||||
| 参数名 | 类型 | Unit [Frame] | Range/Enum | 描述 |
|
||||
| ----------------------------------- | --------- | ---------------------------------------------------------------- | -------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
||||
| <a id="fld_timestamp"></a>timestamp | `uint64` | us | | Time since system start |
|
||||
| <a id="fld_course"></a>course | `float32` | rad [NED] | [-pi : pi] | Course over ground to hold (Invalid: NaN No course; the position controller stays idle) |
|
||||
| <a id="fld_speed"></a>speed | `float32` | 米/秒 | [-inf : inf] | Cruising speed; a negative value drives the vehicle in reverse (rear first) along the course (Invalid: NaN Defaults to maximum speed) |
|
||||
| <a id="fld_yaw"></a>yaw | `float32` | rad [NED] | [-pi : pi] | Currently unused. Only for vehicles that can move sideways (e.g. mecanum rovers): vehicle yaw while holding the course. (Invalid: NaN Not considered) |
|
||||
| 参数名 | 类型 | Unit [Frame] | Range/Enum | 描述 |
|
||||
| ----------------------------------- | --------- | ---------------------------------------------------------------- | -------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
||||
| <a id="fld_timestamp"></a>timestamp | `uint64` | us | | Time since system start |
|
||||
| <a id="fld_course"></a>course | `float32` | rad [NED] | [-pi : pi] | Course over ground to hold (Invalid: NaN No course; the position controller stays idle) |
|
||||
| <a id="fld_speed"></a>speed | `float32` | 米/秒 | [-inf : inf] | Cruising speed; a negative value drives the vehicle in reverse (rear first) along the course (Invalid: NaN Defaults to maximum speed) |
|
||||
| <a id="fld_yaw"></a>yaw | `float32` | rad [NED] | [-pi : pi] | Currently unused. Only for omnidirectional vehicles: vehicle yaw while holding the course. (Invalid: NaN Not considered) |
|
||||
|
||||
## Source Message
|
||||
|
||||
@@ -40,13 +39,12 @@ Click here to see original file
|
||||
# Surface Vehicle Course Setpoint
|
||||
#
|
||||
# Course setpoint for surface vehicles, on land or on water (rovers, boats).
|
||||
# Consumed by the position controllers of these vehicles (currently AckermannPosControl,
|
||||
# DifferentialPosControl and MecanumPosControl), which turn it into speed and attitude
|
||||
# setpoints.
|
||||
# Consumed by the position controllers of rover_ackermann, rover_differential and
|
||||
# rover_mecanum, which turn it into speed and attitude setpoints.
|
||||
# Published by the Guided Course mode of rover_ackermann, rover_differential and rover_mecanum,
|
||||
# and can be sent from ROS 2 over uXRCE-DDS (/fmu/in/surface_vehicle_course_setpoint).
|
||||
# The vehicle tries to track the course over ground, as with the fixed-wing course hold: vehicles
|
||||
# that steer by heading correct their heading by the estimated drift angle, mecanum rovers drive
|
||||
# that steer by heading correct their heading by the estimated drift angle; omnidirectional vehicles drive
|
||||
# along the course setpoint directly. There is no desired track, so a sideways offset is not
|
||||
# corrected. To follow a desired track, publish surface_vehicle_position_setpoint instead.
|
||||
# The position controller follows whichever of the two was published most recently.
|
||||
@@ -54,7 +52,7 @@ Click here to see original file
|
||||
uint64 timestamp # [us] Time since system start
|
||||
float32 course # [rad] [@range -pi, pi] [@frame NED] [@invalid NaN No course; the position controller stays idle] Course over ground to hold
|
||||
float32 speed # [m/s] [@range -inf, inf] [@invalid NaN Defaults to maximum speed] 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 vehicles that can move sideways (e.g. mecanum rovers): vehicle yaw while holding 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.
|
||||
```
|
||||
|
||||
:::
|
||||
@@ -6,9 +6,9 @@ pageClass: is-wide-page
|
||||
|
||||
Surface Vehicle Position Setpoint.
|
||||
|
||||
Position setpoint consumed by the rover position controllers (AckermannPosControl,
|
||||
DifferentialPosControl, MecanumPosControl), which turn it into surface_vehicle_speed_setpoint
|
||||
and surface_vehicle_attitude_setpoint.
|
||||
Position setpoint consumed by the position controllers of rover_ackermann, rover_differential
|
||||
and rover_mecanum, which turn it into surface_vehicle_speed_setpoint and
|
||||
surface_vehicle_attitude_setpoint.
|
||||
Published by the manual (position), auto and offboard drive modes of rover_ackermann,
|
||||
rover_differential and rover_mecanum, and can be sent from ROS 2 over uXRCE-DDS
|
||||
(/fmu/in/surface_vehicle_position_setpoint).
|
||||
@@ -20,14 +20,14 @@ of the two was published most recently.
|
||||
|
||||
## Fields
|
||||
|
||||
| 参数名 | 类型 | Unit [Frame] | Range/Enum | 描述 |
|
||||
| ------------------------------------------------------------------ | ------------ | ---------------------------------------------------------------- | -------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
||||
| <a id="fld_timestamp"></a>timestamp | `uint64` | us | | Time since system start |
|
||||
| <a id="fld_target_ned"></a>target_ned | `float32[2]` | m [NED] | [-inf : inf] | Target position (Invalid: NaN No target; the position controller stays idle) |
|
||||
| <a id="fld_start_ned"></a>start_ned | `float32[2]` | m [NED] | [-inf : inf] | Start position of the desired track towards target_ned (Invalid: NaN Defaults to the vehicle position when the setpoint is received) |
|
||||
| <a id="fld_cruising_speed"></a>cruising_speed | `float32` | 米/秒 | [-inf : inf] | Cruising speed; a negative value drives the rover in reverse (rear first) towards target_ned (Invalid: NaN Defaults to maximum speed) |
|
||||
| <a id="fld_arrival_speed"></a>arrival_speed | `float32` | 米/秒 | [0 : inf] | Speed magnitude to arrive at the target with, independent of the direction of travel (Invalid: NaN Defaults to 0) |
|
||||
| <a id="fld_yaw"></a>yaw | `float32` | rad [NED] | [-pi : pi] | Currently unused. Only for vehicles that can move sideways (e.g. mecanum): vehicle yaw during travel. (Invalid: NaN Not considered) |
|
||||
| 参数名 | 类型 | Unit [Frame] | Range/Enum | 描述 |
|
||||
| ------------------------------------------------------------------ | ------------ | ---------------------------------------------------------------- | -------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
||||
| <a id="fld_timestamp"></a>timestamp | `uint64` | us | | Time since system start |
|
||||
| <a id="fld_target_ned"></a>target_ned | `float32[2]` | m [NED] | [-inf : inf] | Target position (Invalid: NaN No target; the position controller stays idle) |
|
||||
| <a id="fld_start_ned"></a>start_ned | `float32[2]` | m [NED] | [-inf : inf] | Start position of the desired track towards target_ned (Invalid: NaN Defaults to the vehicle position when the setpoint is received) |
|
||||
| <a id="fld_cruising_speed"></a>cruising_speed | `float32` | 米/秒 | [-inf : inf] | Cruising speed; a negative value drives the rover in reverse (rear first) towards target_ned (Invalid: NaN Defaults to maximum speed) |
|
||||
| <a id="fld_arrival_speed"></a>arrival_speed | `float32` | 米/秒 | [0 : inf] | Speed magnitude to arrive at the target with, independent of the direction of travel (Invalid: NaN Defaults to 0) |
|
||||
| <a id="fld_yaw"></a>yaw | `float32` | rad [NED] | [-pi : pi] | Currently unused. Only for omnidirectional vehicles: vehicle yaw during travel. (Invalid: NaN Not considered) |
|
||||
|
||||
## Source Message
|
||||
|
||||
@@ -39,9 +39,9 @@ Click here to see original file
|
||||
```c
|
||||
# Surface Vehicle Position Setpoint
|
||||
#
|
||||
# Position setpoint consumed by the rover position controllers (AckermannPosControl,
|
||||
# DifferentialPosControl, MecanumPosControl), which turn it into surface_vehicle_speed_setpoint
|
||||
# and surface_vehicle_attitude_setpoint.
|
||||
# Position setpoint consumed by the position controllers of rover_ackermann, rover_differential
|
||||
# and rover_mecanum, which turn it into surface_vehicle_speed_setpoint and
|
||||
# surface_vehicle_attitude_setpoint.
|
||||
# Published by the manual (position), auto and offboard drive modes of rover_ackermann,
|
||||
# rover_differential and rover_mecanum, and can be sent from ROS 2 over uXRCE-DDS
|
||||
# (/fmu/in/surface_vehicle_position_setpoint).
|
||||
@@ -54,7 +54,7 @@ float32[2] target_ned # [m] [@range -inf, inf] [@frame NED] [@invalid NaN No tar
|
||||
float32[2] start_ned # [m] [@range -inf, inf] [@frame NED] [@invalid NaN Defaults to the vehicle position when the setpoint is received] Start position of the desired track towards target_ned
|
||||
float32 cruising_speed # [m/s] [@range -inf, inf] [@invalid NaN Defaults to maximum speed] Cruising speed; a negative value drives the rover in reverse (rear first) towards target_ned
|
||||
float32 arrival_speed # [m/s] [@range 0, inf] [@invalid NaN Defaults to 0] Speed magnitude to arrive at the target with, independent of the direction of travel
|
||||
float32 yaw # [rad] [@range -pi, pi] [@frame NED] [@invalid NaN Not considered] Currently unused. Only for vehicles that can move sideways (e.g. mecanum): vehicle yaw during travel.
|
||||
float32 yaw # [rad] [@range -pi, pi] [@frame NED] [@invalid NaN Not considered] Currently unused. Only for omnidirectional vehicles: vehicle yaw during travel.
|
||||
```
|
||||
|
||||
:::
|
||||
@@ -6,15 +6,22 @@ pageClass: is-wide-page
|
||||
|
||||
Surface Vehicle Speed Setpoint.
|
||||
|
||||
Speed setpoint for surface vehicles, on land or on water (rovers, boats).
|
||||
Published by the position controllers of rover_ackermann, rover_differential and rover_mecanum,
|
||||
which turn surface_vehicle_position_setpoint and surface_vehicle_course_setpoint into it, by
|
||||
their position mode while steering or at rest, and by their offboard mode. Can be sent from
|
||||
ROS 2 over uXRCE-DDS (/fmu/in/surface_vehicle_speed_setpoint).
|
||||
The speed controllers of these modules turn it into surface_vehicle_thrust_setpoint.
|
||||
|
||||
**TOPICS:** surface_vehicle_speed_setpoint
|
||||
|
||||
## Fields
|
||||
|
||||
| 参数名 | 类型 | Unit [Frame] | Range/Enum | 描述 |
|
||||
| ----------------------------------------------------------------------------------- | --------- | ---------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------- |
|
||||
| <a id="fld_timestamp"></a>timestamp | `uint64` | us | | Time since system start |
|
||||
| <a id="fld_speed_body_x"></a>speed_body_x | `float32` | m/s [Body] | [-inf (Backwards) : inf (Forwards)] | Speed setpoint in body x direction |
|
||||
| <a id="fld_speed_body_y"></a>speed_body_y | `float32` | m/s [Body] | [-inf (Left) : inf (Right)] | Mecanum only: Speed setpoint in body y direction (Invalid: NaN If not mecanum) |
|
||||
| 参数名 | 类型 | Unit [Frame] | Range/Enum | 描述 |
|
||||
| ----------------------------------- | --------- | ---------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
||||
| <a id="fld_timestamp"></a>timestamp | `uint64` | us | | Time since system start |
|
||||
| <a id="fld_x"></a>x | `float32` | m/s [Body] | [-inf (Backwards) : inf (Forwards)] | Speed setpoint along the body X axis |
|
||||
| <a id="fld_y"></a>y | `float32` | m/s [Body] | [-inf (Left) : inf (Right)] | Omnidirectional vehicles only: Speed setpoint along the body Y axis (Invalid: NaN If not omnidirectional) |
|
||||
|
||||
## Source Message
|
||||
|
||||
@@ -25,10 +32,17 @@ Click here to see original file
|
||||
|
||||
```c
|
||||
# Surface Vehicle Speed Setpoint
|
||||
#
|
||||
# Speed setpoint for surface vehicles, on land or on water (rovers, boats).
|
||||
# Published by the position controllers of rover_ackermann, rover_differential and rover_mecanum,
|
||||
# which turn surface_vehicle_position_setpoint and surface_vehicle_course_setpoint into it, by
|
||||
# their position mode while steering or at rest, and by their offboard mode. Can be sent from
|
||||
# ROS 2 over uXRCE-DDS (/fmu/in/surface_vehicle_speed_setpoint).
|
||||
# The speed controllers of these modules turn it into surface_vehicle_thrust_setpoint.
|
||||
|
||||
uint64 timestamp # [us] Time since system start
|
||||
float32 speed_body_x # [m/s] [@range -inf (Backwards), inf (Forwards)] [@frame Body] Speed setpoint in body x direction
|
||||
float32 speed_body_y # [m/s] [@range -inf (Left), inf (Right)] [@frame Body] [@invalid NaN If not mecanum] Mecanum only: Speed setpoint in body y direction
|
||||
uint64 timestamp # [us] Time since system start
|
||||
float32 x # [m/s] [@range -inf (Backwards), inf (Forwards)] [@frame Body] Speed setpoint along the body X axis
|
||||
float32 y # [m/s] [@range -inf (Left), inf (Right)] [@frame Body] [@invalid NaN If not omnidirectional] Omnidirectional vehicles only: Speed setpoint along the body Y axis
|
||||
```
|
||||
|
||||
:::
|
||||
@@ -6,19 +6,24 @@ pageClass: is-wide-page
|
||||
|
||||
Surface Vehicle Speed Status.
|
||||
|
||||
Status of the speed controller of surface vehicles, on land or on water (rovers, boats).
|
||||
Published by the speed controllers of rover_ackermann, rover_differential and rover_mecanum
|
||||
while they track surface_vehicle_speed_setpoint, for logging and tuning.
|
||||
Not consumed by other modules.
|
||||
|
||||
**TOPICS:** surface_vehicle_speed_status
|
||||
|
||||
## Fields
|
||||
|
||||
| 参数名 | 类型 | Unit [Frame] | Range/Enum | 描述 |
|
||||
| ----------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------- | ---------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
||||
| <a id="fld_timestamp"></a>timestamp | `uint64` | us | | Time since system start |
|
||||
| <a id="fld_measured_speed_body_x"></a>measured_speed_body_x | `float32` | m/s [Body] | [-inf (Backwards) : inf (Forwards)] | Measured speed in body x direction |
|
||||
| <a id="fld_adjusted_speed_body_x_setpoint"></a>adjusted_speed_body_x_setpoint | `float32` | m/s [Body] | [-inf (Backwards) : inf (Forwards)] | Speed setpoint in body x direction that is being tracked (Applied slew rates) |
|
||||
| <a id="fld_pid_throttle_body_x_integral"></a>pid_throttle_body_x_integral | `float32` | | [-1 : 1] | Integral of the PID for the closed loop controller of the speed in body x direction |
|
||||
| <a id="fld_measured_speed_body_y"></a>measured_speed_body_y | `float32` | m/s [Body] | [-inf (Left) : inf (Right)] | Mecanum only: Measured speed in body y direction (Invalid: NaN If not mecanum) |
|
||||
| <a id="fld_adjusted_speed_body_y_setpoint"></a>adjusted_speed_body_y_setpoint | `float32` | m/s [Body] | [-inf (Left) : inf (Right)] | Mecanum only: Speed setpoint in body y direction that is being tracked (Applied slew rates) (Invalid: NaN If not mecanum) |
|
||||
| <a id="fld_pid_throttle_body_y_integral"></a>pid_throttle_body_y_integral | `float32` | | [-1 : 1] | Mecanum only: Integral of the PID for the closed loop controller of the speed in body y direction (Invalid: NaN If not mecanum) |
|
||||
| 参数名 | 类型 | Unit [Frame] | Range/Enum | 描述 |
|
||||
| ----------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------- | ---------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
||||
| <a id="fld_timestamp"></a>timestamp | `uint64` | us | | Time since system start |
|
||||
| <a id="fld_measured_speed_body_x"></a>measured_speed_body_x | `float32` | m/s [Body] | [-inf (Backwards) : inf (Forwards)] | Measured speed along the body X axis |
|
||||
| <a id="fld_adjusted_speed_body_x_setpoint"></a>adjusted_speed_body_x_setpoint | `float32` | m/s [Body] | [-inf (Backwards) : inf (Forwards)] | Speed setpoint along the body X axis that is being tracked (Applied slew rates) |
|
||||
| <a id="fld_pid_thrust_body_x_integral"></a>pid_thrust_body_x_integral | `float32` | | [-1 : 1] | Integral of the PID for the closed loop controller of the speed along the body X axis |
|
||||
| <a id="fld_measured_speed_body_y"></a>measured_speed_body_y | `float32` | m/s [Body] | [-inf (Left) : inf (Right)] | Omnidirectional vehicles only: Measured speed along the body Y axis (Invalid: NaN If not omnidirectional) |
|
||||
| <a id="fld_adjusted_speed_body_y_setpoint"></a>adjusted_speed_body_y_setpoint | `float32` | m/s [Body] | [-inf (Left) : inf (Right)] | Omnidirectional vehicles only: Speed setpoint along the body Y axis that is being tracked (Applied slew rates) (Invalid: NaN If not omnidirectional) |
|
||||
| <a id="fld_pid_thrust_body_y_integral"></a>pid_thrust_body_y_integral | `float32` | | [-1 : 1] | Omnidirectional vehicles only: Integral of the PID for the closed loop controller of the speed along the body Y axis (Invalid: NaN If not omnidirectional) |
|
||||
|
||||
## Source Message
|
||||
|
||||
@@ -29,14 +34,19 @@ Click here to see original file
|
||||
|
||||
```c
|
||||
# Surface Vehicle Speed Status
|
||||
#
|
||||
# Status of the speed controller of surface vehicles, on land or on water (rovers, boats).
|
||||
# Published by the speed controllers of rover_ackermann, rover_differential and rover_mecanum
|
||||
# while they track surface_vehicle_speed_setpoint, for logging and tuning.
|
||||
# Not consumed by other modules.
|
||||
|
||||
uint64 timestamp # [us] Time since system start
|
||||
float32 measured_speed_body_x # [m/s] [@range -inf (Backwards), inf (Forwards)] [@frame Body] Measured speed in body x direction
|
||||
float32 adjusted_speed_body_x_setpoint # [m/s] [@range -inf (Backwards), inf (Forwards)] [@frame Body] Speed setpoint in body x direction that is being tracked (Applied slew rates)
|
||||
float32 pid_throttle_body_x_integral # [-] [@range -1, 1] Integral of the PID for the closed loop controller of the speed in body x direction
|
||||
float32 measured_speed_body_y # [m/s] [@range -inf (Left), inf (Right)] [@frame Body] [@invalid NaN If not mecanum] Mecanum only: Measured speed in body y direction
|
||||
float32 adjusted_speed_body_y_setpoint # [m/s] [@range -inf (Left), inf (Right)] [@frame Body] [@invalid NaN If not mecanum] Mecanum only: Speed setpoint in body y direction that is being tracked (Applied slew rates)
|
||||
float32 pid_throttle_body_y_integral # [-] [@range -1, 1] [@invalid NaN If not mecanum] Mecanum only: Integral of the PID for the closed loop controller of the speed in body y direction
|
||||
uint64 timestamp # [us] Time since system start
|
||||
float32 measured_speed_body_x # [m/s] [@range -inf (Backwards), inf (Forwards)] [@frame Body] Measured speed along the body X axis
|
||||
float32 adjusted_speed_body_x_setpoint # [m/s] [@range -inf (Backwards), inf (Forwards)] [@frame Body] Speed setpoint along the body X axis that is being tracked (Applied slew rates)
|
||||
float32 pid_thrust_body_x_integral # [-] [@range -1, 1] Integral of the PID for the closed loop controller of the speed along the body X axis
|
||||
float32 measured_speed_body_y # [m/s] [@range -inf (Left), inf (Right)] [@frame Body] [@invalid NaN If not omnidirectional] Omnidirectional vehicles only: Measured speed along the body Y axis
|
||||
float32 adjusted_speed_body_y_setpoint # [m/s] [@range -inf (Left), inf (Right)] [@frame Body] [@invalid NaN If not omnidirectional] Omnidirectional vehicles only: Speed setpoint along the body Y axis that is being tracked (Applied slew rates)
|
||||
float32 pid_thrust_body_y_integral # [-] [@range -1, 1] [@invalid NaN If not omnidirectional] Omnidirectional vehicles only: Integral of the PID for the closed loop controller of the speed along the body Y axis
|
||||
```
|
||||
|
||||
:::
|
||||
@@ -0,0 +1,48 @@
|
||||
---
|
||||
pageClass: is-wide-page
|
||||
---
|
||||
|
||||
# SurfaceVehicleThrustSetpoint (UORB message)
|
||||
|
||||
Surface Vehicle Thrust Setpoint.
|
||||
|
||||
Normalized thrust setpoint for surface vehicles, on land or on water (rovers, boats).
|
||||
Published by the speed controllers of rover_ackermann, rover_differential and rover_mecanum,
|
||||
which turn surface_vehicle_speed_setpoint into it, and by their manual, acro, stabilized and
|
||||
manual parking modes directly from the sticks. Can be sent from ROS 2 over uXRCE-DDS
|
||||
(/fmu/in/surface_vehicle_thrust_setpoint).
|
||||
The actuator controllers of these modules turn it into motor commands (actuator_motors).
|
||||
|
||||
**TOPICS:** surface_vehicle_thrust_setpoint
|
||||
|
||||
## Fields
|
||||
|
||||
| 参数名 | 类型 | Unit [Frame] | Range/Enum | 描述 |
|
||||
| ----------------------------------- | --------- | ------------ | ------------------------------- | --------------------------------------------------------------------------------------------------------------------- |
|
||||
| <a id="fld_timestamp"></a>timestamp | `uint64` | us | | Time since system start |
|
||||
| <a id="fld_x"></a>x | `float32` | [Body] | [-1 (Backwards) : 1 (Forwards)] | Normalized thrust setpoint along the body X axis |
|
||||
| <a id="fld_y"></a>y | `float32` | [Body] | [-1 (Left) : 1 (Right)] | Omnidirectional vehicles only: Normalized thrust setpoint along the body Y axis (Invalid: NaN If not omnidirectional) |
|
||||
|
||||
## Source Message
|
||||
|
||||
[Source file (GitHub)](https://github.com/PX4/PX4-Autopilot/blob/main/msg/SurfaceVehicleThrustSetpoint.msg)
|
||||
|
||||
:::details
|
||||
Click here to see original file
|
||||
|
||||
```c
|
||||
# Surface Vehicle Thrust Setpoint
|
||||
#
|
||||
# Normalized thrust setpoint for surface vehicles, on land or on water (rovers, boats).
|
||||
# Published by the speed controllers of rover_ackermann, rover_differential and rover_mecanum,
|
||||
# which turn surface_vehicle_speed_setpoint into it, and by their manual, acro, stabilized and
|
||||
# manual parking modes directly from the sticks. Can be sent from ROS 2 over uXRCE-DDS
|
||||
# (/fmu/in/surface_vehicle_thrust_setpoint).
|
||||
# The actuator controllers of these modules turn it into motor commands (actuator_motors).
|
||||
|
||||
uint64 timestamp # [us] Time since system start
|
||||
float32 x # [-] [@range -1 (Backwards), 1 (Forwards)] [@frame Body] Normalized thrust setpoint along the body X axis
|
||||
float32 y # [-] [@range -1 (Left), 1 (Right)] [@frame Body] [@invalid NaN If not omnidirectional] Omnidirectional vehicles only: Normalized thrust setpoint along the body Y axis
|
||||
```
|
||||
|
||||
:::
|
||||
@@ -4,15 +4,36 @@ pageClass: is-wide-page
|
||||
|
||||
# 滚轮编码器 (UORB 消息)
|
||||
|
||||
Wheel encoder readings.
|
||||
|
||||
Angular speed, unwrapped angle and raw encoder counts for up to four wheels.
|
||||
Published by the Roboclaw driver (one instance per controller, two encoder channels each)
|
||||
and by the Gazebo bridge in simulation.
|
||||
Streamed to MAVLink as WHEEL_DISTANCE, logged, and exported over uXRCE-DDS.
|
||||
|
||||
Wheel order follows the PX4 motor index: entry i is the wheel driven by Motor(i+1) in the
|
||||
rover's actuator configuration.
|
||||
|
||||
- Mecanum: 0 = front right, 1 = front left, 2 = rear right, 3 = rear left
|
||||
- Differential: 0 = right, 1 = left (2 and 3 unused)
|
||||
- Ackermann: 0 = drivetrain (motor or drive shaft, reported as wheel rotation), 1-3 unused
|
||||
|
||||
Unused entries have counts_per_rev = 0.
|
||||
|
||||
The WHEEL_DISTANCE stream supports a single publisher: with several instances (e.g. two Roboclaw
|
||||
controllers) they all fill the same slots and only the most recently updated instance is streamed.
|
||||
|
||||
**TOPICS:** wheel_encoders
|
||||
|
||||
## Fields
|
||||
|
||||
| 参数名 | 类型 | Unit [Frame] | Range/Enum | 描述 |
|
||||
| ------------------------------------------------------------ | ------------ | ---------------------------------------------------------------- | ---------- | --------------------------------------------------------- |
|
||||
| <a id="fld_timestamp"></a>timestamp | `uint64` | | | time since system start (microseconds) |
|
||||
| <a id="fld_wheel_speed"></a>wheel_speed | `float32[2]` | rad/s | | |
|
||||
| <a id="fld_wheel_angle"></a>wheel_angle | `float32[2]` | rad | | |
|
||||
| 参数名 | 类型 | Unit [Frame] | Range/Enum | 描述 |
|
||||
| --------------------------------------------------------------------------------------- | ------------ | ---------------------------------------------------------------- | ---------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
||||
| <a id="fld_timestamp"></a>timestamp | `uint64` | us | | Time since system start |
|
||||
| <a id="fld_wheel_speed"></a>wheel_speed | `float32[4]` | rad/s | | Wheel angular speed. Positive is forward rotation. |
|
||||
| <a id="fld_wheel_angle"></a>wheel_angle | `float32[4]` | rad | | Unwrapped wheel angle since boot, 2 _ pi _ encoder_counts / counts_per_rev |
|
||||
| <a id="fld_counts_per_rev"></a>counts_per_rev | `uint32[4]` | | | Encoder counts per wheel revolution |
|
||||
| <a id="fld_encoder_counts"></a>encoder_counts | `int64[4]` | | | Wheel position in encoder counts since boot. Positive is forward rotation; negative is reverse rotation. |
|
||||
|
||||
## Source Message
|
||||
|
||||
@@ -22,11 +43,29 @@ pageClass: is-wide-page
|
||||
Click here to see original file
|
||||
|
||||
```c
|
||||
uint64 timestamp # time since system start (microseconds)
|
||||
# Wheel encoder readings
|
||||
#
|
||||
# Angular speed, unwrapped angle and raw encoder counts for up to four wheels.
|
||||
# Published by the Roboclaw driver (one instance per controller, two encoder channels each)
|
||||
# and by the Gazebo bridge in simulation.
|
||||
# Streamed to MAVLink as WHEEL_DISTANCE, logged, and exported over uXRCE-DDS.
|
||||
#
|
||||
# Wheel order follows the PX4 motor index: entry i is the wheel driven by Motor(i+1) in the
|
||||
# rover's actuator configuration.
|
||||
# - Mecanum: 0 = front right, 1 = front left, 2 = rear right, 3 = rear left
|
||||
# - Differential: 0 = right, 1 = left (2 and 3 unused)
|
||||
# - Ackermann: 0 = drivetrain (motor or drive shaft, reported as wheel rotation), 1-3 unused
|
||||
#
|
||||
# Unused entries have counts_per_rev = 0.
|
||||
#
|
||||
# The WHEEL_DISTANCE stream supports a single publisher: with several instances (e.g. two Roboclaw
|
||||
# controllers) they all fill the same slots and only the most recently updated instance is streamed.
|
||||
|
||||
# Two wheels: 0 right, 1 left
|
||||
float32[2] wheel_speed # [rad/s]
|
||||
float32[2] wheel_angle # [rad]
|
||||
uint64 timestamp # [us] Time since system start
|
||||
float32[4] wheel_speed # [rad/s] Wheel angular speed. Positive is forward rotation.
|
||||
float32[4] wheel_angle # [rad] Unwrapped wheel angle since boot, 2 * pi * encoder_counts / counts_per_rev
|
||||
uint32[4] counts_per_rev # [-] Encoder counts per wheel revolution
|
||||
int64[4] encoder_counts # [-] Wheel position in encoder counts since boot. Positive is forward rotation; negative is reverse rotation.
|
||||
```
|
||||
|
||||
:::
|
||||
@@ -238,7 +238,6 @@ Graphs showing how these are used [can be found here](../middleware/uorb_graph.m
|
||||
- [RateCtrlStatus](RateCtrlStatus.md)
|
||||
- [RcChannels](RcChannels.md)
|
||||
- [RcParameterMap](RcParameterMap.md)
|
||||
- [RoverThrottleSetpoint](RoverThrottleSetpoint.md) — Rover Throttle setpoint.
|
||||
- [Rpm](Rpm.md)
|
||||
- [RtcmData](RtcmData.md) — RTCM3 data exchanged with GNSS receivers.
|
||||
- [RtlStatus](RtlStatus.md)
|
||||
@@ -277,6 +276,7 @@ Graphs showing how these are used [can be found here](../middleware/uorb_graph.m
|
||||
- [SurfaceVehicleSpeedSetpoint](SurfaceVehicleSpeedSetpoint.md) — Surface Vehicle Speed Setpoint.
|
||||
- [SurfaceVehicleSpeedStatus](SurfaceVehicleSpeedStatus.md) — Surface Vehicle Speed Status.
|
||||
- [SurfaceVehicleSteeringSetpoint](SurfaceVehicleSteeringSetpoint.md) — Surface Vehicle Steering Setpoint.
|
||||
- [SurfaceVehicleThrustSetpoint](SurfaceVehicleThrustSetpoint.md) — Surface Vehicle Thrust Setpoint.
|
||||
- [SystemPower](SystemPower.md)
|
||||
- [TakeoffStatus](TakeoffStatus.md) — Status of the takeoff state machine currently just available for multicopters.
|
||||
- [TargetGnss](TargetGnss.md) — Landing target GNSS position in WGS84 coordinates, and optional NED velocity, from a target-mounted receiver.
|
||||
@@ -316,5 +316,5 @@ Graphs showing how these are used [can be found here](../middleware/uorb_graph.m
|
||||
- [VteOrientation](VteOrientation.md) — Vision Target Estimator orientation state, exposing the full yaw filter output with covariances for logging and tuning.
|
||||
- [VtePosition](VtePosition.md) — Vision Target Estimator position state, exposing the full per-axis Kalman filter state with covariances for logging and tuning.
|
||||
- [Vtx](Vtx.md)
|
||||
- [WheelEncoders](WheelEncoders.md)
|
||||
- [WheelEncoders](WheelEncoders.md) — Wheel encoder readings.
|
||||
- [YawEstimatorStatus](YawEstimatorStatus.md)
|
||||
Reference in new issue
Block a user