mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-29 12:24:06 +08:00
uavcan param @unit
This commit is contained in:
parent
12d0febaea
commit
8f80b210b6
@ -47,8 +47,13 @@
|
||||
* 2 - Enabled support for dynamic node ID allocation and firmware update.
|
||||
* 3 - Sets the motor control outputs to UAVCAN and enables support for dynamic node ID allocation and firmware update.
|
||||
*
|
||||
* @unit enum
|
||||
* @min 0
|
||||
* @max 3
|
||||
* @value 0 disabled
|
||||
* @value 1 enabled
|
||||
* @value 2 update
|
||||
* @value 3 motors/update
|
||||
* @group UAVCAN
|
||||
*/
|
||||
PARAM_DEFINE_INT32(UAVCAN_ENABLE, 0);
|
||||
@ -67,11 +72,9 @@ PARAM_DEFINE_INT32(UAVCAN_NODE_ID, 1);
|
||||
/**
|
||||
* UAVCAN CAN bus bitrate.
|
||||
*
|
||||
* @unit bit/s
|
||||
* @min 20000
|
||||
* @max 1000000
|
||||
* @group UAVCAN
|
||||
*/
|
||||
PARAM_DEFINE_INT32(UAVCAN_BITRATE, 1000000);
|
||||
|
||||
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user