management

Discussions and questions about the Crazyflie Nano Quadcopter
Post Reply
RyanMco
Expert
Posts: 156
Joined: Tue Apr 09, 2019 6:15 am

management

Post by RyanMco » Wed Nov 20, 2019 5:36 pm

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!



arnaud
Bitcraze
Posts: 2275
Joined: Tue Feb 06, 2007 12:36 pm

Re: management

Post by arnaud » Thu Nov 21, 2019 11:57 am

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

Post Reply