how to get 3D position of CF according to twr algorithm
Posted: Tue Jun 20, 2017 12:35 pm
hi,arnaud
1. I am studying the LPS code of crazyflie. I know the twr algorithm only get the distance between CF and anchor. I don't understand how to get position of CF only based on the distance. Is stateEstimatorUpdateWithDistance() the function getting the position? is there any Reference material or formula about these code.
2. I want add some debug message about the position of CF, I should printf the S[STATE_X], S[STATE_Y],S[STATE_Z], right?
Thanks
1. I am studying the LPS code of crazyflie. I know the twr algorithm only get the distance between CF and anchor. I don't understand how to get position of CF only based on the distance. Is stateEstimatorUpdateWithDistance() the function getting the position? is there any Reference material or formula about these code.
2. I want add some debug message about the position of CF, I should printf the S[STATE_X], S[STATE_Y],S[STATE_Z], right?
Thanks