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
2974c58c
Commit
2974c58c
authored
Aug 23, 2015
by
Lorenz Meier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Change noise level for XPlane since it updates significantly slower than Flightgear
parent
1e5148e7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
0 deletions
+15
-0
UAS.cc
src/uas/UAS.cc
+15
-0
No files found.
src/uas/UAS.cc
View file @
2974c58c
...
...
@@ -2930,6 +2930,21 @@ void UAS::enableHilXPlane(bool enable)
}
qDebug
()
<<
"CREATED NEW XPLANE LINK"
;
simulation
=
new
QGCXPlaneLink
(
this
);
float
noise_scaler
=
0.1
f
;
xacc_var
=
noise_scaler
*
1.2914
f
;
yacc_var
=
noise_scaler
*
0.7048
f
;
zacc_var
=
noise_scaler
*
1.9577
f
;
rollspeed_var
=
noise_scaler
*
0.8126
f
;
pitchspeed_var
=
noise_scaler
*
0.6145
f
;
yawspeed_var
=
noise_scaler
*
0.5852
f
;
xmag_var
=
noise_scaler
*
0.4786
f
;
ymag_var
=
noise_scaler
*
0.4566
f
;
zmag_var
=
noise_scaler
*
0.3333
f
;
abs_pressure_var
=
noise_scaler
*
1.1604
f
;
diff_pressure_var
=
noise_scaler
*
0.6604
f
;
pressure_alt_var
=
noise_scaler
*
1.1604
f
;
temperature_var
=
noise_scaler
*
2.4290
f
;
}
// Connect X-Plane Link
if
(
enable
)
...
...
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