forked from PickNikRobotics/moveit_pro_empty_ws
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #31 from PickNikRobotics/tool-change-example
Setup the fanuc_sim config with a basic tool-changing example
- Loading branch information
Showing
20 changed files
with
615 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
<?xml version="1.0" ?> | ||
<robot name="fanuc_tool" xmlns:xacro="http://wiki.ros.org/xacro"> | ||
<link name="gripper_base"> | ||
<visual> | ||
<origin rpy="0 0 0" xyz="0 0 0.02" /> | ||
<geometry> | ||
<box size="0.06 0.06 0.04"/> | ||
</geometry> | ||
<material name="darkgrey"> | ||
<color rgba="0.1 0.1 0.1 1"/> | ||
</material> | ||
</visual> | ||
<collision> | ||
<origin rpy="0 0 0" xyz="0 0 0.02" /> | ||
<geometry> | ||
<box size="0.06 0.06 0.04"/> | ||
</geometry> | ||
<material name="darkgrey"/> | ||
</collision> | ||
</link> | ||
<link name="suction_cylinder"> | ||
<visual> | ||
<origin rpy="0 0 0" xyz="0 0 0.03" /> | ||
<geometry> | ||
<box size="0.01 0.01 0.06"/> | ||
</geometry> | ||
<material name="darkgrey"/> | ||
</visual> | ||
<collision> | ||
<origin rpy="0 0 0" xyz="0 0 0.03" /> | ||
<geometry> | ||
<box size="0.01 0.01 0.06"/> | ||
</geometry> | ||
<material name="darkgrey"/> | ||
</collision> | ||
</link> | ||
<joint name="base_joint" type="fixed"> | ||
<parent link="gripper_base" /> | ||
<child link="suction_cylinder" /> | ||
<origin rpy="0 0 0" xyz="0 0 0.04" /> | ||
</joint> | ||
</robot> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
<mujoco model="fanuc_tool"> | ||
<compiler angle="radian" autolimits="true" /> | ||
<option integrator="RK4" timestep="0.005" /> | ||
|
||
<worldbody> | ||
<body | ||
name="gripper_base" | ||
gravcomp="1" | ||
pos="0.25 0.3 0.3" | ||
euler="3.1415 0 0" | ||
> | ||
<joint | ||
type="free" | ||
stiffness="0" | ||
damping="0" | ||
frictionloss=".001" | ||
armature="0" | ||
/> | ||
<site name="tool_attach_site" pos="0 0 0" euler="0 0 0" /> | ||
|
||
<geom type="cylinder" size="0.03 0.02" pos="0 0 0.02" rgba=".1 .1 .1 1" /> | ||
<body name="suction_cylinder" gravcomp="1" pos="0 0 0.04"> | ||
<geom | ||
type="cylinder" | ||
size="0.01 0.03" | ||
pos="0 0 0.03" | ||
margin="0.01" | ||
gap="0.01" | ||
rgba=".1 .1 .1 1" | ||
/> | ||
<body name="tool_tip" gravcomp="1" pos="0 0 0.055"> | ||
<geom | ||
class="collision" | ||
type="cylinder" | ||
size="0.01 0.005" | ||
margin="0.01" | ||
gap="0.01" | ||
/> | ||
<site name="suction_cup_tool_tip" /> | ||
</body> | ||
</body> | ||
</body> | ||
</worldbody> | ||
</mujoco> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<?xml version="1.0" encoding="utf-8" ?> | ||
<root BTCPP_format="4" main_tree_to_execute="Activate Vacuum"> | ||
<BehaviorTree | ||
ID="Activate Vacuum" | ||
_description="Activate the vacuum gripper" | ||
_subtreeOnly="false" | ||
> | ||
<Control ID="Sequence" name="root"> | ||
<Action | ||
ID="MoveGripperAction" | ||
position="1" | ||
gripper_command_action_name="/suction_cup_controller/gripper_cmd" | ||
/> | ||
</Control> | ||
</BehaviorTree> | ||
<TreeNodesModel> | ||
<SubTree ID="Activate Vacuum" /> | ||
</TreeNodesModel> | ||
</root> |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<?xml version="1.0" encoding="utf-8" ?> | ||
<root BTCPP_format="4" main_tree_to_execute="Deactivate Vacuum"> | ||
<!--//////////--> | ||
<BehaviorTree | ||
ID="Deactivate Vacuum" | ||
_description="Deactivate the vacuum gripper" | ||
_subtreeOnly="false" | ||
> | ||
<Control ID="Sequence" name="root"> | ||
<Action | ||
ID="MoveGripperAction" | ||
position="0" | ||
gripper_command_action_name="/suction_cup_controller/gripper_cmd" | ||
/> | ||
</Control> | ||
</BehaviorTree> | ||
<TreeNodesModel> | ||
<SubTree ID="Deactivate Vacuum" /> | ||
</TreeNodesModel> | ||
</root> |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.