Page 1 of 1

management

Posted: Wed Nov 20, 2019 5:36 pm
by RyanMco
Hi guys, could I let my crazyflie on hover mode to let it hover in specific height as long as I press specific button on my crazyflie application ? or by remote controller? if so how can I do that? if not, then any suggestion to start doing that?
for instance I want to press on specific button in my remote controller and lets assume my crazyflie with flow deck was in height 1m then after pressing that button, it would stay on that height until I turn off that button.


thanks alot!

Re: management

Posted: Thu Nov 21, 2019 11:57 am
by arnaud
There is no existing functionality in the client to achieve exactly that, but long-time hovering can be achieved pretty easily using the python lib, for example starting from the motion comander demo: https://github.com/bitcraze/crazyflie-l ... er_demo.py

Since you seem to be using ROS as well in your other messages, I think I remember that the teleop example does almost exactly what you want: https://github.com/whoenig/crazyflie_ro ... 360.launch. It takes-off at the press of a button and land at the press of another one: https://github.com/whoenig/crazyflie_ro ... ler.py#L38