mavlink / MAVSDK-Python

MAVSDK client for Python.
https://mavsdk.mavlink.io
BSD 3-Clause "New" or "Revised" License
323 stars 220 forks source link

How to use rally_items and geofence_items? #341

Open DonatelloX opened 3 years ago

DonatelloX commented 3 years ago

I read in mission_raw.py that there are:

In SDK there are very clear examples of using the mission_items but I don't understand how to use rally_items (or geofence_items). Can someone help me? Thank you

julianoes commented 3 years ago

Good question. The thing with the MissionRaw plugin is that it is "raw", so we have not created a nice API with docs in MAVSDK for it but we expose directly whatever MAVLink specifies.

For geofence, we actually also have a separate plugin which allows to upload geofences. It doesn't support all functionality supported by MAVLink but it's a start.

For rally points, that's something I have not looked into. You can find more information here: https://mavlink.io/en/messages/common.html#MAV_CMD_DO_RALLY_LAND https://mavlink.io/en/messages/common.html#MAV_CMD_NAV_RALLY_POINT https://docs.px4.io/master/en/flying/plan_safety_points.html