Post here to get support
3 posts • Page 1 of 1
Last edited by M3DJ0 on Thu Oct 31, 2019 10:03 am, edited 1 time in total.
I can't think of a way to do this without modifying the firmware. It requires updating some files but not impossible to do. First of you should run the kalman filter. Then into this you can inject height measurement. See the zranger as an example. To get the values from the PC to the crazyflie use the location service. However there is no implementation for height only so you would have to implement that, similar to the extPosition which sets the full position. You should create a new typee in the generic type section which sets the height as the zranger does it. However it does not stop there, you will also have to update the python cflib with functions so you can push the height.