Crazyflie frequency(run time, frequency)
Posted: Mon Jul 20, 2020 12:07 pm
I am curious about the cycle of Crazyflie.
I am currently studying RTOS inside the firmware, and I would like to know the execution cycle and time of each thread when I connect flow_deck, multi-ranger, and loco-position deck.
/* The stabilizer loop runs at 1kHz (stock) or 500Hz (kalman). It is the
* responsibility of the different functions to run slower by skipping call
* (ie. returning without modifying the output structure).
*/
I found the above contents in the stabilizer.c file.
If I use the three decks I mentioned, can I know the runtime of the stabilizer and the execution time of the other decks?
I am currently studying RTOS inside the firmware, and I would like to know the execution cycle and time of each thread when I connect flow_deck, multi-ranger, and loco-position deck.
/* The stabilizer loop runs at 1kHz (stock) or 500Hz (kalman). It is the
* responsibility of the different functions to run slower by skipping call
* (ie. returning without modifying the output structure).
*/
I found the above contents in the stabilizer.c file.
If I use the three decks I mentioned, can I know the runtime of the stabilizer and the execution time of the other decks?