mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-28 12:43:33 +08:00
DSDL cleanup
This commit is contained in:
@@ -5,6 +5,6 @@
|
|||||||
|
|
||||||
uavcan.FigureOfMerit figure_of_merit
|
uavcan.FigureOfMerit figure_of_merit
|
||||||
|
|
||||||
uint8[<=32] actuator_id # Can be empty, in which case the ID is defined by the command index
|
uint8[<=32] actuator_id # Can be empty, in which case ID is defined by the command index
|
||||||
|
|
||||||
float16[<=32] command # For a servo use [-1; 1]
|
float16[<=32] command # For a servo use [-1; 1]
|
||||||
|
|||||||
@@ -8,5 +8,6 @@ uavcan.Timestamp timestamp
|
|||||||
float32 pressure_altitude
|
float32 pressure_altitude
|
||||||
float16 pressure_altitude_variance
|
float16 pressure_altitude_variance
|
||||||
|
|
||||||
|
# Positive if climbing up
|
||||||
float16 climb_rate
|
float16 climb_rate
|
||||||
float16 climb_rate_variance
|
float16 climb_rate_variance
|
||||||
|
|||||||
@@ -2,9 +2,9 @@
|
|||||||
# Angle of attack.
|
# Angle of attack.
|
||||||
#
|
#
|
||||||
|
|
||||||
uint8 ID_LEFT = 254
|
uint8 SENSOR_ID_LEFT = 254
|
||||||
uint8 ID_RIGHT = 255
|
uint8 SENSOR_ID_RIGHT = 255
|
||||||
uint8 id
|
uint8 sensor_id
|
||||||
|
|
||||||
float16 aoa
|
float16 aoa
|
||||||
float16 aoa_variance
|
float16 aoa_variance
|
||||||
|
|||||||
@@ -11,9 +11,9 @@ float16 altitude_agl_variance # +inf if too close or too far
|
|||||||
float16 sensor_max_range
|
float16 sensor_max_range
|
||||||
float16 sensor_min_range
|
float16 sensor_min_range
|
||||||
|
|
||||||
uint4 SENSOR_UNKNOWN = 0
|
uint8 SENSOR_UNKNOWN = 0
|
||||||
uint4 SENSOR_SONAR = 1
|
uint8 SENSOR_SONAR = 1
|
||||||
uint4 SENSOR_LASER = 2
|
uint8 SENSOR_LASER = 2
|
||||||
uint4 SENSOR_RADAR = 3
|
uint8 SENSOR_RADAR = 3
|
||||||
uint4 SENSOR_CV = 4
|
uint8 SENSOR_CV = 4
|
||||||
uint4 sensor_type
|
uint8 sensor_type
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ uint2 STATUS_2D_FIX = 2
|
|||||||
uint2 STATUS_3D_FIX = 3
|
uint2 STATUS_3D_FIX = 3
|
||||||
uint2 status
|
uint2 status
|
||||||
|
|
||||||
float16 pdop # Negative if unknown
|
float16 pdop
|
||||||
|
|
||||||
float16[<=9] position_covariance # m^2
|
float16[<=9] position_covariance # m^2
|
||||||
float16[<=9] velocity_covariance # (m/s)^2
|
float16[<=9] velocity_covariance # (m/s)^2
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
float16 cargo_weight # Newton
|
float16 cargo_weight # Newton
|
||||||
float16 cargo_weight_variance # Negative if not equipped for weight measurement
|
float16 cargo_weight_variance
|
||||||
|
|
||||||
# Meaning is the same as for command field in the Command message
|
# Meaning is the same as for command field in the Command message
|
||||||
uint16 status
|
uint16 status
|
||||||
|
|||||||
@@ -1,8 +1,7 @@
|
|||||||
#
|
#
|
||||||
# Scaled RC input for manual control/override.
|
# Scaled remote control input for manual control/override.
|
||||||
#
|
#
|
||||||
|
|
||||||
uavcan.FigureOfMerit figure_of_merit # E.g. receiver RSSI
|
uavcan.FigureOfMerit figure_of_merit # E.g. receiver RSSI
|
||||||
|
|
||||||
uint10 CHANNEL_MAX_VALUE = 1023
|
float16[<=32] channels # Normalized in range [-1, 1], NAN means no such channel
|
||||||
uint10[<=16] channels # Normalized in range [0; CHANNEL_MAX_VALUE]
|
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Some nodes may refuse to operate unless some other node publishes this message with correct value.
|
# Some nodes may refuse to operate unless some other node publishes this message with correct value.
|
||||||
# ESC should obey.
|
|
||||||
#
|
#
|
||||||
|
|
||||||
bool enable
|
bool enable
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# X/Y velocities estimated by simple optical flow sensor.
|
# X/Y velocities estimated by simple downward looking optical flow sensor.
|
||||||
#
|
#
|
||||||
|
|
||||||
uavcan.Timestamp timestamp
|
uavcan.Timestamp timestamp
|
||||||
|
|||||||
@@ -4,4 +4,4 @@
|
|||||||
|
|
||||||
bool external_power_connected
|
bool external_power_connected
|
||||||
|
|
||||||
BatteryStatus[<16] batteries
|
BatteryStatus[<=16] batteries
|
||||||
|
|||||||
Reference in New Issue
Block a user