Log multiple variables using python client

Firmware/software/electronics
Post Reply
thasu
Member
Posts: 31
Joined: Wed Oct 18, 2017 7:16 am

Log multiple variables using python client

Post by thasu »

When I try to add additional log variables to BasiclogSync.py file, it gives an error when there are more than 9 variables. Is there a way to get the log data from more than 10 variables using python client?
arnaud
Bitcraze
Posts: 2538
Joined: Tue Feb 06, 2007 12:36 pm

Re: Log multiple variables using python client

Post by arnaud »

You need to create and start and add a new log configuration. Each log config corresponds to a log block and a log block is sent in a single radio packets. Radio packets are limited to a size of 32bytes maximum which limits the number of log variables in a block. The limit depends of the size of the variable, for float it is 7 floats in a log block.
Post Reply