Hi Everyone,

I am a beginner in UAV. I am trying to do a very basic navigation of a quadcopter like takeoff, hover and land, through Mission Planner using Python.

I am having some difficulties on the very basics. I have been going through the sample codes and writing some scripts.

I wrote a basic script with just takeoff, hover and land. And I have faced some issues,

- The takeoff is in the reverse direction

- The takeoff is not vertically straight

- Altitude should be controlled. It should not go more than one meter. 

- Speed is high. How do I reduce it?

Also, 

When arming the motors, I saw in the sample code that we are setting the YAW to its maximum(2000) and bringing it back to neutral(1500). Why?

Below is my understanding of the RCs,

RC1 - ROLL

RC2- PITCH

RC3 - THROTTLE

RC4 - YAW

RC5 - For changing modes.

Can someone help me in resolving these issue? I have attached my sample code.

Thank you!

mission1_updated.py

You need to be a member of diydrones to add comments!

Join diydrones

Email me when people reply –