-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Auto take off not working #1
Comments
No it doesn't - I havent had time to fix it / find the problem. I think you have to set a current mission waypoint and turn on auto mode. |
Thanks for the quick response. I tried what you have suggested. Sadly, it didn't work I lost communication and cannot reopen the port. If I make any progresses I will post it here. |
I have had success with the take off. I think the problem is with the gps. If I connect to MissonPlanner first and then instantly disconnect it runs. If I run the script without first connecting to missonplanner the waitforgps errors out. here is the simple script I have been testing. import ardupilot as ardupilot ac = ardupilot.ArduPilot("COM3", 57600) ac.waitGpsFix() ac.takeoff(20) ac.arm() print "Is the copter armed:" ac.setMode("AUTO") even though the ac.isArmed is returning false. |
Great thanks for fault finding on this. If you get it working properly and want to submit a pull request then I'll commit it to master. |
Sounds good |
I have tried your example and tried setting the mode and the thing will not take off.
The text was updated successfully, but these errors were encountered: