RosettaDrone / rosettadrone

MAVlink and H.264 Video for DJI drones
BSD 3-Clause "New" or "Revised" License
308 stars 117 forks source link

Drone keeps hovering on 1 metre for DJI Mavic Air 2 regardless of any other commands like simple_goto #184

Closed jpa4094 closed 1 year ago

jpa4094 commented 1 year ago
          Dear Dronekit friends,

I've successfully connect Rosetta Drone and Dronekit, and use python script to interact with my Drone (Mavic Mini). It works with simple_takeoff command, but the altitude of my drone is stuck at 1 m although I set a higher altitude. Other command like simple_goto also not working, my drone doesn't move anywhere.

Any idea how to solve this issue? Thanks.

Originally posted by @fajrulfx in https://github.com/RosettaDrone/rosettadrone/issues/36#issuecomment-878754085

kylenietfeld commented 2 months ago

Same issue here except it stays at the same altitude previously. Is it because DJI requires at least two points for a waypoint mission? Anyone have a working example?

kripper commented 2 months ago

Check the logcat. It seems your drone is executing the take-off command and then stops executing other commands.