Browse Source

SITL: added comment on heli interlock

master
Andrew Tridgell 9 years ago
parent
commit
f3f34be9c4
  1. 4
      libraries/SITL/SIM_XPlane.cpp

4
libraries/SITL/SIM_XPlane.cpp

@ -262,6 +262,10 @@ bool XPlane::receive_data(void) @@ -262,6 +262,10 @@ bool XPlane::receive_data(void)
break;
case Generator:
/*
in order to get interlock switch on helis we map the
"generator1 on/off" function of XPlane 10 to channel 8.
*/
rcin_chan_count = 8;
rcin[7] = data[1];
break;

Loading…
Cancel
Save