Skip to content

Commit 28f6559

Browse files
Merge pull request #365 from PickNikRobotics/fix_kinova_sim_grasp_objective
Use correct finger scene, and adjust offset for better grasp.
2 parents 57cae4b + 851e8d0 commit 28f6559

File tree

3 files changed

+15
-3
lines changed

3 files changed

+15
-3
lines changed

src/moveit_pro_kinova_configs/kinova_sim/config/config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ hardware:
6060
- external_camera: "true"
6161
- wrist_realsense: "true"
6262
- use_internal_bus_gripper_comm: "false"
63-
- mujoco_model: "description/mujoco/scene.xml"
63+
- mujoco_model: "description/mujoco/rafti_fingers_scene.xml"
6464

6565
# Sets ROS global params for launch.
6666
# [Optional]

src/moveit_pro_kinova_configs/kinova_sim/objectives/compliant_grasp_rafti_vfc.xml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@
165165
<Action
166166
ID="TransformPose"
167167
input_pose="{model_object}"
168-
translation_xyz="0.0;0.0;0.3"
168+
translation_xyz="0.0;0.0;0.28"
169169
quaternion_xyzw="-0.707107;0.707107;0.0;0.0"
170170
output_pose="{hole_object}"
171171
/>
@@ -265,6 +265,12 @@
265265
<Action
266266
ID="SwitchController"
267267
activate_controllers="velocity_force_controller"
268+
activate_asap="true"
269+
automatic_deactivation="true"
270+
controller_list_action_name="/controller_manager/list_controllers"
271+
controller_switch_action_name="/controller_manager/switch_controller"
272+
strictness="1"
273+
timeout="0.000000"
268274
/>
269275
<Action
270276
ID="CreateStampedTwist"
@@ -297,6 +303,12 @@
297303
<Action
298304
ID="SwitchController"
299305
activate_controllers="joint_trajectory_controller"
306+
activate_asap="true"
307+
automatic_deactivation="true"
308+
controller_list_action_name="/controller_manager/list_controllers"
309+
controller_switch_action_name="/controller_manager/switch_controller"
310+
strictness="1"
311+
timeout="0.000000"
300312
/>
301313
</Decorator>
302314
</Control>

src/moveit_pro_ur_configs/picknik_ur_base_config/objectives/segment_point_cloud_from_text_prompt_subtree.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
<Action
4343
ID="GetPointCloud"
4444
topic_name="{points_topic_name}"
45-
timeout_sec="5.000000"
45+
timeout_sec="10.000000"
4646
message_out="{point_cloud}"
4747
/>
4848
<Action

0 commit comments

Comments
 (0)