-
Notifications
You must be signed in to change notification settings - Fork 557
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Speech output constantly reads wrong warning / status messages #1050
Comments
I'm getting some similar problems. Here's what I've been getting:
In both of these situations, it begins by saying one thing (i.e. "lost GPS lock") but then talks over itself with a correction. |
yes same here.. same for gps and signal ( even if rssi is disabled...) |
Yup, Same here! Lost GPS lock, dissarmed, ect... |
thanks for reporting! I'm going testing this afternoon. I'll try to pinpoint the source of the issue. |
@squilter @PaulHam211 @keyoss @chriselsen do you have |
No |
@ne0fhyk after disabling periodics just gps lost' gps lock and bat-battery... after reenable of periodics i never heard Voltage infos anymore... |
Periodic status was disabled when i tried it today. |
No. It's disabled. I even disabled all warnings, except 400ft flight level. Still happening. -------- Original message -------- @squilterhttps://github.com/squilter @PaulHam211https://github.com/PaulHam211 @keyosshttps://github.com/keyoss @chriselsenhttps://github.com/chriselsen do you have Periodic status enabled? Reply to this email directly or view it on GitHubhttps://github.com//issues/1050#issuecomment-54753853. |
I have tracked the bug down to the merge of #1009. |
@arthurbenemann #1009 was included in the |
@ne0fhyk Maybe people just didn't reported (it doesn't create an exception). I dissected the git history, and the problem appears from I'm on to this bug now, so don't worry about it. |
Interesting findings, take a look at this code:
And the corresponding logcat:
|
The queueToLog() method was consuming the fields of some of the messages and the app was receiving incorrectly parsed messages. This closes DroidPlanner#1050
@arthurbenemann how often is the data being consumed. Is that easily repeatable? The To fully fix the bug, we'd need to find which consumer is at fault, and fix that behavior. |
@ne0fhyk Once every 20 packets probably. |
@arthurbenemann your update will fix the issue but for different reasons :D
What was most likely happening, the receiving thread was calling With your change, the receiving thread will complete its work before the packet is dispatched to the queuing thread, so that eliminates the risk of concurrent access to the mavlink packet's internal fields. |
In version: v2.7.3 RC1 I'm suddenly getting really bad behavior by the speech output.
During a flight I constantly get speech outputs on items that are not applicable.
E.g.
These messages don't just happen once during a flight, but repeat over and over again, making a pilot believe there is something wrong with the quad. But it's not. Imho it makes DP2 in the current version unusable.
Going back to a previous version, fixes these issues.
Looking through the changes, I wonder if #1038 broke something here. Maybe you need a filter against MAVLINK glitches.
The text was updated successfully, but these errors were encountered: