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
55d7b98f
Commit
55d7b98f
authored
Apr 22, 2013
by
Lorenz Meier
Browse files
Merge branch 'master' of github.com:mavlink/qgroundcontrol
parents
f8eddb6d
6afad8ec
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/comm/QGCXPlaneLink.cc
View file @
55d7b98f
...
...
@@ -473,10 +473,7 @@ void QGCXPlaneLink::readBytes()
}
if
(
p
.
index
==
4
)
{
xacc
=
p
.
f
[
5
]
*
9.81
f
;
yacc
=
p
.
f
[
6
]
*
9.81
f
;
zacc
=
-
p
.
f
[
4
]
*
9.81
f
;
// Do not actually use the XPlane value, but calculate our own
Eigen
::
Vector3f
g
(
0
,
0
,
-
9.81
f
);
Eigen
::
Matrix3f
R
=
euler_to_wRo
(
yaw
,
pitch
,
roll
);
...
...
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