I’ve been recently trying to log some custom data wirelessly via a radio connected to USB with the PC running a pymavlink script that parses the data and puts it into a CSV file. I send my data by using a Lua script with the gcs:send_named_float() command
The issue I’m consistently having is that the data flash log contains around 800 data points, however, the data received in my script is only around 200 data points.
Is this normal behavior when using radios like this? I hypothesize that the messages are coming in too fast from the FC and I can’t parse them fast enough in python, so I tried to change the message interval for command ID #251 (NAMED_VALUE_FLOAT’s ID), but it fails to set the interval and mission planner prints “No ap_message for mavlink id (251)”. Is there a way to change NAMED_VALUE_FLOAT’s message interval?