I have to model the roll pitch to control the x and y which is why I need to find out how the controlling works on roll and pitch.
I have found this GitHub code which states that it uses pi controller with kp=6 and ki=3. Is this correct?
What controller is inside the quadcopters roll and pitch system?
-
- Beginner
- Posts: 8
- Joined: Mon Sep 27, 2021 8:21 am
Re: What controller is inside the quadcopters roll and pitch system?
Hi! By default it's a cascaded PID controller for the attitude and attitude rate.
Please check out the documentation to point you in the right direction: https://www.bitcraze.io/documentation/r ... ntrollers/
Please check out the documentation to point you in the right direction: https://www.bitcraze.io/documentation/r ... ntrollers/
-
- Beginner
- Posts: 8
- Joined: Mon Sep 27, 2021 8:21 am
Re: What controller is inside the quadcopters roll and pitch system?
Hi thank you. I found the pid values for your own controller for moving xy plane.
I need the controller for moving a degree to another degree in roll for example.
SOrry I did not post the link but is this what In am referring : https://github.com/bitcraze/crazyflie-f ... face/pid.h
'
I need the controller for moving a degree to another degree in roll for example.
SOrry I did not post the link but is this what In am referring : https://github.com/bitcraze/crazyflie-f ... face/pid.h
'
Re: What controller is inside the quadcopters roll and pitch system?
Just follow the links in the documentation I send in the previous post. You should look for the attitude pid controller. This is the link of where you can find it: https://github.com/bitcraze/crazyflie-f ... ntroller.c