Get raw measurement from the flow deck V2

Discussions and questions about the Crazyflie Nano Quadcopter
emoyers
Beginner
Posts: 12
Joined: Sat Feb 08, 2020 5:26 pm

Re: Get raw measurement from the flow deck V2

Post by emoyers »

So, if I'm trying to keep the CF always fly at a specific altitude, what do you recommend me to do?
tobias
Bitcraze
Posts: 2339
Joined: Mon Jan 28, 2013 7:17 pm
Location: Sweden

Re: Get raw measurement from the flow deck V2

Post 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.
emoyers
Beginner
Posts: 12
Joined: Sat Feb 08, 2020 5:26 pm

Re: Get raw measurement from the flow deck V2

Post by emoyers »

Sorry for the confusion, I meant distance to the ground. What do you recommend me to use?
kimberly
Bitcraze
Posts: 1050
Joined: Fri Jul 06, 2018 11:13 am

Re: Get raw measurement from the flow deck V2

Post 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! :) )
Post Reply