How to Log More Data (Flight Dynamics and Simulation) #1802
Replies: 1 comment
-
Hello Otávio! Your project sounds really fun!
Let us know if you face any further difficulties. Have fun flying! |
Beta Was this translation helpful? Give feedback.
-
Dear all,
I am developing a neural network to model the dynamics of the Crazyflie and predict the drone’s response to each command. To achieve this, I need to log the following data:
Inertial data: acceleration (acc) and gyroscope (gyro);
Drone state: estimated position;
Control signals: motor commands.
Currently, I am sending control commands using cflib in Python, generating flight trajectories, and I use the Lighthouse system for position estimation with two base stations. From what I understand, the Crazyflie logging system has a byte limit on the data that can be transmitted at once, which may restrict the number of variables I can log simultaneously.
With that in mind, I have a few questions:
What exactly is the byte limit of the logging system, and is there a way to optimize it to log more variables?
How can I directly access the motor control commands or the controller’s reference signal? Is there an existing log for this?
Would modifying the Crazyflie firmware be necessary to efficiently obtain this data?
If anyone has faced a similar challenge or has suggestions on the best approach, I would greatly appreciate your guidance.
Thank you in advance for your time and help!
Best regards,
Otávio Zordan
Beta Was this translation helpful? Give feedback.
All reactions