mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-17 06:23:34 +08:00
ulog stream msgs: rename 'sequence' fields as they are protected names in fastrtpsgen
This commit is contained in:
+1
-1
@@ -12,7 +12,7 @@ uint8 FLAGS_NEED_ACK = 1 # if set, this message requires to be acked.
|
||||
uint8 length # length of data
|
||||
uint8 first_message_offset # offset into data where first message starts. This
|
||||
# can be used for recovery, when a previous message got lost
|
||||
uint16 sequence # allows determine drops
|
||||
uint16 msg_sequence # allows determine drops
|
||||
uint8 flags # see FLAGS_*
|
||||
uint8[249] data # ulog data
|
||||
|
||||
|
||||
@@ -5,4 +5,4 @@ uint64 timestamp # time since system start (microseconds)
|
||||
int32 ACK_TIMEOUT = 50 # timeout waiting for an ack until we retry to send the message [ms]
|
||||
int32 ACK_MAX_TRIES = 50 # maximum amount of tries to (re-)send a message, each time waiting ACK_TIMEOUT ms
|
||||
|
||||
uint16 sequence
|
||||
uint16 msg_sequence
|
||||
|
||||
Reference in New Issue
Block a user