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
7f59c693
Commit
7f59c693
authored
Jan 06, 2011
by
Bryan Godbolt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed directions on airfoil calibrator
parent
d2557030
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
233 additions
and
235 deletions
+233
-235
ParameterList.xml
settings/ParameterList.xml
+227
-227
AirfoilServoCalibrator.cc
src/ui/RadioCalibration/AirfoilServoCalibrator.cc
+6
-8
No files found.
settings/ParameterList.xml
View file @
7f59c693
...
...
@@ -36,7 +36,7 @@
/>
<Parameter
SimulinkPath=
"avionics_src/sm_avionics/Attitude_Controller/PID_AIL/Angle_Norm/Max_Min_Angle/"
SimulinkParameterName=
"
Constant Value"
SimulinkParameterName=
"
Value"
QGCParamID=
"ANG_AIL_MAX"
/>
<!-- Elevator Control Parameters -->
...
...
@@ -57,7 +57,7 @@
/>
<Parameter
SimulinkPath=
"avionics_src/sm_avionics/Attitude_Controller/PID_ELE/Angle_Norm/Max_Min_Angle/"
SimulinkParameterName=
"
Constant Value"
SimulinkParameterName=
"
Value"
QGCParamID=
"ANG_ELE_MAX"
/>
</Block>
...
...
@@ -199,7 +199,7 @@
/>
<Parameter
SimulinkPath=
"avionics_src/sm_avionics/Servo_Outputs/AileronMix/Controller_Mix/"
SimulinkParameterName=
"
Constant Value"
SimulinkParameterName=
"
Value"
QGCParamID=
"MIX_AIL"
/>
<!-- Settings for Elevator Servo -->
...
...
@@ -220,7 +220,7 @@
/>
<Parameter
SimulinkPath=
"avionics_src/sm_avionics/Servo_Outputs/ElevatorMix/Controller_Mix/"
SimulinkParameterName=
"
Constant Value"
SimulinkParameterName=
"
Value"
QGCParamID=
"MIX_ELE"
/>
</Block>
...
...
src/ui/RadioCalibration/AirfoilServoCalibrator.cc
View file @
7f59c693
...
...
@@ -39,21 +39,21 @@ AirfoilServoCalibrator::AirfoilServoCalibrator(AirfoilType type, QWidget *parent
QLabel
*
lowPulseString
;
if
(
type
==
AILERON
)
{
highPulseString
=
new
QLabel
(
tr
(
"Bank
Lef
t"
));
highPulseString
=
new
QLabel
(
tr
(
"Bank
Righ
t"
));
centerPulseString
=
new
QLabel
(
tr
(
"Center"
));
lowPulseString
=
new
QLabel
(
tr
(
"Bank
Righ
t"
));
lowPulseString
=
new
QLabel
(
tr
(
"Bank
Lef
t"
));
}
else
if
(
type
==
ELEVATOR
)
{
highPulseString
=
new
QLabel
(
tr
(
"Nose
Down
"
));
highPulseString
=
new
QLabel
(
tr
(
"Nose
Up
"
));
centerPulseString
=
new
QLabel
(
tr
(
"Center"
));
lowPulseString
=
new
QLabel
(
tr
(
"Nose
Up
"
));
lowPulseString
=
new
QLabel
(
tr
(
"Nose
Down
"
));
}
else
if
(
type
==
RUDDER
)
{
highPulseString
=
new
QLabel
(
tr
(
"Nose
Lef
t"
));
highPulseString
=
new
QLabel
(
tr
(
"Nose
Righ
t"
));
centerPulseString
=
new
QLabel
(
tr
(
"Center"
));
lowPulseString
=
new
QLabel
(
tr
(
"Nose
Righ
t"
));
lowPulseString
=
new
QLabel
(
tr
(
"Nose
Lef
t"
));
}
else
{
...
...
@@ -86,8 +86,6 @@ AirfoilServoCalibrator::AirfoilServoCalibrator(AirfoilType type, QWidget *parent
connect
(
lowButton
,
SIGNAL
(
clicked
()),
this
,
SLOT
(
setLow
()));
}
void
AirfoilServoCalibrator
::
setHigh
()
{
highPulseWidth
->
setText
(
QString
::
number
(
static_cast
<
double
>
(
logExtrema
())));
...
...
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