mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-06-01 02:55:07 +08:00
UAVCANCAN: Better param documentation and reboot requirements where appropriate
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
*
|
*
|
||||||
* Copyright (C) 2014 PX4 Development Team. All rights reserved.
|
* Copyright (c) 2014-2017 PX4 Development Team. All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
* modification, are permitted provided that the following conditions
|
* modification, are permitted provided that the following conditions
|
||||||
@@ -49,8 +49,9 @@
|
|||||||
* @min 0
|
* @min 0
|
||||||
* @max 3
|
* @max 3
|
||||||
* @value 0 Disabled
|
* @value 0 Disabled
|
||||||
* @value 2 Sensors Enabled
|
* @value 2 Only Sensors
|
||||||
* @value 3 Sensors and Motors
|
* @value 3 Sensors and Motors
|
||||||
|
* @reboot_required true
|
||||||
* @group UAVCAN
|
* @group UAVCAN
|
||||||
*/
|
*/
|
||||||
PARAM_DEFINE_INT32(UAVCAN_ENABLE, 0);
|
PARAM_DEFINE_INT32(UAVCAN_ENABLE, 0);
|
||||||
@@ -62,6 +63,7 @@ PARAM_DEFINE_INT32(UAVCAN_ENABLE, 0);
|
|||||||
*
|
*
|
||||||
* @min 1
|
* @min 1
|
||||||
* @max 125
|
* @max 125
|
||||||
|
* @reboot_required true
|
||||||
* @group UAVCAN
|
* @group UAVCAN
|
||||||
*/
|
*/
|
||||||
PARAM_DEFINE_INT32(UAVCAN_NODE_ID, 1);
|
PARAM_DEFINE_INT32(UAVCAN_NODE_ID, 1);
|
||||||
@@ -72,6 +74,7 @@ PARAM_DEFINE_INT32(UAVCAN_NODE_ID, 1);
|
|||||||
* @unit bit/s
|
* @unit bit/s
|
||||||
* @min 20000
|
* @min 20000
|
||||||
* @max 1000000
|
* @max 1000000
|
||||||
|
* @reboot_required true
|
||||||
* @group UAVCAN
|
* @group UAVCAN
|
||||||
*/
|
*/
|
||||||
PARAM_DEFINE_INT32(UAVCAN_BITRATE, 1000000);
|
PARAM_DEFINE_INT32(UAVCAN_BITRATE, 1000000);
|
||||||
|
|||||||
Reference in New Issue
Block a user