Commit 55d7b98f authored by Lorenz Meier's avatar Lorenz Meier

Merge branch 'master' of github.com:mavlink/qgroundcontrol

parents f8eddb6d 6afad8ec
......@@ -473,10 +473,7 @@ void QGCXPlaneLink::readBytes()
}
if (p.index == 4)
{
xacc = p.f[5] * 9.81f;
yacc = p.f[6] * 9.81f;
zacc = -p.f[4] * 9.81f;
// Do not actually use the XPlane value, but calculate our own
Eigen::Vector3f g(0, 0, -9.81f);
Eigen::Matrix3f R = euler_to_wRo(yaw, pitch, roll);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment