AP_AHRS: added attitude_reset() method for HIL_SENSORS

This commit is contained in:
Andrew Tridgell 2013-11-23 12:37:23 +11:00
parent 5f32f44366
commit 710d5119b5
1 changed files with 6 additions and 0 deletions

View File

@ -36,3 +36,9 @@ AP_AHRS_HIL::setHil(float _roll, float _pitch, float _yaw,
_dcm_matrix.from_euler(roll, pitch, yaw);
}
// reset the current attitude, used by HIL
void reset_attitude(const float &_roll, const float &_pitch, const float &_yaw)
{
// not implemented - use setHil()
}