how to alter the controller's code

Discussions about quadcopters/multi-rotors
Post Reply
zjc515484158
Beginner
Posts: 3
Joined: Thu May 17, 2018 10:58 am

how to alter the controller's code

Post by zjc515484158 » Wed Sep 05, 2018 2:03 am

dear developers,
I want add two servos to the CF2 and now I don't know how to control them to rotate by a controller. Can you help me find the controller's code and alter it? :oops:
thanks very much

whoenig
Expert
Posts: 270
Joined: Mon Oct 27, 2014 2:55 am

Re: how to alter the controller's code

Post by whoenig » Wed Sep 05, 2018 3:32 am

If it is a standard servo controlled by PWM, you can look at this code I wrote a while ago: https://github.com/USC-ACTLab/crazyflie ... ervodeck.c.

Post Reply