-
After tag 2018.01.1, vTaskDelayUntil(&lastWakeTime, F2T(RATE_MAIN_LOOP)) was removed from stabilizerTask. How do you ensure that this task runs at 1000Hz? |
Beta Was this translation helpful? Give feedback.
Answered by
gemenerik
May 2, 2024
Replies: 1 comment 3 replies
-
This comment refers to it. Instead of forcing a delay, we wait for a callback from the gyro. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We configure the gyro to have an output data rate of 1000 Hz here. I would think this is pretty constant. The Crazyflie 2.1 uses the Bosch BMI088, perhaps you can find more information about it online.