Crazyflie firmware pidctrl.c

Firmware/software/electronics/mechanics
Post Reply
binx
Beginner
Posts: 11
Joined: Tue Feb 07, 2017 4:42 am

Crazyflie firmware pidctrl.c

Post by binx »

Hi guys.

I'm having a hard time to understand the code of Crazyflie firmware, but until now I haven't found the usage of pidctrl. I really cannot find where pidCtrlInit() is used? From the documentation of pidctrl.c, it says that it is used to receive/answer requests from client and to receive updated PID values from client. But it seems that there is nowhere that the pidCtrlInit() is used? Could anyone answer this for me.

Thanks in advance.
tobias
Bitcraze
Posts: 2339
Joined: Mon Jan 28, 2013 7:17 pm
Location: Sweden

Re: Crazyflie firmware pidctrl.c

Post by tobias »

pidctrl.c is legacy. I created a issue about removing it. If you are looking for the attitude PID controller it is in controller_pid.c
binx
Beginner
Posts: 11
Joined: Tue Feb 07, 2017 4:42 am

Re: Crazyflie firmware pidctrl.c

Post by binx »

tobias wrote:pidctrl.c is legacy. I created a issue about removing it. If you are looking for the attitude PID controller it is in controller_pid.c
Oh, that relieves my confusion since I really did not find where it is used. Thanks again for your reply.
Post Reply