Follow the instructions for general RC setup first.
MAVLink defines certain message types one of which is "RC_CHANNELS_OVERRIDE" message. These messages are used to command the Flight Controller (FC) to ignore all inputs from the regular RC-Receiver (SBUS, SUMD, CPPM, etc.) and instead override the RC channels with the information that is sent as a payload with the MAVLink RC_CHANNELS_OVERRIDE
messages. Thus this feature can be used to override the RC Transmitter and control the vehicle from a Ground Control Station but it can also be used as the sole way to fly the vehicle. There is no need to have a standard RC receiver connected to the FC.
MAVLink v1 supports 8 channels maximum. The new MAVLink v2 standard supports 8 axis channels and 16 button (on/off) channels.
Duplicate the currently used Model in your transmitter (if you use one, skip if using a joystick) and assign a new name (e.g.: "MyQuad" -> "MyQuad Open.HD")
Switch to the new Model "MyQuad Open.HD"
Enter the "MODEL SETUP" Screen and turn Internal RF Mode=OFF
and External RF Mode=OFF
.
This deactivates the internal and external RF module to not cause any HF-interference. For an external module it is good practice to even remove it physically from the radio. (Some HF-modules do not respect the "OFF"-Setting and will transmit HF anyway)
Edit the openhd-settings-1.txt
in the boot
partition of the SD card (both Air unit and Ground unit) and set:
TELEMETRY_TRANSMISSION=wbc
TELEMETRY_UPLINK=mavlink
RC=mavlink
Unplug your regular RC-Receiver from your Flight Controller, also remove power to the receiver to prevent interference
Make sure the Air unit is properly connected to the Flight Controller (See General and Wiring -> Flight Controller)
Connect to your Flight Controller via Mission Planner (USB) and open the Full-Parameter-Tree. Configure the parameters as described in the section below.
Save the parameters and power off your Flight Controller (also cut USB connection to PC as it powers your FC as well)
Now power everything up again: Flight Controller + Air unit and your Ground unit
Once up and running connect your joystick or transmitter via USB to the Ground unit
Connect your Flight Controller via USB to PC and connect via Mission Planner
Go the the RC Calibration dialog and happily see the RC Channels moving :-)
Perform the RC Calibration
Check Failsafe Settings
Arm Arducopter/plane/rover - remove any Props first!! - and throttle up. This is essential since FailSafe won't kick-in when not in flight
Test the following scenarios and make sure FailSafe kicks in:
Unplug USB Joystick -> FailSafe should kick in
Re-plug the USB Joystick -> FailSafe can be disabled by the Joystick after several seconds
Turn off Ground unit -> FailSafe should kick in