Outer controller
Posted: Wed Dec 26, 2018 11:41 pm
Dear all,
I would like to do controllers in my PC for the Crazyflie 2.0 by Python using the API cflib with a Crazyradio PA.
To read the sensors information (pitch, roll, yaw, pitch_rate, roll_rate, yaw_rate, z_range) I think that I can use the Logging functionality. Then in the same script, I can implement the controller. Then, send the control signals to the motors of the crazyflie via commands like scf.cf.param.set_value('motorPowerSet.m1',value).
The Logging gets information from the Crazyflie 2.0 every 10 ms, it means that the controller can have a maximum frequency of 100Hz. The main question at this point is, ¿is it possible control the Crazyflie with a frequency of 100 Hz? or ¿is it necesary to have a minimum frequency of 250 Hz o 500 Hz like in the controllers that has the drone?
¿Anybody knows any experency similar that I want to do?
Thank you so much for your help
BR, Rafael Socas
I would like to do controllers in my PC for the Crazyflie 2.0 by Python using the API cflib with a Crazyradio PA.
To read the sensors information (pitch, roll, yaw, pitch_rate, roll_rate, yaw_rate, z_range) I think that I can use the Logging functionality. Then in the same script, I can implement the controller. Then, send the control signals to the motors of the crazyflie via commands like scf.cf.param.set_value('motorPowerSet.m1',value).
The Logging gets information from the Crazyflie 2.0 every 10 ms, it means that the controller can have a maximum frequency of 100Hz. The main question at this point is, ¿is it possible control the Crazyflie with a frequency of 100 Hz? or ¿is it necesary to have a minimum frequency of 250 Hz o 500 Hz like in the controllers that has the drone?
¿Anybody knows any experency similar that I want to do?
Thank you so much for your help
BR, Rafael Socas