Replies: 2 comments 3 replies
-
Hi! I've converted your question to a discussion, but I do see that the code previews don't work... But this is a good question! It doesn't seem logical. Have you tried removing it an see what happend? |
Beta Was this translation helpful? Give feedback.
-
I have finished the debugging process. The slow-spinning propeller issue was not caused by the firmware; it's due to an implementation error we had when we were using a custom ROS message. I can confirm that the rate controller indeed works after removing the |
Beta Was this translation helpful? Give feedback.
-
Hi, I am trying to use attitude rate controller by changing the following line from
ANGLE
toRATE
.https://github.com/bitcraze/crazyflie-firmware/blob/f61da11d54b6d54c7fa746688e8e9be4edd73a29/src/modules/src/crtp_commander_rpyt.c#L70-L72
After digging into the source code a bit, I notice the following
https://github.com/bitcraze/crazyflie-firmware/blob/f61da11d54b6d54c7fa746688e8e9be4edd73a29/src/modules/src/crtp_commander_rpyt.c#L186-L189.
Any idea why
setpoint->attitude.roll = 0
is in the attitude rate mode? I thought this mode does not care about the absolute angle. The drone should behave more like acro mode in FPV drone flying.Beta Was this translation helpful? Give feedback.
All reactions