Skip to content

[ crazyflie-lib-python] send_setpoint(roll,pitch,yawrate,thrust) question: how to convert from Newton(N) to the thrust value? #167

Answered by knmcguire
tiagomsr99 asked this question in Q&A
Discussion options

You must be logged in to vote

Hi! I just changed the wiki link to the new link on our web in your post, since we are phasing out the wiki.

This line in the firmware:

https://github.com/bitcraze/crazyflie-firmware/blob/8c925aa7abd79ac05ef7d94b98bfacd4e37441fd/src/modules/src/estimator_kalman.c#L184

is related to the kalman filter, as it uses the control inputs to predict where the next position of the crazyflie will be. So it should be useable for what you want to do but it might not be super accurate either as we haven't tested if this fits the measurements... This filter was a contribution by ETH. They have done system identification a while ago on the Crazyflie 2.0 (which should hold for the 2.1), so that might be i…

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
1 reply
@knmcguire
Comment options

Answer selected by tiagomsr99
Comment options

You must be logged in to vote
2 replies
@knmcguire
Comment options

@tiagomsr99
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment