RosettaDrone / rosettadrone

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

VirtualStick commands are ignored because "The aircraft is taking off" #158

Open kripper opened 1 year ago

kripper commented 1 year ago

Describe the bug

VirtualStick commands are ignored because of error DJI SDK error "The aircraft is taking off". This happens sometimes when executing commands after taking off. The problem disappears after restarting Rosetta and/or flying manually. Happens with a DJI Mini SE.

Steps To Reproduce

No response

Screenshots

No response

Desktop

.

Smartphone

.

Additional context

No response

kripper commented 1 year ago

I found the error:

setVirtualStickModeEnabled() failed: The aircraft is starting the motor(243)

will add a retry.

kripper commented 1 year ago

Even when retrying for minutes, sometimes it gets stuck throwing this other message:

setVirtualStickModeEnabled() failed (will retry): The aircraft is taking off(240)

(after the aircraft already took off)

kripper commented 1 year ago

Seems to by a DJI problem: https://support.dronelink.com/hc/en-us/community/posts/360051611973-Drone-Control-Unavailable