Skip to content

Commit 7bcaff1

Browse files
committed
fix body.sendJointGoal
1 parent d4f83af commit 7bcaff1

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

lib/body.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,13 +70,17 @@ class Body {
7070
trajectory: {
7171
/* eslint camelcase:0 */
7272
joint_names: this.jointNames[cmd.body_part],
73-
points: [{positions: this.defaultConfigurations[cmd.body_part][cmd.configuration]}],
73+
points: [{
74+
positions: this.defaultConfigurations[cmd.body_part][cmd.configuration],
75+
time_from_start: {secs: 2},
76+
}],
7477
},
7578
goal_time_tolerance: {
7679
secs: 5,
7780
},
7881
},
7982
});
83+
console.debug(goal);
8084

8185
// Send the goal with a default timeout of 10.0 seconds
8286
goal.send(10);

0 commit comments

Comments
 (0)