Browse Source

SITL: make heli RPM rpm1 in FlightAxis

mission-4.1.18
Andrew Tridgell 9 years ago
parent
commit
9e9a048016
  1. 4
      libraries/SITL/SIM_FlightAxis.cpp

4
libraries/SITL/SIM_FlightAxis.cpp

@ -319,8 +319,8 @@ void FlightAxis::update(const struct sitl_input &input) @@ -319,8 +319,8 @@ void FlightAxis::update(const struct sitl_input &input)
battery_voltage = state.m_batteryVoltage_VOLTS;
battery_current = state.m_batteryCurrentDraw_AMPS;
rpm1 = state.m_propRPM;
rpm2 = state.m_heliMainRotorRPM;
rpm1 = state.m_heliMainRotorRPM;
rpm2 = state.m_propRPM;
/*
the interlink interface supports 8 input channels

Loading…
Cancel
Save