Skip to content

Commit 26effbf

Browse files
Merge pull request #7 from RethinkRobotics/joint_command
Updated JointCommand Interface for Trajectories
2 parents e9e80e9 + 1e5b458 commit 26effbf

File tree

1 file changed

+14
-4
lines changed

1 file changed

+14
-4
lines changed
Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,18 @@
1-
int32 mode
2-
float64[] command
3-
string[] names
1+
Header header
42

3+
int32 mode # Mode in which to command arm
4+
5+
string[] names # Joint names order for command
6+
7+
# Fields of commands indexed according to the Joint names vector.
8+
# Command fields required for a desired mode are listed in the comments
9+
float64[] position # (radians) Required for POSITION_MODE and TRAJECTORY_MODE
10+
float64[] velocity # (rad/sec) Required for VELOCITY_MODE and TRAJECTORY_MODE
11+
float64[] acceleration # (rad/sec^2) Required for TRAJECTORY_MODE
12+
float64[] effort # (newtons) Required for TORQUE_MODE
13+
14+
# Modes available to command arm
515
int32 POSITION_MODE=1
616
int32 VELOCITY_MODE=2
717
int32 TORQUE_MODE=3
8-
int32 RAW_POSITION_MODE=4
18+
int32 TRAJECTORY_MODE=4

0 commit comments

Comments
 (0)