mc_pos_control_params: add MPC_YAW_MODE for heading during auto

This commit is contained in:
Dennis Mannhart 2018-07-23 15:30:54 +02:00
parent d704a2d675
commit 27812ad7ac
1 changed files with 15 additions and 0 deletions

View File

@ -657,3 +657,18 @@ PARAM_DEFINE_FLOAT(MPC_IDLE_TKO, 0.0f);
* @group Multicopter Position Control
*/
PARAM_DEFINE_INT32(MPC_OBS_AVOID, 0);
/**
* Yaw mode.
*
* Specifies the heading in Auto.
*
* @min 0
* @max 3
* @value 0 set by waypoint
* @value 1 towards waypoint
* @value 2 towards home
* @value 3 away from home
* @group Mission
*/
PARAM_DEFINE_INT32(MPC_YAW_MODE, 1);