Map RC/Servo Channels on MIssion Planner to JSBSIM model

Hello all,

I developed a custom plane on JSBSIM/FlightGear by editting the default Rascal model and bringing in additional functions like retractable landing gear that I can operate with keyboard strokes in FlightGear.

I also managed to run successful autonomous SITL simulations driving the plane with the Mission Planner. However, one thing I could not figure out is how to map a random servo channel in ArduPlane to a specific function in FlightGear, i.e. the retractable landing gear.

Does any one have any tip or example for how this is supposed to be done in the JSBSim xml code?

Thanks