-
Read sensors at full rate (1000Hz); Whether it can run at the same rate? |
Beta Was this translation helpful? Give feedback.
Answered by
knmcguire
May 15, 2024
Replies: 1 comment 4 replies
-
Can you perhaps share a bit more why you would like to run them at the same rate? Some documentation about the controllers you can find here. One reason to run them at different rates is to save computational power. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yes that is the case, but you shouldn't forget the purpose of the extended kalman filter either, as that does input the sensor data at a higher rate but filters them out. So the sensor data is not thrown away, but used to create a better state estimate: https://www.bitcraze.io/documentation/repository/crazyflie-firmware/master/functional-areas/sensor-to-control/state_estimators/
Like tobias said, we can't run everything at a 1000 hertz and for position control that will actually not improve the performance. Also, the motors on the crazyflie are limited so there is also a hardware limit there. That said, the firmware is open so if some things doesn't seem right, you can try it out to run s…