Gathiyo / arducopter

Automatically exported from code.google.com/p/arducopter
0 stars 0 forks source link

Planner problem after battery reaches < 0% #301

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?

1. Using current and voltage sensor in the mission planner
2. leaving battery reach 0%
3.

What is the expected output? What do you see instead

if percentage drops bellow 0%, it goes to 65xx %. If we go to configuration, 
the variable "BATT_MONITOR" show -96 instead of the 
previous configured BATT_MONITOR type, wich leads to an error if you 
try to configure the battery at the setup tab instead of entering 4, first
directlly on the left side (vars) and writing the parameters.

What version of the product are you using? On what operating system?
Planner 1.1.2
Windows 7 

Please provide any additional information below.
I believe a simple if <=0, percentage==0 , would solve it.

Original issue reported on code.google.com by ruicravo...@gmail.com on 11 Dec 2011 at 6:17

GoogleCodeExporter commented 8 years ago

Original comment by Meee...@gmail.com on 11 Jan 2012 at 11:30