mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-31 18:47:21 +08:00
Merge pull request #1874 from DonLakeFlyer/RCParams
Add RC_CHAN_CNT, RC_TH_USER for QGC
This commit is contained in:
@@ -993,6 +993,36 @@ PARAM_DEFINE_FLOAT(BAT_V_SCALING, 0.00459340659f);
|
|||||||
PARAM_DEFINE_FLOAT(BAT_C_SCALING, 0.0124); /* scaling for 3DR power brick */
|
PARAM_DEFINE_FLOAT(BAT_C_SCALING, 0.0124); /* scaling for 3DR power brick */
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* RC channel count
|
||||||
|
*
|
||||||
|
* This parameter is used by Ground Station software to save the number
|
||||||
|
* of channels which were used during RC calibration. It is only meant
|
||||||
|
* for ground station use.
|
||||||
|
*
|
||||||
|
* @min 0
|
||||||
|
* @max 18
|
||||||
|
* @group Radio Calibration
|
||||||
|
*/
|
||||||
|
|
||||||
|
PARAM_DEFINE_INT32(RC_CHAN_CNT, 0);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* RC mode switch threshold automaic distribution
|
||||||
|
*
|
||||||
|
* This parameter is used by Ground Station software to specify whether
|
||||||
|
* the threshold values for flight mode switches were automatically calculated.
|
||||||
|
* 0 indicates that the threshold values were set by the user. Any other value
|
||||||
|
* indicates that the threshold value where automatically set by the ground
|
||||||
|
* station software. It is only meant for ground station use.
|
||||||
|
*
|
||||||
|
* @min 0
|
||||||
|
* @max 1
|
||||||
|
* @group Radio Calibration
|
||||||
|
*/
|
||||||
|
|
||||||
|
PARAM_DEFINE_INT32(RC_TH_USER, 1);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Roll control channel mapping.
|
* Roll control channel mapping.
|
||||||
*
|
*
|
||||||
|
|||||||
Reference in New Issue
Block a user