mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2025-12-16 04:45:24 +08:00
Drawbacks of the previous method: when writing to the SD card, there are high delays in the write() call of several 100ms, every now and then. The frequency and length of these events depend on: - SD card - used logger bandwidth - bandwidth of gps data (RTCM) Since the whole gps thread was blocked during this period, it lead to gps timeouts and lost module. What we do now is: publish an orb topic with queuing. This makes it async and the logger takes care of buffering. This means it's best to: - use high logger rate - use large logger buffer - reduce logger bandwith by disabling unused topics
7 lines
275 B
Plaintext
7 lines
275 B
Plaintext
# This message is used to dump the raw gps communication to the log.
|
|
# Set the parameter GPS_DUMP_COMM to 1 to use this.
|
|
|
|
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
|