SITL: fixed startup yaw

This commit is contained in:
Andrew Tridgell 2015-05-10 21:57:19 +10:00
parent 5687adbdba
commit aa9853179c

View File

@ -60,7 +60,7 @@ Aircraft::Aircraft(const char *home_str, const char *frame_str) :
location = home;
ground_level = home.alt*0.01;
dcm.from_euler(0, 0, atof(yaw_s));
dcm.from_euler(0, 0, radians(atof(yaw_s)));
free(s);
set_speedup(1);