Open pbag47 opened 2 years ago
In PR #39 , the battery value is displayed in green on the pygame window, if the battery level is below 25%, the display color turns to red.
This does not handle the errors (so I do not close this issue yet), but it highlights a low battery level in the UI screen, which is already a good hint for the user to find the problem.
Using the real Tello, an error occurs when the battery is low to prevent it from taking off. However, this error provides unclear information and it may be tough to identify the problem with the provided description for a newcomer.
A homemade battery check during the UAV connection may solve this problem.
(Make sure that this battery check does not work for the simulator, as the battery can sometimes reach 0% without any consequence on the virtual UAV)