mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-30 20:48:33 -04:00
SITL: add a thermal at home
This commit is contained in:
parent
ad70237013
commit
8c4d00e6f2
@ -1084,6 +1084,13 @@ float Aircraft::get_local_updraft(const Vector3d ¤tPos)
|
||||
thermals_x[0] = -180.0;
|
||||
thermals_y[0] = -260.0;
|
||||
break;
|
||||
case 4:
|
||||
n_thermals = 1;
|
||||
thermals_w[0] = 5.0;
|
||||
thermals_r[0] = 30.0;
|
||||
thermals_x[0] = 0;
|
||||
thermals_y[0] = 0;
|
||||
break;
|
||||
default:
|
||||
AP_BoardConfig::config_error("Bad thermal scenario");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user