forked from Archive/PX4-Autopilot
Add sensor meta data for RC mapping
This commit is contained in:
parent
b513edffcd
commit
326389d04b
|
@ -1952,6 +1952,25 @@ PARAM_DEFINE_INT32(RC_MAP_YAW, 0);
|
|||
* @min 0
|
||||
* @max 18
|
||||
* @group Radio Switches
|
||||
* @value 0 Unassigned
|
||||
* @value 1 RC Channel 1
|
||||
* @value 2 RC Channel 2
|
||||
* @value 3 RC Channel 3
|
||||
* @value 4 RC Channel 4
|
||||
* @value 5 RC Channel 5
|
||||
* @value 6 RC Channel 6
|
||||
* @value 7 RC Channel 7
|
||||
* @value 8 RC Channel 8
|
||||
* @value 9 RC Channel 9
|
||||
* @value 10 RC Channel 10
|
||||
* @value 11 RC Channel 11
|
||||
* @value 12 RC Channel 12
|
||||
* @value 13 RC Channel 13
|
||||
* @value 14 RC Channel 14
|
||||
* @value 15 RC Channel 15
|
||||
* @value 16 RC Channel 16
|
||||
* @value 17 RC Channel 17
|
||||
* @value 18 RC Channel 18
|
||||
*/
|
||||
PARAM_DEFINE_INT32(RC_MAP_MODE_SW, 0);
|
||||
|
||||
|
@ -1961,6 +1980,25 @@ PARAM_DEFINE_INT32(RC_MAP_MODE_SW, 0);
|
|||
* @min 0
|
||||
* @max 18
|
||||
* @group Radio Switches
|
||||
* @value 0 Unassigned
|
||||
* @value 1 RC Channel 1
|
||||
* @value 2 RC Channel 2
|
||||
* @value 3 RC Channel 3
|
||||
* @value 4 RC Channel 4
|
||||
* @value 5 RC Channel 5
|
||||
* @value 6 RC Channel 6
|
||||
* @value 7 RC Channel 7
|
||||
* @value 8 RC Channel 8
|
||||
* @value 9 RC Channel 9
|
||||
* @value 10 RC Channel 10
|
||||
* @value 11 RC Channel 11
|
||||
* @value 12 RC Channel 12
|
||||
* @value 13 RC Channel 13
|
||||
* @value 14 RC Channel 14
|
||||
* @value 15 RC Channel 15
|
||||
* @value 16 RC Channel 16
|
||||
* @value 17 RC Channel 17
|
||||
* @value 18 RC Channel 18
|
||||
*/
|
||||
PARAM_DEFINE_INT32(RC_MAP_RETURN_SW, 0);
|
||||
|
||||
|
@ -1970,6 +2008,25 @@ PARAM_DEFINE_INT32(RC_MAP_RETURN_SW, 0);
|
|||
* @min 0
|
||||
* @max 18
|
||||
* @group Radio Switches
|
||||
* @value 0 Unassigned
|
||||
* @value 1 RC Channel 1
|
||||
* @value 2 RC Channel 2
|
||||
* @value 3 RC Channel 3
|
||||
* @value 4 RC Channel 4
|
||||
* @value 5 RC Channel 5
|
||||
* @value 6 RC Channel 6
|
||||
* @value 7 RC Channel 7
|
||||
* @value 8 RC Channel 8
|
||||
* @value 9 RC Channel 9
|
||||
* @value 10 RC Channel 10
|
||||
* @value 11 RC Channel 11
|
||||
* @value 12 RC Channel 12
|
||||
* @value 13 RC Channel 13
|
||||
* @value 14 RC Channel 14
|
||||
* @value 15 RC Channel 15
|
||||
* @value 16 RC Channel 16
|
||||
* @value 17 RC Channel 17
|
||||
* @value 18 RC Channel 18
|
||||
*/
|
||||
PARAM_DEFINE_INT32(RC_MAP_RATT_SW, 0);
|
||||
|
||||
|
@ -1979,6 +2036,25 @@ PARAM_DEFINE_INT32(RC_MAP_RATT_SW, 0);
|
|||
* @min 0
|
||||
* @max 18
|
||||
* @group Radio Switches
|
||||
* @value 0 Unassigned
|
||||
* @value 1 RC Channel 1
|
||||
* @value 2 RC Channel 2
|
||||
* @value 3 RC Channel 3
|
||||
* @value 4 RC Channel 4
|
||||
* @value 5 RC Channel 5
|
||||
* @value 6 RC Channel 6
|
||||
* @value 7 RC Channel 7
|
||||
* @value 8 RC Channel 8
|
||||
* @value 9 RC Channel 9
|
||||
* @value 10 RC Channel 10
|
||||
* @value 11 RC Channel 11
|
||||
* @value 12 RC Channel 12
|
||||
* @value 13 RC Channel 13
|
||||
* @value 14 RC Channel 14
|
||||
* @value 15 RC Channel 15
|
||||
* @value 16 RC Channel 16
|
||||
* @value 17 RC Channel 17
|
||||
* @value 18 RC Channel 18
|
||||
*/
|
||||
PARAM_DEFINE_INT32(RC_MAP_POSCTL_SW, 0);
|
||||
|
||||
|
@ -1988,6 +2064,25 @@ PARAM_DEFINE_INT32(RC_MAP_POSCTL_SW, 0);
|
|||
* @min 0
|
||||
* @max 18
|
||||
* @group Radio Switches
|
||||
* @value 0 Unassigned
|
||||
* @value 1 RC Channel 1
|
||||
* @value 2 RC Channel 2
|
||||
* @value 3 RC Channel 3
|
||||
* @value 4 RC Channel 4
|
||||
* @value 5 RC Channel 5
|
||||
* @value 6 RC Channel 6
|
||||
* @value 7 RC Channel 7
|
||||
* @value 8 RC Channel 8
|
||||
* @value 9 RC Channel 9
|
||||
* @value 10 RC Channel 10
|
||||
* @value 11 RC Channel 11
|
||||
* @value 12 RC Channel 12
|
||||
* @value 13 RC Channel 13
|
||||
* @value 14 RC Channel 14
|
||||
* @value 15 RC Channel 15
|
||||
* @value 16 RC Channel 16
|
||||
* @value 17 RC Channel 17
|
||||
* @value 18 RC Channel 18
|
||||
*/
|
||||
PARAM_DEFINE_INT32(RC_MAP_LOITER_SW, 0);
|
||||
|
||||
|
@ -1997,6 +2092,25 @@ PARAM_DEFINE_INT32(RC_MAP_LOITER_SW, 0);
|
|||
* @min 0
|
||||
* @max 18
|
||||
* @group Radio Switches
|
||||
* @value 0 Unassigned
|
||||
* @value 1 RC Channel 1
|
||||
* @value 2 RC Channel 2
|
||||
* @value 3 RC Channel 3
|
||||
* @value 4 RC Channel 4
|
||||
* @value 5 RC Channel 5
|
||||
* @value 6 RC Channel 6
|
||||
* @value 7 RC Channel 7
|
||||
* @value 8 RC Channel 8
|
||||
* @value 9 RC Channel 9
|
||||
* @value 10 RC Channel 10
|
||||
* @value 11 RC Channel 11
|
||||
* @value 12 RC Channel 12
|
||||
* @value 13 RC Channel 13
|
||||
* @value 14 RC Channel 14
|
||||
* @value 15 RC Channel 15
|
||||
* @value 16 RC Channel 16
|
||||
* @value 17 RC Channel 17
|
||||
* @value 18 RC Channel 18
|
||||
*/
|
||||
PARAM_DEFINE_INT32(RC_MAP_ACRO_SW, 0);
|
||||
|
||||
|
@ -2006,6 +2120,25 @@ PARAM_DEFINE_INT32(RC_MAP_ACRO_SW, 0);
|
|||
* @min 0
|
||||
* @max 18
|
||||
* @group Radio Switches
|
||||
* @value 0 Unassigned
|
||||
* @value 1 RC Channel 1
|
||||
* @value 2 RC Channel 2
|
||||
* @value 3 RC Channel 3
|
||||
* @value 4 RC Channel 4
|
||||
* @value 5 RC Channel 5
|
||||
* @value 6 RC Channel 6
|
||||
* @value 7 RC Channel 7
|
||||
* @value 8 RC Channel 8
|
||||
* @value 9 RC Channel 9
|
||||
* @value 10 RC Channel 10
|
||||
* @value 11 RC Channel 11
|
||||
* @value 12 RC Channel 12
|
||||
* @value 13 RC Channel 13
|
||||
* @value 14 RC Channel 14
|
||||
* @value 15 RC Channel 15
|
||||
* @value 16 RC Channel 16
|
||||
* @value 17 RC Channel 17
|
||||
* @value 18 RC Channel 18
|
||||
*/
|
||||
PARAM_DEFINE_INT32(RC_MAP_OFFB_SW, 0);
|
||||
|
||||
|
@ -2015,6 +2148,25 @@ PARAM_DEFINE_INT32(RC_MAP_OFFB_SW, 0);
|
|||
* @min 0
|
||||
* @max 18
|
||||
* @group Radio Switches
|
||||
* @value 0 Unassigned
|
||||
* @value 1 RC Channel 1
|
||||
* @value 2 RC Channel 2
|
||||
* @value 3 RC Channel 3
|
||||
* @value 4 RC Channel 4
|
||||
* @value 5 RC Channel 5
|
||||
* @value 6 RC Channel 6
|
||||
* @value 7 RC Channel 7
|
||||
* @value 8 RC Channel 8
|
||||
* @value 9 RC Channel 9
|
||||
* @value 10 RC Channel 10
|
||||
* @value 11 RC Channel 11
|
||||
* @value 12 RC Channel 12
|
||||
* @value 13 RC Channel 13
|
||||
* @value 14 RC Channel 14
|
||||
* @value 15 RC Channel 15
|
||||
* @value 16 RC Channel 16
|
||||
* @value 17 RC Channel 17
|
||||
* @value 18 RC Channel 18
|
||||
*/
|
||||
PARAM_DEFINE_INT32(RC_MAP_KILL_SW, 0);
|
||||
|
||||
|
@ -2024,6 +2176,25 @@ PARAM_DEFINE_INT32(RC_MAP_KILL_SW, 0);
|
|||
* @min 0
|
||||
* @max 18
|
||||
* @group Radio Switches
|
||||
* @value 0 Unassigned
|
||||
* @value 1 RC Channel 1
|
||||
* @value 2 RC Channel 2
|
||||
* @value 3 RC Channel 3
|
||||
* @value 4 RC Channel 4
|
||||
* @value 5 RC Channel 5
|
||||
* @value 6 RC Channel 6
|
||||
* @value 7 RC Channel 7
|
||||
* @value 8 RC Channel 8
|
||||
* @value 9 RC Channel 9
|
||||
* @value 10 RC Channel 10
|
||||
* @value 11 RC Channel 11
|
||||
* @value 12 RC Channel 12
|
||||
* @value 13 RC Channel 13
|
||||
* @value 14 RC Channel 14
|
||||
* @value 15 RC Channel 15
|
||||
* @value 16 RC Channel 16
|
||||
* @value 17 RC Channel 17
|
||||
* @value 18 RC Channel 18
|
||||
*/
|
||||
PARAM_DEFINE_INT32(RC_MAP_FLAPS, 0);
|
||||
|
||||
|
@ -2035,6 +2206,25 @@ PARAM_DEFINE_INT32(RC_MAP_FLAPS, 0);
|
|||
* @min 0
|
||||
* @max 18
|
||||
* @group Radio Calibration
|
||||
* @value 0 Unassigned
|
||||
* @value 1 RC Channel 1
|
||||
* @value 2 RC Channel 2
|
||||
* @value 3 RC Channel 3
|
||||
* @value 4 RC Channel 4
|
||||
* @value 5 RC Channel 5
|
||||
* @value 6 RC Channel 6
|
||||
* @value 7 RC Channel 7
|
||||
* @value 8 RC Channel 8
|
||||
* @value 9 RC Channel 9
|
||||
* @value 10 RC Channel 10
|
||||
* @value 11 RC Channel 11
|
||||
* @value 12 RC Channel 12
|
||||
* @value 13 RC Channel 13
|
||||
* @value 14 RC Channel 14
|
||||
* @value 15 RC Channel 15
|
||||
* @value 16 RC Channel 16
|
||||
* @value 17 RC Channel 17
|
||||
* @value 18 RC Channel 18
|
||||
*/
|
||||
PARAM_DEFINE_INT32(RC_MAP_AUX1, 0);
|
||||
|
||||
|
@ -2046,8 +2236,27 @@ PARAM_DEFINE_INT32(RC_MAP_AUX1, 0);
|
|||
* @min 0
|
||||
* @max 18
|
||||
* @group Radio Calibration
|
||||
* @value 0 Unassigned
|
||||
* @value 1 RC Channel 1
|
||||
* @value 2 RC Channel 2
|
||||
* @value 3 RC Channel 3
|
||||
* @value 4 RC Channel 4
|
||||
* @value 5 RC Channel 5
|
||||
* @value 6 RC Channel 6
|
||||
* @value 7 RC Channel 7
|
||||
* @value 8 RC Channel 8
|
||||
* @value 9 RC Channel 9
|
||||
* @value 10 RC Channel 10
|
||||
* @value 11 RC Channel 11
|
||||
* @value 12 RC Channel 12
|
||||
* @value 13 RC Channel 13
|
||||
* @value 14 RC Channel 14
|
||||
* @value 15 RC Channel 15
|
||||
* @value 16 RC Channel 16
|
||||
* @value 17 RC Channel 17
|
||||
* @value 18 RC Channel 18
|
||||
*/
|
||||
PARAM_DEFINE_INT32(RC_MAP_AUX2, 0); /**< default function: camera roll */
|
||||
PARAM_DEFINE_INT32(RC_MAP_AUX2, 0);
|
||||
|
||||
/**
|
||||
* Auxiliary switch 3 channel mapping.
|
||||
|
@ -2057,6 +2266,25 @@ PARAM_DEFINE_INT32(RC_MAP_AUX2, 0); /**< default function: camera roll */
|
|||
* @min 0
|
||||
* @max 18
|
||||
* @group Radio Calibration
|
||||
* @value 0 Unassigned
|
||||
* @value 1 RC Channel 1
|
||||
* @value 2 RC Channel 2
|
||||
* @value 3 RC Channel 3
|
||||
* @value 4 RC Channel 4
|
||||
* @value 5 RC Channel 5
|
||||
* @value 6 RC Channel 6
|
||||
* @value 7 RC Channel 7
|
||||
* @value 8 RC Channel 8
|
||||
* @value 9 RC Channel 9
|
||||
* @value 10 RC Channel 10
|
||||
* @value 11 RC Channel 11
|
||||
* @value 12 RC Channel 12
|
||||
* @value 13 RC Channel 13
|
||||
* @value 14 RC Channel 14
|
||||
* @value 15 RC Channel 15
|
||||
* @value 16 RC Channel 16
|
||||
* @value 17 RC Channel 17
|
||||
* @value 18 RC Channel 18
|
||||
*/
|
||||
PARAM_DEFINE_INT32(RC_MAP_AUX3, 0);
|
||||
|
||||
|
@ -2069,6 +2297,25 @@ PARAM_DEFINE_INT32(RC_MAP_AUX3, 0);
|
|||
* @min 0
|
||||
* @max 18
|
||||
* @group Radio Calibration
|
||||
* @value 0 Unassigned
|
||||
* @value 1 RC Channel 1
|
||||
* @value 2 RC Channel 2
|
||||
* @value 3 RC Channel 3
|
||||
* @value 4 RC Channel 4
|
||||
* @value 5 RC Channel 5
|
||||
* @value 6 RC Channel 6
|
||||
* @value 7 RC Channel 7
|
||||
* @value 8 RC Channel 8
|
||||
* @value 9 RC Channel 9
|
||||
* @value 10 RC Channel 10
|
||||
* @value 11 RC Channel 11
|
||||
* @value 12 RC Channel 12
|
||||
* @value 13 RC Channel 13
|
||||
* @value 14 RC Channel 14
|
||||
* @value 15 RC Channel 15
|
||||
* @value 16 RC Channel 16
|
||||
* @value 17 RC Channel 17
|
||||
* @value 18 RC Channel 18
|
||||
*/
|
||||
PARAM_DEFINE_INT32(RC_MAP_PARAM1, 0);
|
||||
|
||||
|
@ -2081,6 +2328,25 @@ PARAM_DEFINE_INT32(RC_MAP_PARAM1, 0);
|
|||
* @min 0
|
||||
* @max 18
|
||||
* @group Radio Calibration
|
||||
* @value 0 Unassigned
|
||||
* @value 1 RC Channel 1
|
||||
* @value 2 RC Channel 2
|
||||
* @value 3 RC Channel 3
|
||||
* @value 4 RC Channel 4
|
||||
* @value 5 RC Channel 5
|
||||
* @value 6 RC Channel 6
|
||||
* @value 7 RC Channel 7
|
||||
* @value 8 RC Channel 8
|
||||
* @value 9 RC Channel 9
|
||||
* @value 10 RC Channel 10
|
||||
* @value 11 RC Channel 11
|
||||
* @value 12 RC Channel 12
|
||||
* @value 13 RC Channel 13
|
||||
* @value 14 RC Channel 14
|
||||
* @value 15 RC Channel 15
|
||||
* @value 16 RC Channel 16
|
||||
* @value 17 RC Channel 17
|
||||
* @value 18 RC Channel 18
|
||||
*/
|
||||
PARAM_DEFINE_INT32(RC_MAP_PARAM2, 0);
|
||||
|
||||
|
@ -2093,6 +2359,25 @@ PARAM_DEFINE_INT32(RC_MAP_PARAM2, 0);
|
|||
* @min 0
|
||||
* @max 18
|
||||
* @group Radio Calibration
|
||||
* @value 0 Unassigned
|
||||
* @value 1 RC Channel 1
|
||||
* @value 2 RC Channel 2
|
||||
* @value 3 RC Channel 3
|
||||
* @value 4 RC Channel 4
|
||||
* @value 5 RC Channel 5
|
||||
* @value 6 RC Channel 6
|
||||
* @value 7 RC Channel 7
|
||||
* @value 8 RC Channel 8
|
||||
* @value 9 RC Channel 9
|
||||
* @value 10 RC Channel 10
|
||||
* @value 11 RC Channel 11
|
||||
* @value 12 RC Channel 12
|
||||
* @value 13 RC Channel 13
|
||||
* @value 14 RC Channel 14
|
||||
* @value 15 RC Channel 15
|
||||
* @value 16 RC Channel 16
|
||||
* @value 17 RC Channel 17
|
||||
* @value 18 RC Channel 18
|
||||
*/
|
||||
PARAM_DEFINE_INT32(RC_MAP_PARAM3, 0);
|
||||
|
||||
|
|
Loading…
Reference in New Issue