Hello, to give some context, I’m building an AUV with my university’s robotics team, we have an ROV ready as a prototype. It uses a PX4, some BlueRobotics components, and QGC. I was wondering if it is possible to write sensor data to something like a .json in real time so our external interface can display/parse it.
Since it’s an AUV, the interface will be used during testing, meaning everything is available locally. (json file with sensor data, GQC, and the interface)
I found this, though I don’t think it’s exactly what I’m looking for (excluding the fact that it’s not a json file specifically, that doesn’t matter).
The document mentions streaming which presumably means sending data over to a server or something of that sort, which is not my case.
QGC supports different things depending on the firmware you’re running
If you’re planning to access the data from the control station computer that you’re running QGC on then you may wish to look into the MAVLink forwarding option in QGC, in which case you can write a program to read the MAVLink telemetry stream from the vehicle and convert them into whatever format you want
QGC’s console logs are for debugging issues with running the QGC application, so are not relevant here. You’ll want access to either telemetry or dataflash logs from the vehicle.