Skip to content
This repository was archived by the owner on Jul 16, 2025. It is now read-only.

Commit 807921d

Browse files
fix
1 parent 6ec0467 commit 807921d

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

examples/example_moveit/example_moveit.osc

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ scenario example_moveit:
66
timeout(60s)
77
manipulator: arm with:
88
keep(it.arm_joints == ['panda_joint1','panda_joint2','panda_joint3','panda_joint4','panda_joint5','panda_joint6','panda_joint7'])
9-
keep(it.gripper_joints == ['panda_finger_joint1'])
9+
keep(it.gripper_joints == ['panda_finger_joint1','panda_finger_joint2'])
1010
keep(it.arm_group == 'panda_arm')
1111
keep(it.gripper_group == 'hand')
1212
keep(it.end_effector == 'panda_hand')
@@ -26,5 +26,10 @@ scenario example_moveit:
2626
manipulator.move_to_pose(
2727
goal_pose: ['0.25', '0.0', '1.0', '0.0', '0.0', '0.0', '1.0']
2828
)
29+
close_gripper: serial:
30+
manipulator.move_to_joint_pose(
31+
goal_pose: ['0.0'],
32+
move_group: move_group_type!gripper
33+
)
2934
wait elapsed(1s)
3035
emit end

libs/scenario_execution_moveit/scenario_execution_moveit/lib_osc/moveit.osc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ action arm.move_to_joint_pose:
2020
move_group: move_group_type
2121
plan_only: bool = false
2222
replan: bool = false
23-
tolerance: float = 0.1
23+
tolerance: float = 0.001
2424
max_velocity_scaling_factor: float = 0.1
2525
namespace_override: string = '' # if set, it's used as namespace (instead of the associated actor's name)
2626
action_topic: string = 'move_action' # Name of action
@@ -31,7 +31,7 @@ action arm.move_to_pose:
3131
goal_pose: list of string # end effector pose to move to [x, y, z, quatx, quaty, quatz, w]
3232
plan_only: bool = false
3333
replan: bool = false
34-
tolerance: float = 0.1
34+
tolerance: float = 0.001
3535
max_velocity_scaling_factor: float = 0.1
3636
namespace_override: string = '' # if set, it's used as namespace (instead of the associated actor's name)
3737
action_topic: string = 'move_action' # Name of action

0 commit comments

Comments
 (0)