Fix Simulator: Set correct rotor count for standard VTOL

The rotor count was incorrect which meant that control surfaces like elevons were scaled incorrectly. This was the main reason for really bad SITL performance
This commit is contained in:
Lorenz Meier
2016-12-25 17:09:28 +01:00
parent b7f5a33c90
commit 1141079a3b
+2 -1
View File
@@ -113,7 +113,8 @@ void Simulator::pack_actuator_message(mavlink_hil_actuator_controls_t &msg, unsi
break;
case MAV_TYPE_VTOL_RESERVED2:
n = 8;
// this is the standard VTOL / quad plane with 5 propellers
n = 5;
break;
default: