AC_AttControl: use ahrs get_rotation_body_to_ned

ahrs.get_dcm_matrix renamed to ahrs.get_rotation_body_to_ned
This commit is contained in:
Randy Mackay 2015-12-21 14:47:27 +09:00
parent 46e6ff3ca9
commit 86bb03aa79
1 changed files with 1 additions and 1 deletions

View File

@ -654,7 +654,7 @@ float AC_AttitudeControl::sqrt_controller(float error, float p, float second_ord
void AC_AttitudeControl::get_rotation_vehicle_to_ned(Matrix3f& m)
{
m = _ahrs.get_dcm_matrix();
m = _ahrs.get_rotation_body_to_ned();
}
void AC_AttitudeControl::get_rotation_ned_to_vehicle(Matrix3f& m)