mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-05 07:28:29 -04:00
AP_AHRS: fixed a build warning
This commit is contained in:
parent
457183b6f5
commit
b248cc0868
@ -118,9 +118,9 @@ AP_AHRS_DCM::reset(bool recover_eulers)
|
|||||||
}
|
}
|
||||||
|
|
||||||
// reset the current attitude, used by HIL
|
// reset the current attitude, used by HIL
|
||||||
void AP_AHRS_DCM::reset_attitude(const float &roll, const float &pitch, const float &yaw)
|
void AP_AHRS_DCM::reset_attitude(const float &_roll, const float &_pitch, const float &_yaw)
|
||||||
{
|
{
|
||||||
_dcm_matrix.from_euler(roll, pitch, yaw);
|
_dcm_matrix.from_euler(_roll, _pitch, _yaw);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
Reference in New Issue
Block a user