-
Notifications
You must be signed in to change notification settings - Fork 15
/
example.yaml
76 lines (64 loc) · 2.67 KB
/
example.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
motor_names:
- master_motor
- sub_motor
# motor name
master_motor:
# epos's node information (must be enough to identify the node)
device: 'EPOS4' # default: 'EPOS4'
protocol_stack: 'MAXON SERIAL V2' # default: 'MAXON SERIAL V2'
interface: 'USB' # default: 'USB'
port: 'USB0' # default: 'USB0'
node_id: 1 # default: 0 (invalid)
# communication settings (optional)
# 'device' is a set of types of device, protocol_stack, interface, and port.
# order of node initialization is that of commandline arguments.
baudrate: 1000000 # default: 0 (keep current baudrate)
timeout: 500 # [ms], default: 0 (keep current timeout)
# general parameters (optional)
use_ros_unit: true # use ros standard units (rad, rad/s, Nm) in hardware interfaces
# or epos standard units (quad count of encoder pulse(qc), rpm, mNm)
# (default: false)
# epos's operation mode (required)
control_mode: "profile_position"
# encoder parameters (required)
encoder:
type: 1 # 1: INC 3CH, 2: INC 2CH, 4: SSI ABS BIN, 5: SSI ABS GRY
resolution: 1024 # encoder resolution
gear_ratio: 243 # gear ratio of motor
inverted_polarity: false
# profile position mode configs (optional)
position_profile:
velocity: 10000 # [rpm]
acceleration: 8000 # [rpm/s]
deceleration: 9000 # [rpm/s]
# motor name
sub_motor:
# epos's node information (must be enough to identify the node)
device: 'EPOS4' # default: 'EPOS4'
protocol_stack: 'CANopen' # default: 'MAXON SERIAL V2'
interface: '' # default: 'USB'
port: '' # default: 'USB0'
node_id: 2 # default: 0 (invalid)
# communication settings (optional)
# ignored if another node belonging to the same device is already initialized.
# 'device' is a set of types of device, protocol_stack, interface, and port.
# order of node initialization is that of commandline arguments.
baudrate: 1000000 # default: 0 (keep current baudrate)
timeout: 500 # [ms], default: 0 (keep current timeout)
# general parameters (optional)
use_ros_unit: true # use ros standard units (rad, rad/s, Nm) in hardware interfaces
# or epos standard units (quad count of encoder pulse(qc), rpm, mNm)
# (default: false)
# epos's operation mode (required)
control_mode: "profile_position"
# sensor parameters (required)
encoder:
type: 1 # 1: INC 3CH, 2: INC 2CH, 4: SSI ABS BIN, 5: SSI ABS GRY
resolution: 1024 # encoder resolution
gear_ratio: 243 # gear ratio of motor
inverted_polarity: false
# profile position mode configs (optional)
position_profile:
velocity: 10000 # [rpm]
acceleration: 8000 # [rpm/s]
deceleration: 9000 # [rpm/s]