mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-17 01:41:36 +08:00
Roboclaw: move parameters to module.yaml
This commit is contained in:
@@ -4,3 +4,31 @@ serial_config:
|
||||
port_config_param:
|
||||
name: RBCLW_SER_CFG
|
||||
group: Roboclaw
|
||||
|
||||
parameters:
|
||||
- group: Roboclaw Driver
|
||||
definitions:
|
||||
RBCLW_COUNTS_REV:
|
||||
description:
|
||||
short: Number of encoder counts for one wheel revolution
|
||||
long: The default value of 1200 corresponds to the default configuration of the Aion R1 rover.
|
||||
type: int32
|
||||
default: 1200
|
||||
min: 1
|
||||
RBCLW_ADDRESS:
|
||||
description:
|
||||
short: Address of the ESC on the bus
|
||||
long: The ESC has to be configured to have an address from 0x80 to 0x87. This parameter needs to match the configured value.
|
||||
type: enum
|
||||
default: 128
|
||||
min: 128
|
||||
max: 135
|
||||
values:
|
||||
128: 0x80
|
||||
129: 0x81
|
||||
130: 0x82
|
||||
131: 0x83
|
||||
132: 0x84
|
||||
133: 0x85
|
||||
134: 0x86
|
||||
135: 0x87
|
||||
|
||||
Reference in New Issue
Block a user