I just do Function to Arm and Takeoff Drone but in my terminal is always show Current Altitude=0 and it show “ERROR:autopilot:DISARMING MOTORS” How can I fixed it?
Function to Arm and Takeoff Drone
jax200
#2
Should be
vehicle.mode! = 'GUIDED ’ :
So it never got in GUIDED mode and can’t takeoff in the default STABILIZE mode.
jax200
#4
Hard to say.
I would invite another student to join in, but If you want to send me your file I will look at it.
dronedojoforum@gmail.com
Woranop
#5
basic_template.py (1.4 KB)
(Can you look it to me that what is the problem of this code.)
jax200
#6
Your code worked fine for me. I can only suggest there is something different how you set up your environment. You might try reinstalling.