Upload quadcopter geofence with python

Hi everyone,

I’m trying to develop a drone racing game in Python where the tracks are saved as geofences in .waypoints files (the attached is not a track, just a test I made).
Using mission planner to upload this file works just as expected, but I’ve tried to do the same using
Python and had no luck so far. This is what I’ve tried:

  • Using the dronekit library (this was a while ago): the most I could do was upload a single inclusion polygon zone, no exclusion zones nor more than one zone.
  • Using the pymavlink library: I was able to send and receive messages but I couldn’t upload a exclusion zone waypoint because it’s apparently unsupported.
    Could anyone explain to me why can’t I do it but Mission Planner can? The docs about this topic are scarce, moreover I don’t have a lot of experience.
    Tysm!

fence_test3.txt (817 Bytes)

1 Like

did you solve it? i am still trying to deal wit it LOL