Replies: 1 comment
-
Not sure if there is an API for that... but you could use the logging <-> topics frameworks perhaps? That is something you can set in the launch file and you can then observe these logging variables: https://www.bitcraze.io/documentation/repository/crazyflie-firmware/master/api/logs/#stateestimate |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm using cf.cmdFullState to follow a path computed using LQR. I need full state feedback to compute the optimal control to follow the path. Th problem is there is no way to get attitude feedback (roll, pitch, yaw angles and rate). I tried using cf.state() but I get the following error:
current_state = cf.state()
TypeError: 'traj_eval' object is not callable
I can obtain linear position and velocity using cf.position() and cf.velocity() but how do I get angular state information?
Beta Was this translation helpful? Give feedback.
All reactions