mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-11 02:18:29 -04:00
AP_AHRS: added attitude_reset() method for HIL_SENSORS
This commit is contained in:
parent
5f32f44366
commit
710d5119b5
@ -36,3 +36,9 @@ AP_AHRS_HIL::setHil(float _roll, float _pitch, float _yaw,
|
|||||||
|
|
||||||
_dcm_matrix.from_euler(roll, pitch, 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()
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user