ardupilot
ardupilot copied to clipboard
Copter: add support for CH8 switch
We should make it act the same as CH7.
Will need to add:
- code to check the switch position
- AP_Int8_t parameter to hold the function of the switch
- add another drop-down in the mission planner ArduCopter config screen to set the parameter
If you play around with this, please remember TradHeli's are already using Ch8 for motor control. Please don't break this. It could be a setting that defaults to motor control for TradHeli if you want.
done. This defaults to do-nothing so doesn't conflict with the heli stuff. Perhaps we could integrate the heli control into it better perhaps though. https://github.com/diydrones/ardupilot/commit/38239c652ac4339a02fd445c1998eae702435bf4