Spoken warning of low batt/no capacity is almost always false alarm
If speech is enabled in the Mission Planner and the battery warning is checked, it is quite common to get an occasional announcement of "WARNING - battery at zero volt, zero per cent remaining" or words to that effect, even with a freshly charged battery. This occurs with telemetry connection when APM 2.5 is powered by a battery. The HUD in the MP never shows zero volts when this occurs - it shows a steady reading of the actual battery voltage. I have noted this behavior in MP version 1.2.47 and 1.2.48. It appears as if the MP simply missed a read of the battery voltage from the telemetry link, and the property transiently took on a default value of zero, kicking off the warning. Suggestion: average multiple reads of the voltage, or do an outlier rejection from a short sequence of reads, and don't give the voice warning unless the voltage is below the threshold for several readings in a row. Whatever, don't give the voice warning if only one reading is zero.
can you post a log that has the issue somewhere?
Hi,
I can post a log, but I don't think that will help. This problem occurs with EVERY APM 2.5 I have worked with, on EVERY computer I have tried (three different laptops running Win8, Win7x64, and Windows Vista). If other people aren't seeing (hearing) this, it's because they don't have the voice announcement turned on.
I have noticed one consistent pattern - it almost always occurs when changing tabs in the lower left corner display of the MP (i.e. from Quick to Actions, etc.).
On Tue, May 14, 2013 at 4:54 PM, meee1 [email protected] wrote:
can you post a log that has the issue somewhere?
— Reply to this email directly or view it on GitHubhttps://github.com/diydrones/MissionPlanner/issues/47#issuecomment-17912746 .
please post a log. so there are no other variables
Hi,
Attached is a logfile, as per your request. It is only two minutes long, but I generated the "Warning - battery at 0.01 volts - one percent" error three times in this short time. Apparently the voice announcements, or their triggers, are not stored in the tlog file, because I did not hear the announcements when I played it back. I guess you'll just have to take my word for it that this error is occurring, since there is apparently no way in the log to see this (if I wasn't having a problem, we wouldn't be having this email discussion).
I have learned how to reproduce this warning with 100% reliability - please try this sequence of operations:
Conditions: running APM connected to MP, with voice announcement activated for battery warning.
- Switch to "Configuration" on top tab row [I display Advanced Parameters, but I am not sure this is strictly necessary].
- Switch to "Flight Data" tab.
- Quickly change tabs in the lower left portion of display(Quick, Actions, Gauges, etc.). The low battery announcement comes at the moment the tab is changed [it only happens the first time - subsequent changes to a different tab do not generate the announcement].
I can repeat this sequence of three steps above ad infinitum, and I get the low battery announcement on step three every time.
Thanks
On Mon, May 27, 2013 at 10:03 PM, Kurt Scudder [email protected]:
Hi,
I can post a log, but I don't think that will help. This problem occurs with EVERY APM 2.5 I have worked with, on EVERY computer I have tried (three different laptops running Win8, Win7x64, and Windows Vista). If other people aren't seeing (hearing) this, it's because they don't have the voice announcement turned on.
I have noticed one consistent pattern - it almost always occurs when changing tabs in the lower left corner display of the MP (i.e. from Quick to Actions, etc.).
On Tue, May 14, 2013 at 4:54 PM, meee1 [email protected] wrote:
can you post a log that has the issue somewhere?
— Reply to this email directly or view it on GitHubhttps://github.com/diydrones/MissionPlanner/issues/47#issuecomment-17912746 .
Thanks for posting sufficient information to reproduce the issue. This is very helpful. I have confirmed the issue can be replicated. Now we can fix it.
fixed