Final default values and more comments for params

This commit is contained in:
Lorenz Meier 2014-07-12 14:29:56 +02:00
parent 065bf013a4
commit 5616a07bf3
1 changed files with 11 additions and 7 deletions

View File

@ -59,22 +59,26 @@
PARAM_DEFINE_FLOAT(MIS_TAKEOFF_ALT, 10.0f); PARAM_DEFINE_FLOAT(MIS_TAKEOFF_ALT, 10.0f);
/** /**
* Enable onboard mission * Enable persistent onboard mission storage
*
* When enabled, missions that have been uploaded by the GCS are stored
* and reloaded after reboot persistently.
* *
* @min 0 * @min 0
* @max 1 * @max 1
* @group Mission * @group Mission
*/ */
PARAM_DEFINE_INT32(MIS_ONBOARD_EN, 0); PARAM_DEFINE_INT32(MIS_ONBOARD_EN, 1);
/** /**
* Maximal horizontal distance from home to first waypoint * Maximal horizontal distance from home to first waypoint
* *
* Failsafe check to prevent running mission stored from previous flight on new place. * Failsafe check to prevent running mission stored from previous flight at a new takeoff location.
* Value < 0 means that check disabled. * Set a value of zero or less to disable. The mission will not be started if the current
* waypoint is more distant than MIS_DIS_1WP from the current position.
* *
* @min -1 * @min 0
* @max 200 * @max 250
* @group Mission * @group Mission
*/ */
PARAM_DEFINE_FLOAT(MIS_DIST_1WP, 50); PARAM_DEFINE_FLOAT(MIS_DIST_1WP, 175);