mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-21 04:13:34 +08:00
introduce uORB::PublicationQueued and transition most orb_advertise_queue usage
This commit is contained in:
@@ -6,3 +6,5 @@ uint64 timestamp # time since system start (microseconds)
|
||||
uint8 len # length of data, MSB bit set = message to the gps device,
|
||||
# clear = message from the device
|
||||
uint8[79] data # data to write to the log
|
||||
|
||||
uint8 ORB_QUEUE_LENGTH = 8
|
||||
|
||||
@@ -2,3 +2,5 @@ uint64 timestamp # time since system start (microseconds)
|
||||
uint8 len # length of data
|
||||
uint8 flags # LSB: 1=fragmented
|
||||
uint8[182] data # data to write to GPS device (RTCM message)
|
||||
|
||||
uint8 ORB_QUEUE_LENGTH = 6
|
||||
|
||||
@@ -33,3 +33,5 @@ uint8 mode # see MODE_*
|
||||
uint8 num_blinks # how many times to blink (number of on-off cycles if mode is one of MODE_BLINK_*) . Set to 0 for infinite
|
||||
# in MODE_FLASH it is the number of cycles. Max number of blinks: 122 and max number of flash cycles: 20
|
||||
uint8 priority # priority: higher priority events will override current lower priority events (see MAX_PRIORITY)
|
||||
|
||||
uint8 ORB_QUEUE_LENGTH = 4 # needs to match BOARD_MAX_LEDS
|
||||
|
||||
@@ -2,3 +2,5 @@ uint64 timestamp # time since system start (microseconds)
|
||||
|
||||
char[50] text
|
||||
uint8 severity # log level (same as in the linux kernel, starting with 0)
|
||||
|
||||
uint8 ORB_QUEUE_LENGTH = 5
|
||||
|
||||
@@ -34,4 +34,4 @@ bool enabled
|
||||
bool ok
|
||||
uint64 subsystem_type
|
||||
|
||||
uint32 ORB_QUEUE_LENGTH = 5
|
||||
uint8 ORB_QUEUE_LENGTH = 5
|
||||
|
||||
@@ -55,3 +55,5 @@ float32 rate_rx
|
||||
|
||||
float32 rate_tx
|
||||
float32 rate_txerr
|
||||
|
||||
uint8 ORB_QUEUE_LENGTH = 3
|
||||
|
||||
@@ -3,3 +3,5 @@ uint8 NUM_MOTOR_OUTPUTS = 8
|
||||
|
||||
uint32 motor_number # number of motor to spin
|
||||
float32 value # output power, range [0..1]
|
||||
|
||||
uint8 ORB_QUEUE_LENGTH = 4
|
||||
|
||||
@@ -22,4 +22,4 @@ uint16 PX4_ADSB_FLAGS_VALID_CALLSIGN = 16
|
||||
uint16 PX4_ADSB_FLAGS_VALID_SQUAWK = 32
|
||||
uint16 PX4_ADSB_FLAGS_RETRANSLATE = 256
|
||||
|
||||
uint32 ORB_QUEUE_LENGTH = 10
|
||||
uint8 ORB_QUEUE_LENGTH = 10
|
||||
|
||||
@@ -7,3 +7,5 @@ int16 param_index # -1 if the param_id field should be used as identifier
|
||||
uint8 param_type # MAVLink parameter type
|
||||
int64 int_value # current value if param_type is int-like
|
||||
float32 real_value # current value if param_type is float-like
|
||||
|
||||
uint8 ORB_QUEUE_LENGTH = 3
|
||||
|
||||
@@ -13,7 +13,7 @@ uint16 ARM_AUTH_DENIED_REASON_TIMEOUT = 3
|
||||
uint16 ARM_AUTH_DENIED_REASON_AIRSPACE_IN_USE = 4
|
||||
uint16 ARM_AUTH_DENIED_REASON_BAD_WEATHER = 5
|
||||
|
||||
uint32 ORB_QUEUE_LENGTH = 3
|
||||
uint8 ORB_QUEUE_LENGTH = 3
|
||||
|
||||
uint16 command
|
||||
uint8 result
|
||||
|
||||
Reference in New Issue
Block a user