Sending external position data
Posted: Mon Jul 02, 2018 7:12 am
Hi,
I am using crazyflie 2.0 without LPS. I am trying to send external data from a python client using a motion capture system (optitrack) in my lab.
Whenever I try to send external position, the quad is restarting. In my python client, I am sending external position as follows: `cf.loc.send_extpos([0, 0, 0])`. If I remove this line of code, the quad does not restart and continues to log data properly.
Also, It seems that the kalman filter is not working properly. I get x = 0 and y = 0. z is always identical the barometer measurement. I wonder if these issues are related. If possible, could you please provide details on how to enable the kalman filter? I have seen in some other posts that I have to set ESTIMATOR=kalman in the config.mk. I don't have a file named "config.mk". Instead, I have "config.mk.example" (in /tools/make).
I am building my project from eclipse ( using the VM ). Could this be a problem?
Any help is appreciated! Please let me know if you need more information.
Regards!
I am using crazyflie 2.0 without LPS. I am trying to send external data from a python client using a motion capture system (optitrack) in my lab.
Whenever I try to send external position, the quad is restarting. In my python client, I am sending external position as follows: `cf.loc.send_extpos([0, 0, 0])`. If I remove this line of code, the quad does not restart and continues to log data properly.
Also, It seems that the kalman filter is not working properly. I get x = 0 and y = 0. z is always identical the barometer measurement. I wonder if these issues are related. If possible, could you please provide details on how to enable the kalman filter? I have seen in some other posts that I have to set ESTIMATOR=kalman in the config.mk. I don't have a file named "config.mk". Instead, I have "config.mk.example" (in /tools/make).
I am building my project from eclipse ( using the VM ). Could this be a problem?
Any help is appreciated! Please let me know if you need more information.
Regards!