mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-07 08:23:56 -04:00
SITL: fixed startup yaw
This commit is contained in:
parent
5687adbdba
commit
aa9853179c
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user