Hello,
I have a view question about the battery.
Which is the lowest battery, the crazyflie need to fly?
We want to check the battery state of the crazyflie and when its to low, the crazyflie should automatically fly the the wireless charging station.
Should we turn off the crazyflie while charging wireless?
Thanks for answer!
Battery state
Re: Battery state
In our autonomous demos we have been using the "lowPower" state of the power management module to indicate that it was time to come back to the charger. This has usually worked quite well, by default the Crazyflie assumes the battery is low if it is read as bellow 3.2V for more than 5 seconds.
The battery state is accessible as a log variable: https://github.com/bitcraze/crazyflie-f ... 2f4.c#L394. This is an enum defined in pm.h: https://github.com/bitcraze/crazyflie-f ... e/pm.h#L80 and the lowPower state has the value 3.
The battery state is accessible as a log variable: https://github.com/bitcraze/crazyflie-f ... 2f4.c#L394. This is an enum defined in pm.h: https://github.com/bitcraze/crazyflie-f ... e/pm.h#L80 and the lowPower state has the value 3.