mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-24 17:03:33 +08:00
Mavlink expand telemetry_status and split radio_status
This commit is contained in:
committed by
Lorenz Meier
parent
f4f112424f
commit
36403e9025
+2
-1
@@ -86,6 +86,7 @@ set(msg_files
|
||||
pwm_input.msg
|
||||
qshell_req.msg
|
||||
qshell_retval.msg
|
||||
radio_status.msg
|
||||
rate_ctrl_status.msg
|
||||
rc_channels.msg
|
||||
rc_parameter_map.msg
|
||||
@@ -120,6 +121,7 @@ set(msg_files
|
||||
vehicle_attitude_setpoint.msg
|
||||
vehicle_command.msg
|
||||
vehicle_command_ack.msg
|
||||
vehicle_constraints.msg
|
||||
vehicle_control_mode.msg
|
||||
vehicle_global_position.msg
|
||||
vehicle_gps_position.msg
|
||||
@@ -134,7 +136,6 @@ set(msg_files
|
||||
vehicle_trajectory_waypoint.msg
|
||||
vtol_vehicle_status.msg
|
||||
wind_estimate.msg
|
||||
vehicle_constraints.msg
|
||||
)
|
||||
|
||||
if(NOT EXTERNAL_MODULES_LOCATION STREQUAL "")
|
||||
|
||||
@@ -0,0 +1,22 @@
|
||||
|
||||
uint64 timestamp # time since system start (microseconds)
|
||||
|
||||
uint8 RADIO_TYPE_GENERIC = 0
|
||||
uint8 RADIO_TYPE_3DR_RADIO = 1
|
||||
uint8 RADIO_TYPE_UBIQUITY_BULLET = 2
|
||||
uint8 RADIO_TYPE_WIRE = 3
|
||||
uint8 RADIO_TYPE_USB = 4
|
||||
uint8 RADIO_TYPE_IRIDIUM = 5
|
||||
|
||||
uint8 type # type of the radio hardware
|
||||
|
||||
uint8 rssi # local signal strength
|
||||
uint8 remote_rssi # remote signal strength
|
||||
|
||||
uint8 txbuf # how full the tx buffer is as a percentage
|
||||
uint8 noise # background noise level
|
||||
|
||||
uint8 remote_noise # remote background noise level
|
||||
uint16 rxerrors # receive errors
|
||||
|
||||
uint16 fixed # count of error corrected packets
|
||||
@@ -8,14 +8,26 @@ uint8 TELEMETRY_STATUS_RADIO_TYPE_USB = 4
|
||||
uint8 TELEMETRY_STATUS_RADIO_TYPE_IRIDIUM = 5
|
||||
|
||||
uint64 heartbeat_time # Time of last received heartbeat from remote system
|
||||
uint64 telem_time # Time of last received telemetry status packet, 0 for none
|
||||
|
||||
uint8 type # type of the radio hardware
|
||||
uint8 rssi # local signal strength
|
||||
uint8 remote_rssi # remote signal strength
|
||||
uint16 rxerrors # receive errors
|
||||
uint16 fixed # count of error corrected packets
|
||||
uint8 noise # background noise level
|
||||
uint8 remote_noise # remote background noise level
|
||||
uint8 txbuf # how full the tx buffer is as a percentage
|
||||
|
||||
uint8 system_id # system id of the remote system
|
||||
uint8 component_id # component id of the remote system
|
||||
|
||||
uint8 mode
|
||||
|
||||
bool flow_control
|
||||
bool forwarding
|
||||
bool mavlink_v2
|
||||
bool ftp
|
||||
|
||||
uint8 streams
|
||||
|
||||
float32 data_rate
|
||||
|
||||
float32 rate_multiplier
|
||||
|
||||
float32 rate_rx
|
||||
|
||||
float32 rate_tx
|
||||
float32 rate_txerr
|
||||
|
||||
Reference in New Issue
Block a user