mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-21 21:55:34 +08:00
logger: increase default queue size for mavlink logging to 14
tested on Pixracer: 14 still produces some dropouts once in a while, but I think it's a fair tradefoff between RAM usage & dropouts. The queue needs about 3.5KB of RAM. When topic sizes/logging rates change, this will have to be reevaluated.
This commit is contained in:
@@ -259,7 +259,8 @@ void Logger::run_trampoline(int argc, char *argv[])
|
||||
bool log_until_shutdown = false;
|
||||
bool error_flag = false;
|
||||
bool log_name_timestamp = false;
|
||||
unsigned int queue_size = 5;
|
||||
unsigned int queue_size = 14; //TODO: we might be able to reduce this if mavlink polled on the topic and/or
|
||||
// topic sizes get reduced
|
||||
LogWriter::Backend backend = LogWriter::BackendFile;
|
||||
|
||||
int myoptind = 1;
|
||||
|
||||
Reference in New Issue
Block a user