implemented basic heading timeout for waypoint acceptance, added parameter for yaw error on waypoint heading acceptance, set yaw timeout for vtol default

This commit is contained in:
Andreas Antener
2016-02-15 23:26:28 +01:00
parent 0a4d0f6eae
commit bb4decfa8b
5 changed files with 41 additions and 4 deletions
+22
View File
@@ -107,3 +107,25 @@ PARAM_DEFINE_INT32(MIS_ALTMODE, 1);
* @group Mission
*/
PARAM_DEFINE_INT32(MIS_YAWMODE, 1);
/**
* Time in seconds we wait on reaching target heading at a waypoint.
*
* Prevents missions getting blocked at waypoints because it cannot reach target yaw.
* Mainly useful for VTOLs that have less yaw authority and might not reach target
* yaw in wind. Disabled by default. Can be set to 0 if it should not care for yaw on waypoints.
*
* @min -1
* @max 20
* @group Mission
*/
PARAM_DEFINE_FLOAT(MIS_YAW_TMT, -1.0f);
/**
* Max yaw error in degree needed for waypoint heading acceptance.
*
* @min 0
* @max 90
* @group Mission
*/
PARAM_DEFINE_FLOAT(MIS_YAW_ERR, 12.0f);