Because I can’t start a Flightplan i wanted to test with the Mavlink working Example, but when i start Sphinx and a ANAFI AI drone i get common.FlightPlanEvent.StartingErrorEvent() and the drone doesn’t move.
What could be the problem?
Because I can’t start a Flightplan i wanted to test with the Mavlink working Example, but when i start Sphinx and a ANAFI AI drone i get common.FlightPlanEvent.StartingErrorEvent() and the drone doesn’t move.
What could be the problem?
Hi @moercy,
To run a flightplan with Olympe, you need to create a MAVlink text file with all the command to be executed. The file format and all the commands are explained here . Here’s an example with a POI (on simulator) :
QGC WPL 120
0 0 2 50000 1 0 0 nan nan nan nan 1
1 0 3 16 0 5 0 nan 48.87967529526926 2.3684653550986985 8.000000000 1
2 0 3 195 nan nan nan nan 48.879018292826736 2.369363208743386 5.000000000 1
3 0 3 16 0 0 0 nan 48.87833187800817 2.368506353983279 9.000000000 1
4 0 3 16 0 0 0 nan 48.878221977594784 2.367090121597097 10.000000000 1
5 0 2 197 0 0 0 nan 48.8784397402 2.3684787334 10.000000000 1
6 0 3 16 0 0 0 nan 48.87884988257511 2.366479960574512 10.000000000 1
Once the file is created, upload it to the drone’s webserver .
You can start this flightplan with the olympe command olympe.messages.flight_plan.start_at_v2. You can catch the olympe event olympe.messages.flight_plan.info to know the problem if the flightplan doesn’t start.
Regards,
Axel
This topic was automatically closed after 30 days. New replies are no longer allowed.