Roboclaw: move parameters to module.yaml

This commit is contained in:
Matthias Grob
2023-11-28 16:30:17 +01:00
parent 8f4ce28e84
commit 87683aa790
2 changed files with 28 additions and 61 deletions
+28
View File
@@ -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