Closed gaurav713914 closed 1 year ago
We have got the data from crazyflie_server logging. The data is coming at the default publishing rate of 10 Hz. We want the publishing rate to be higher, our motion capture system is currently capturing at the rate of 100 Hz and supports up-to 240 Hz.
It will be good if we can use /poses topic to get the data so that we do not need to have different subscriber for each crazyflie data.
This can be adjusted in the config file: https://github.com/IMRCLab/crazyswarm2/blob/main/crazyflie/config/crazyflies.yaml#L79 (Note: the firmware does not support rates higher than 100 Hz without modifications).
Thank you for your help, we are now able to run unicycle model with feedback!
We have tried to figure out how to access real time pose data using the crazyflie_server.cpp backend to implement feedback based control. We also tried getting data from the topic "/poses" using the following python script
which gave the following output:
Is this a valid method to get the pose data to use in our feedback based control law? It'd be great if you could suggest a fix to this issue and direct us towards being able to get the real time pose data.