Airblock programming help


#1

I am trying to program a hover loop for my new airblock and need a little help. The idea is that when I press the button the airblock will read the altitude and if it is between 1 and 1.5 meters it will hover. If higher it will descend if lower it will rise. Here is my code. What happens is that even if the airblock is at the right height it will not hover. Any help on what I am doing wrong will be appreciated.


#2

Hi,

I had a similair issue and got it working by putting a “drone hover” block outside the loop.
(you may havo to set an initial altitude as well).
The order “hover” / “altitude” wirks for me.

Roland


#3