Get current mission plan [API]

Hello,
I am looking for a way to get the current loaded mission plan (Waypoints) in Mission Planner or my ArduCopter UAV. I already use the JSON located at http://localhost:56781/mavlink/ which unfortunately does not provide any information about the current mission (waypoints or name of used waypoints file).
The name of the .waypoints file would also be sufficient so I can read the data out of the file.

Is there some interface for the current loaded Mission or would I need to integrate an API by my own into MP? (Editing the source code) Can maybe the ArduCopter firmware provide this data via Lua Scripts?

Thank you in advance!

:slight_smile:
http://localhost:56781/wps.kml

1 Like

I thank you very much Andras .
Haven’t found anything about this in the documentation or code. This works just like needed.

1 Like

Please help,
i want to retrieve the pwm data from the servo/main out of the flight controller but there is no info available on
http://localhost:56781/mavlink/