Hi all,
thanks for building all this amazing stuff.
My question: With my crazyflie 2.0 - is there a way to invoke altitude hold mode through the Python API?
Thanks!
Altitude hold in Python API
Re: Altitude hold in Python API
Okay, I got an idea now. It seems to be
Going to try that now.
Code: Select all
crazyflie.param.set_value('flightmode.althold', true);
Re: Altitude hold in Python API
Hi,
Yes this is how you enable altitude hold, once enabled the thrust sent to the copter is interpreted as vertical rate where 32767 is 0. See https://github.com/bitcraze/crazyflie-c ... ut.py#L275 for scaling implementation in the joystick driver.
Yes this is how you enable altitude hold, once enabled the thrust sent to the copter is interpreted as vertical rate where 32767 is 0. See https://github.com/bitcraze/crazyflie-c ... ut.py#L275 for scaling implementation in the joystick driver.