Replies: 1 comment 15 replies
-
Well, if I were you, the first step would be to understand the control chain and the control signals involved. You could start reading the two conference proceedings attached to the repository. You can also use the repository's GitHub issue tracker to learn more. Simply, open a thread if you need any kind of assistance (only serious questions and issues). Not so sure, but if I'm not mistaken, the controller was made to control a real Crazyflie quad-rotor. In that case, the control signals should be limited in the range [-1,1] for the roll, pitch and yaw rate and between [0,1] for the trust. Therefore, these values should be mapped to work in CrazyS where we assume we are able to control the propeller angular velocities ranging between [0, 2300] rad/s (check, I don't remember the correct values). However, the control signals are normalized quantities that are easy to remap. Also, you should understand the frequency each block works. This could affect the stability of the system. In summary, here's how I would approach the problem:
I hope this helps. Please, keep me posted on the updated. If I can, I will try to help. |
Beta Was this translation helpful? Give feedback.
-
Hi,
I am currently trying to port in a controller from crazyflie_nmpc to CrazyS.
Now, I am looking at controller.cpp in nmpc (https://github.com/bcbarbara/crazyflie_nmpc/blob/master/crazyflie_controller/src/controller.cpp).
However, it is my first time to port in a controller. I wonder whether I am on the right track or anything suggestions for me?
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions