Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Valentin Platzgummer
qgroundcontrol
Commits
01dedcc8
Commit
01dedcc8
authored
Mar 06, 2020
by
Don Gagne
Browse files
Better error text
parent
8ff3985b
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/Vehicle/Vehicle.cc
View file @
01dedcc8
...
...
@@ -703,7 +703,7 @@ void Vehicle::_mavlinkMessageReceived(LinkInterface* link, mavlink_message_t mes
_capabilitiesRetryElapsed
.
start
();
}
else
if
(
_capabilitiesRetryElapsed
.
elapsed
()
>
10000
){
qCDebug
(
VehicleLog
)
<<
"Giving up on getting AUTOPILOT_VERSION after 10 seconds"
;
qgcApp
()
->
showMessage
(
QStringLiteral
(
"Vehicle failed to send AUTOPILOT_VERSION"
));
qgcApp
()
->
showMessage
(
QStringLiteral
(
"Vehicle failed to send AUTOPILOT_VERSION
after waiting/retrying for 10 seconds
"
));
_handleUnsupportedRequestAutopilotCapabilities
();
}
else
{
// Vehicle never sent us AUTOPILOT_VERSION response. Try again.
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment