mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-06-02 03:49:12 +08:00
Mantis: add RC hacks
This changes the way RC is handled for the Mantis: - The RC values are re-written when arriving over MAVLink. They are rescaled from 0..4095 to 1000..2000 and the channel bits added to separate channels. This makes the downstream handling easier. - Gimbal pitch is moved from Aux1 to Aux2 as that should be the default. - Aux3 and Aux4 are used for the photo and video trigger. - The speed button is used as the FLTMODE channel and set to switch between POSCTL and ALTCTL.
This commit is contained in:
@@ -64,6 +64,9 @@
|
||||
// Hacks for MAVLink RC button input
|
||||
#define ATL_MANTIS_RC_INPUT_HACKS
|
||||
|
||||
// Hacks for MAVLink RC button input
|
||||
#define ATL_MANTIS_RC_INPUT_HACKS
|
||||
|
||||
/*
|
||||
* ADC channels
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user