Skip to content
This repository was archived by the owner on Dec 1, 2020. It is now read-only.

Commit 146fa53

Browse files
committed
Add two_odrive_joints robot
1 parent 7709c41 commit 146fa53

File tree

2 files changed

+61
-0
lines changed

2 files changed

+61
-0
lines changed
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
# For convenience it is easiest if the joint order is maintained, it is chosen to sort the joints alphabetically.
2+
march4:
3+
cycleTime: 4
4+
slaveTimeout: 50
5+
joints:
6+
- right_hip_fe:
7+
actuationMode: torque
8+
allowActuation: true
9+
odrive:
10+
serial_number: "0x2084387E304E"
11+
axis: "axis0"
12+
absoluteEncoder:
13+
resolution: 17
14+
minPositionIU: 2045
15+
maxPositionIU: 45632
16+
incrementalEncoder:
17+
resolution: 12
18+
transmission: 101
19+
20+
- right_knee:
21+
actuationMode: torque
22+
allowActuation: true
23+
odrive:
24+
serial_number: "0x2084387E304E"
25+
axis: "axis0"
26+
absoluteEncoder:
27+
resolution: 17
28+
minPositionIU: 41533
29+
maxPositionIU: 85298
30+
incrementalEncoder:
31+
resolution: 12
32+
transmission: 101
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
march:
2+
controller:
3+
pdb_state:
4+
type: march_pdb_state_controller/MarchPdbStateController
5+
publish_rate: 50
6+
joint_state:
7+
type: joint_state_controller/JointStateController
8+
publish_rate: 250
9+
temperature_sensor:
10+
type: march_temperature_sensor_controller/MarchTemperatureSensorController
11+
publish_rate: 1
12+
trajectory:
13+
type: effort_controllers/JointTrajectoryController
14+
allow_partial_joints_goal: true
15+
joints:
16+
- right_hip_fe
17+
- right_knee
18+
gains: # Required because we're controlling an effort interface
19+
right_hip_fe: {p: 0, i: 0, d: 0, i_clamp: 100, publish_state: true, antiwindup: true}
20+
right_knee: {p: 0, i: 0, d: 0, i_clamp: 100, publish_state: true, antiwindup: true}
21+
constraints:
22+
right_hip_fe:
23+
margin_soft_limit_error: 0.5
24+
trajectory: 0.305
25+
goal: 0.305
26+
right_knee:
27+
margin_soft_limit_error: 0.5
28+
trajectory: 0.305
29+
goal: 0.305

0 commit comments

Comments
 (0)