Page 2 of 2

Re: Get raw measurement from the flow deck V2

Posted: Thu Mar 12, 2020 11:10 pm
by emoyers
So, if I'm trying to keep the CF always fly at a specific altitude, what do you recommend me to do?

Re: Get raw measurement from the flow deck V2

Posted: Fri Mar 13, 2020 8:12 am
by tobias
You mean, instead of keeping a distance to the ground, you would like it to keep the altitude? This would require a more advanced filter which could fuse the barometer and the ground distance and remove potential steps/spikes from the sensors. This would be a very nice feature but nothing we have had time to look into.

Re: Get raw measurement from the flow deck V2

Posted: Sat Mar 14, 2020 2:29 am
by emoyers
Sorry for the confusion, I meant distance to the ground. What do you recommend me to use?

Re: Get raw measurement from the flow deck V2

Posted: Mon Mar 16, 2020 3:28 pm
by kimberly
Hi!

Check out the commander example for some inspiration: https://github.com/bitcraze/crazyflie-l ... er_demo.py

The relative height can be changed with mc.up(0.5) or mc.down(0.5)

(just a general tip, if your topic diverts a bit from the current thread topic, make a new forum message. Makes it easier for us to help out! :) )