mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-18 01:03:33 +08:00
fix: uORB topics lost messages when publications overflow
This commit is contained in:
@@ -3,4 +3,4 @@ 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
|
||||
uint8 ORB_QUEUE_LENGTH = 8
|
||||
|
||||
+1
-1
@@ -3,4 +3,4 @@ uint64 timestamp # time since system start (microseconds)
|
||||
char[127] text
|
||||
uint8 severity # log level (same as in the linux kernel, starting with 0)
|
||||
|
||||
uint8 ORB_QUEUE_LENGTH = 5
|
||||
uint8 ORB_QUEUE_LENGTH = 4
|
||||
|
||||
@@ -4,4 +4,4 @@ int32 val
|
||||
|
||||
uint8[64] junk
|
||||
|
||||
# TOPICS orb_test_medium orb_test_medium_multi orb_test_medium_queue orb_test_medium_queue_poll
|
||||
# TOPICS orb_test_medium orb_test_medium_multi orb_test_medium_wrap_around orb_test_medium_queue orb_test_medium_queue_poll
|
||||
|
||||
+1
-1
@@ -13,4 +13,4 @@ uint32 error_count
|
||||
|
||||
bool is_external # if true the mag is external (i.e. not built into the board)
|
||||
|
||||
uint8 ORB_QUEUE_LENGTH = 3
|
||||
uint8 ORB_QUEUE_LENGTH = 4
|
||||
|
||||
@@ -36,4 +36,4 @@ bool enabled
|
||||
bool ok
|
||||
uint64 subsystem_type
|
||||
|
||||
uint8 ORB_QUEUE_LENGTH = 5
|
||||
uint8 ORB_QUEUE_LENGTH = 8
|
||||
|
||||
@@ -47,4 +47,4 @@ uint16 ADSB_EMITTER_TYPE_SERVICE_SURFACE=18
|
||||
uint16 ADSB_EMITTER_TYPE_POINT_OBSTACLE=19
|
||||
uint16 ADSB_EMITTER_TYPE_ENUM_END=20
|
||||
|
||||
uint8 ORB_QUEUE_LENGTH = 10
|
||||
uint8 ORB_QUEUE_LENGTH = 8
|
||||
|
||||
@@ -35,4 +35,4 @@ uint8 VOLUME_LEVEL_MIN = 0
|
||||
uint8 VOLUME_LEVEL_DEFAULT = 40
|
||||
uint8 VOLUME_LEVEL_MAX = 100
|
||||
|
||||
uint8 ORB_QUEUE_LENGTH = 3
|
||||
uint8 ORB_QUEUE_LENGTH = 4
|
||||
|
||||
@@ -20,4 +20,4 @@ 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
|
||||
uint8 ORB_QUEUE_LENGTH = 4
|
||||
|
||||
+1
-1
@@ -16,4 +16,4 @@ uint16 msg_sequence # allows determine drops
|
||||
uint8 flags # see FLAGS_*
|
||||
uint8[249] data # ulog data
|
||||
|
||||
uint8 ORB_QUEUE_LENGTH = 14 # TODO: we might be able to reduce this if mavlink polled on the topic
|
||||
uint8 ORB_QUEUE_LENGTH = 16 # TODO: we might be able to reduce this if mavlink polled on the topic
|
||||
|
||||
@@ -133,7 +133,7 @@ uint8 FAILURE_TYPE_SLOW = 5
|
||||
uint8 FAILURE_TYPE_DELAYED = 6
|
||||
uint8 FAILURE_TYPE_INTERMITTENT = 7
|
||||
|
||||
uint8 ORB_QUEUE_LENGTH = 3
|
||||
uint8 ORB_QUEUE_LENGTH = 4
|
||||
|
||||
float32 param1 # Parameter 1, as defined by MAVLink uint16 VEHICLE_CMD enum.
|
||||
float32 param2 # Parameter 2, as defined by MAVLink uint16 VEHICLE_CMD enum.
|
||||
|
||||
@@ -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
|
||||
|
||||
uint8 ORB_QUEUE_LENGTH = 3
|
||||
uint8 ORB_QUEUE_LENGTH = 4
|
||||
|
||||
uint16 command
|
||||
uint8 result
|
||||
|
||||
Reference in New Issue
Block a user