mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 14:38:30 -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_x[0] = -180.0;
|
||||||
thermals_y[0] = -260.0;
|
thermals_y[0] = -260.0;
|
||||||
break;
|
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:
|
default:
|
||||||
AP_BoardConfig::config_error("Bad thermal scenario");
|
AP_BoardConfig::config_error("Bad thermal scenario");
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user