Page 1 of 1

Battery status check

Posted: Sat Nov 21, 2020 7:12 pm
by JaeDeok
Do you have a code to check the battery status?

There are a lot of drone crashes during flight due to low battery. I want to land by checking the battery level in advance.

Re: Battery status check

Posted: Mon Nov 23, 2020 12:54 pm
by kimberly
You can use the parameter pm.vbat. Do you want to check it from a python script or from onboard the crazyflie? I guess for the latter you can make an app layer that checks the battery and lands with HL commander.