mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-22 00:28:30 -04:00
SITL: added -heavy option to fixed wing model
This commit is contained in:
parent
d3d2ce3e0d
commit
4e8b4f29d9
@ -36,6 +36,9 @@ Plane::Plane(const char *home_str, const char *frame_str) :
|
||||
thrust_scale = (mass * GRAVITY_MSS) / hover_throttle;
|
||||
frame_height = 0.1f;
|
||||
|
||||
if (strstr(frame_str, "-heavy")) {
|
||||
mass = 8;
|
||||
}
|
||||
if (strstr(frame_str, "-revthrust")) {
|
||||
reverse_thrust = true;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user