Page 1 of 1

altHold freq in firmware only 100Hz

Posted: Thu Jul 02, 2015 6:54 am
by razvanlupu
Hi,

Why is the frequency of the altHold algorithm from firmware set to 100Hz? What happens if I want to increase the frequency? It will behave better or worse? I am trying to do a trick like throwing the Crazyflie in the air and showing how it stays at that altitude... Thank you very much!

Re: altHold freq in firmware only 100Hz

Posted: Thu Jul 09, 2015 2:48 pm
by marcus
Hi,

You can read the value faster, but the sensor will not be able to actually measure faster.

Re: altHold freq in firmware only 100Hz

Posted: Sat Aug 08, 2015 2:54 am
by chad
razvanlupu wrote:I am trying to do a trick like throwing the Crazyflie in the air and showing how it stays at that altitude... Thank you very much!
There was a pull request for this very functionality by forum member fredgrat. I believe it was merged in this commit on the master branch. Here's the thread about it.