mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-06-24 16:50:34 +08:00
HITL startup: Further simplification of boot logic in commander
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user