-
Hi. I would like to know what modeDisable, modeAbs and modeVelocity are used for?, since I have seen that they are used in the PID, Mellinger and INDI controllers. On the other hand, I would also like to know if is its use necessary?. I would appreciate your help, regards. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi! Yes these modes use is necessary. It is a way to regulate the setpoint structure in the controllers. The setpoint has reference values for position, velocity, attitude and attitude rate. For PID at least, it can not control all of those (unlike mellinger which is a full state controller), so the setpoint should indicate which value to listen to. So if the x axis in the setpoint is set to This is an interesting issue for you to read: bitcraze/crazyflie-firmware#577 |
Beta Was this translation helpful? Give feedback.
Hi!
Yes these modes use is necessary. It is a way to regulate the setpoint structure in the controllers. The setpoint has reference values for position, velocity, attitude and attitude rate. For PID at least, it can not control all of those (unlike mellinger which is a full state controller), so the setpoint should indicate which value to listen to.
So if the x axis in the setpoint is set to
modeAbs
, the controller will use the position as reference, and if it ismodeVelocity
, it will look at velocity for reference , and if it ismodeDisabled
, it will not control anything in the x-axis (position nor velocity) and control the attitude instead instead.This is an interesting issue for you t…