Why the default PID parameters for Z are high by default in ROS pid.h file?

Discussions and questions about the Crazyflie Nano Quadcopter
Post Reply
thanhvu94
Member
Posts: 31
Joined: Fri Mar 24, 2017 6:49 pm

Why the default PID parameters for Z are high by default in ROS pid.h file?

Post by thanhvu94 »

I'm wondering why the PID parameters by default for Z control are high (about 4000 to 5000)? Is there any technical reasons for that? Which are we trying to control, the thrust, the error between refernece height and real height, or what?
arnaud
Bitcraze
Posts: 2538
Joined: Tue Feb 06, 2007 12:36 pm

Re: Why the default PID parameters for Z are high by default in ROS pid.h file?

Post by arnaud »

The output of this PID is in PWM ratio between 0 and 65536, this is why these coefficient are so large.
Post Reply