introduce uORB::PublicationQueued and transition most orb_advertise_queue usage

This commit is contained in:
Daniel Agar
2019-08-04 10:08:09 -04:00
parent 839787568c
commit e69398c09f
62 changed files with 421 additions and 674 deletions
+2
View File
@@ -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
View File
@@ -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
+2
View File
@@ -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
View File
@@ -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
+1 -1
View File
@@ -34,4 +34,4 @@ bool enabled
bool ok
uint64 subsystem_type
uint32 ORB_QUEUE_LENGTH = 5
uint8 ORB_QUEUE_LENGTH = 5
+2
View File
@@ -55,3 +55,5 @@ float32 rate_rx
float32 rate_tx
float32 rate_txerr
uint8 ORB_QUEUE_LENGTH = 3
+2
View File
@@ -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
+1 -1
View File
@@ -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
+2
View File
@@ -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
+1 -1
View File
@@ -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