Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Q
qgroundcontrol
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Valentin Platzgummer
qgroundcontrol
Commits
1b4ac63a
Commit
1b4ac63a
authored
Aug 27, 2013
by
tstellanova
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix sense of RC pitch calibration; notify user when we abandon reads/writes after timeout
parent
85e653ee
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
UASParameterCommsMgr.cc
src/uas/UASParameterCommsMgr.cc
+3
-3
QGCPX4VehicleConfig.cc
src/ui/QGCPX4VehicleConfig.cc
+1
-1
No files found.
src/uas/UASParameterCommsMgr.cc
View file @
1b4ac63a
...
...
@@ -250,10 +250,10 @@ void UASParameterCommsMgr::silenceTimerExpired()
int
totalElapsed
=
(
int
)(
curTime
-
lastReceiveTime
);
if
(
totalElapsed
>
maxSilenceTimeout
)
{
qDebug
()
<<
"
Max silence time exceeded: "
+
totalElapsed
;
qDebug
()
<<
"
maxSilenceTimeout exceeded: "
<<
totalElapsed
;
int
missingReads
,
missingWrites
;
clearRetransmissionLists
(
missingReads
,
missingWrites
);
//TODO notify user!
setParameterStatusMsg
(
tr
(
"TIMEOUT: Abandoning %1 reads %2 writes after %3 seconds"
).
arg
(
missingReads
).
arg
(
missingWrites
).
arg
(
totalElapsed
/
1000
));
}
else
{
resendReadWriteRequests
();
...
...
@@ -360,7 +360,7 @@ void UASParameterCommsMgr::updateSilenceTimer()
if
(
missReadCount
>
0
||
missWriteCount
>
0
)
{
silenceTimer
.
start
(
silenceTimeout
);
//TODO configurable silence timeout
silenceTimer
.
start
(
silenceTimeout
);
lastSilenceTimerReset
=
QGC
::
groundTimeMilliseconds
();
}
else
{
...
...
src/ui/QGCPX4VehicleConfig.cc
View file @
1b4ac63a
...
...
@@ -393,7 +393,7 @@ void QGCPX4VehicleConfig::detectChannelInversion(int aert_index)
QStringList
instructions
;
instructions
<<
"ROLL: Move stick left"
;
instructions
<<
"PITCH: Move stick
up"
;
instructions
<<
"PITCH: Move stick
down"
;
//matches the other sticks: should cause DECREASE in raw rc channel value when not reversed
instructions
<<
"YAW: Move stick left"
;
instructions
<<
"THROTTLE: Move stick down"
;
instructions
<<
"MODE SWITCH: Push down / towards you"
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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