mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-18 04:03:35 +08:00
heading towards ROI: do not require setting the MIS_YAWMODE param to enable multicopters yawing towards ROIs
ROI yaw control: configure yawing capability of mount in vmount parameters. If configured that mount has no yaw control, vehicle will yaw towards ROI, irrespective of MIS_YAWMODE. Vehicle will behave according to MIS_YAWMODE when there is no ROI.
This commit is contained in:
committed by
Lorenz Meier
parent
add3692357
commit
7ae3884944
@@ -224,4 +224,18 @@ PARAM_DEFINE_FLOAT(MNT_OFF_ROLL, 0.0f);
|
||||
* @decimal 1
|
||||
* @group Mount
|
||||
*/
|
||||
PARAM_DEFINE_FLOAT(MNT_OFF_YAW, 0.0f);
|
||||
PARAM_DEFINE_FLOAT(MNT_OFF_YAW, 0.0f);
|
||||
|
||||
/**
|
||||
* Enable yaw control of the mount. (Only affects multicopters and ROI mission items)
|
||||
*
|
||||
* If enabled, yaw commands will be sent to the mount and the vehicle will follow its heading mode as specified by MIS_YAWMODE.
|
||||
* If disabled, the vehicle will yaw towards the ROI.
|
||||
*
|
||||
* @value 0 Disable
|
||||
* @value 1 Enable
|
||||
* @min 0
|
||||
* @max 1
|
||||
* @group Mount
|
||||
*/
|
||||
PARAM_DEFINE_INT32(MNT_YAW_CTL, 0);
|
||||
|
||||
Reference in New Issue
Block a user