2016-10-12 11:36:42 -03:00
|
|
|
# Message to stream ULog data from the logger. Corresponds to the LOGGING_DATA
|
|
|
|
# mavlink message
|
|
|
|
|
2018-08-06 21:30:05 -03:00
|
|
|
uint64 timestamp # time since system start (microseconds)
|
|
|
|
|
2016-10-12 11:36:42 -03:00
|
|
|
# flags bitmasks
|
2018-08-07 10:42:32 -03:00
|
|
|
uint8 FLAGS_NEED_ACK = 1 # if set, this message requires to be acked.
|
|
|
|
# Acked messages are published synchronous: a
|
|
|
|
# publisher waits for an ack before sending the
|
|
|
|
# next message
|
2016-10-12 11:36:42 -03:00
|
|
|
|
2018-08-07 10:42:32 -03:00
|
|
|
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
|
2019-10-14 11:00:53 -03:00
|
|
|
uint16 msg_sequence # allows determine drops
|
2018-08-07 10:42:32 -03:00
|
|
|
uint8 flags # see FLAGS_*
|
|
|
|
uint8[249] data # ulog data
|
2019-08-06 03:07:29 -03:00
|
|
|
|
2020-09-25 12:11:55 -03:00
|
|
|
uint8 ORB_QUEUE_LENGTH = 16 # TODO: we might be able to reduce this if mavlink polled on the topic
|