HITL startup: Further simplification of boot logic in commander

This commit is contained in:
Lorenz Meier
2017-07-29 21:47:12 +02:00
parent 03324e0fb1
commit 61b0a81bf9
5 changed files with 20 additions and 27 deletions
+6 -5
View File
@@ -1,6 +1,6 @@
/****************************************************************************
*
* Copyright (c) 2013-2015 PX4 Development Team. All rights reserved.
* Copyright (c) 2013-2017 PX4 Development Team. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
@@ -67,11 +67,12 @@ PARAM_DEFINE_INT32(SYS_AUTOCONFIG, 0);
/**
* Enable HITL mode on next boot
*
* Set to 1 to enable HITL on next boot. The system will automatically
* reset it on reboot.
* While enabled the system will boot in HITL mode and not enable all sensors and checks.
* When disabled the same vehicle can be normally flown outdoors.
*
* @boolean
* @reboot_required true
*
* @value 0 HITL off
* @value 1 HITL on
* @group System
*/
PARAM_DEFINE_INT32(SYS_HITL, 0);