mirror of https://github.com/ArduPilot/ardupilot
cosmetic
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1313 f9c3cf11-9bcb-44bc-f272-b75c42450872
This commit is contained in:
parent
250920edba
commit
9abc190940
|
@ -267,7 +267,7 @@ AP_DCM::drift_correction(void)
|
||||||
// Ryx = sin psi err, Ryy = cos psi err, Ryz = 0
|
// Ryx = sin psi err, Ryy = cos psi err, Ryz = 0
|
||||||
// Rzx = Rzy = 0, Rzz = 1
|
// Rzx = Rzy = 0, Rzz = 1
|
||||||
rot_mat.a.x = cos_psi_err;
|
rot_mat.a.x = cos_psi_err;
|
||||||
rot_mat.a.y = - sin_psi_err;
|
rot_mat.a.y = -sin_psi_err;
|
||||||
rot_mat.b.x = sin_psi_err;
|
rot_mat.b.x = sin_psi_err;
|
||||||
rot_mat.b.y = cos_psi_err;
|
rot_mat.b.y = cos_psi_err;
|
||||||
rot_mat.a.z = 0;
|
rot_mat.a.z = 0;
|
||||||
|
|
Loading…
Reference in New Issue