diff options
author | Lorenz Meier <lm@inf.ethz.ch> | 2014-07-12 14:29:56 +0200 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2014-07-12 14:29:56 +0200 |
commit | 5616a07bf306b3fa2bc70078e9c8c26a086065dc (patch) | |
tree | 1a101a0a77dcbb8d7f77701218f648c6acf12ce8 | |
parent | 065bf013a407da5e2a70db82013126c20e2ad429 (diff) | |
download | px4-firmware-5616a07bf306b3fa2bc70078e9c8c26a086065dc.tar.gz px4-firmware-5616a07bf306b3fa2bc70078e9c8c26a086065dc.tar.bz2 px4-firmware-5616a07bf306b3fa2bc70078e9c8c26a086065dc.zip |
Final default values and more comments for params
-rw-r--r-- | src/modules/navigator/mission_params.c | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/src/modules/navigator/mission_params.c b/src/modules/navigator/mission_params.c index 5cb3782c9..881caa24e 100644 --- a/src/modules/navigator/mission_params.c +++ b/src/modules/navigator/mission_params.c @@ -59,22 +59,26 @@ 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 * @max 1 * @group Mission */ -PARAM_DEFINE_INT32(MIS_ONBOARD_EN, 0); +PARAM_DEFINE_INT32(MIS_ONBOARD_EN, 1); /** * Maximal horizontal distance from home to first waypoint * - * Failsafe check to prevent running mission stored from previous flight on new place. - * Value < 0 means that check disabled. + * Failsafe check to prevent running mission stored from previous flight at a new takeoff location. + * 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 - * @max 200 + * @min 0 + * @max 250 * @group Mission */ -PARAM_DEFINE_FLOAT(MIS_DIST_1WP, 50); +PARAM_DEFINE_FLOAT(MIS_DIST_1WP, 175); |