SITL: add spin armed rpm

This commit is contained in:
Andy Piper 2022-05-26 13:59:05 +01:00 committed by Peter Hall
parent e72e5a2751
commit ab64480d2b
2 changed files with 4 additions and 0 deletions

View File

@ -285,6 +285,8 @@ const AP_Param::GroupInfo SIM::var_info3[] = {
AP_GROUPINFO("ESC_TELEM", 40, SIM, esc_telem, 1),
AP_GROUPINFO("ESC_ARM_RPM", 41, SIM, esc_rpm_armed, 0.0f),
AP_SUBGROUPINFO(airspeed[0], "ARSPD_", 50, SIM, SIM::AirspeedParm),
#if AIRSPEED_MAX_SENSORS > 1
AP_SUBGROUPINFO(airspeed[1], "ARSPD2_", 51, SIM, SIM::AirspeedParm),

View File

@ -441,6 +441,8 @@ public:
// ESC telemetry
AP_Int8 esc_telem;
// RPM when motors are armed
AP_Float esc_rpm_armed;
struct {
// LED state, for serial LED emulation