mirror of https://github.com/ArduPilot/ardupilot
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:
parent
46e6ff3ca9
commit
86bb03aa79
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue