Skip to content

Why do some things need to run at different rates? (Read sensors, Update attitude Control attitude, Motor power distribution.) #1335

Answered by knmcguire
HelloIDTC asked this question in Q&A
Discussion options

You must be logged in to vote

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…

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@HelloIDTC
Comment options

@knmcguire
Comment options

Answer selected by HelloIDTC
@HelloIDTC
Comment options

@knmcguire
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants