Sending a Flight Plan to Anafi Thermal Using Olympe


My last forum post is linked below:

I received a response from “priols” from Parrot who led me to a working example on another forum post with the following link:

I tried to implement the code on my Anafi Thermal however the flight plan was never received by the drone so it did not take off. There was no error response from Olympe however I received the following feedback:

File “./”, line 36, in
>> MavlinkFilePlayingStateChanged(state=“stopped”)
File “/home/aksanyal/.python/py3/lib/python3.6/site-packages/requests/”, line 900, in json
return complexjson.loads(self.text, **kwargs)
File “/usr/lib/python3.6/json/”, line 354, in loads
return _default_decoder.decode(s)
File “/usr/lib/python3.6/json/”, line 339, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File “/usr/lib/python3.6/json/”, line 357, in raw_decode
raise JSONDecodeError(“Expecting value”, s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

I tried to search for this error online and found someone who had the same feedback on his code for a different project. It can be found on the forum post with the following link:

I am unsure of how to go about fixing this problem as I do not have any background using the JSON API. Please let me know if anyone is aware of how I can move forward.

Thank you,
Peter Le Porin

Solved over phone call :slight_smile:

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.