Repository navigation
Replies: 2 comments 2 replies
|
I don't think we have, if you are talking about pure acceleration commands with nothing else as of a desired state included. If this is a question wither to do this with ROS 2 or with any api that is possible, perhaps it is best to ask this question to the manufacturers of the Crazyflie directly: https://discussions.bitcraze.io/. I answered this question that was pretty close to what you are asking https://github.com/orgs/bitcraze/discussions/1225 but I don't know what the current status is of this moment |
|
I usually integrate the acceleration commands on the host side to obtain position, velocity, acceleration setpoints. Then I use cmd_full_state with all three vector. The on-board controller will compute the desired rotation matrix. One can also directly compute the rotation matrix from the acceleration using differential flatness, but I have not tried sending those angles to the drone myself. Equations: https://imrclab.github.io/kidyco/2nd_order/multirotor.html#geometric-controller (R_d, replace F_d with your desired acceleration). |
Uh oh!
There was an error while loading. Please reload this page.
I would like to know if it is possible to control the Crazyflie directly using acceleration commands? If so, could you please point me to the specific function or API I should use?
All reactions