SITL: remove set_yaw_degrees()

That function isn't being used anywhere.
This commit is contained in:
Gustavo Jose de Sousa 2016-04-28 08:52:31 -03:00 committed by Andrew Tridgell
parent 84d45cce40
commit ce8766e1cd
2 changed files with 0 additions and 15 deletions

View File

@ -142,18 +142,6 @@ void Aircraft::update_position(void)
}
}
/*
rotate to the given yaw
*/
void Aircraft::set_yaw_degrees(float yaw_degrees)
{
float roll, pitch, yaw;
dcm.to_euler(&roll, &pitch, &yaw);
yaw = radians(yaw_degrees);
dcm.from_euler(roll, pitch, yaw);
}
/* advance time by deltat in seconds */
void Aircraft::time_advance(float deltat)
{

View File

@ -142,9 +142,6 @@ protected:
/* update location from position */
void update_position(void);
/* rotate to the given yaw */
void set_yaw_degrees(float yaw_degrees);
/* advance time by deltat in seconds */
void time_advance(float deltat);