Python Forum
Dronekit and mavlink - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: General Coding Help (https://python-forum.io/forum-8.html)
+--- Thread: Dronekit and mavlink (/thread-27794.html)



Dronekit and mavlink - vivekagrey - Jun-22-2020

Is there a way to get gps flight logs from the flight controller after the landing/ flight?

msg = self.vehicle.message_factory.log_request_list_send(0,0,
                                              0, 0xffff)
print(msg)
Output:
None
I am getting None as output. Kindly help me out.


RE: Dronekit and mavlink - vivekagrey - Jun-23-2020

Is there a way to get/download log file from pixhawk using py code?


RE: Dronekit and mavlink - Larz60+ - Jun-23-2020

Not sure if this will help or not. I have zero experience with pixhawk.
https://docs.px4.io/v1.9.0/en/log/flight_log_analysis.html


RE: Dronekit and mavlink - vivekagrey - Jun-26-2020

Thanks but it is of no help as it does not shows way to download logs from fc using code.