Design a Yaw Controller for a Toy Quad-Copter

  • Thread starter Thread starter stosw
  • Start date Start date
  • Tags Tags
    Controller
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
1 reply · 2K views
stosw
Messages
19
Reaction score
0
I've been currently playing around with a toy quad-copter that you can write your own programs for and was attempting to make it go to a set of coordinates that are specified. I was wondering if someone could help me design a controller for the yaw component.

I am currently calculating the angle needed to turn by take the two points, starting and destination, and using a triangle to find the angle. This works great for a stationary object and turns to the desired angle. The problem comes from the toy not staying directly in place while rotating.

Any input would be greatly appreciated.
 
Engineering news on Phys.org