Skip to content

Commit

Permalink
Cleanup robots for visualization & sim (#180)
Browse files Browse the repository at this point in the history
  • Loading branch information
MarqRazz authored Nov 22, 2023
1 parent 740d21b commit eac70d1
Show file tree
Hide file tree
Showing 54 changed files with 1,739 additions and 578 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ joint_trajectory_controller:
- joint_6
command_interfaces:
- position
- velocity
state_interfaces:
- position
- velocity
Expand Down
4 changes: 4 additions & 0 deletions kortex_description/arms/gen3/6dof/urdf/gen3_macro.xacro
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@
sim_gazebo:=false
sim_ignition:=false
sim_isaac:=false
isaac_joint_commands:=/isaac_joint_commands
isaac_joint_states:=/isaac_joint_states
use_external_cable:=false
initial_positions:=${dict(joint_1=0.0,joint_2=0.0,joint_3=0.0,joint_4=0.0,joint_5=0.0,joint_6=0.0)}" >

Expand All @@ -40,6 +42,8 @@
sim_gazebo="${sim_gazebo}"
sim_ignition="${sim_ignition}"
sim_isaac="${sim_isaac}"
isaac_joint_commands="${isaac_joint_commands}"
isaac_joint_states="${isaac_joint_states}"
tf_prefix=""
initial_positions="${initial_positions}"
robot_ip="${robot_ip}"
Expand Down
30 changes: 4 additions & 26 deletions kortex_description/arms/gen3/6dof/urdf/kortex.ros2_control.xacro
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
sim_gazebo:=false
sim_ignition:=false
sim_isaac:=false
isaac_joint_commands:=/isaac_joint_commands
isaac_joint_states:=/isaac_joint_states
use_internal_bus_gripper_comm:=false
tf_prefix
initial_positions:=${dict(joint_1=0.0,joint_2=0.0,joint_3=0.0,joint_4=0.0,joint_5=0.0,joint_6=0.0)}
Expand All @@ -33,8 +35,8 @@
</xacro:if>
<xacro:if value="${sim_isaac}">
<plugin>topic_based_ros2_control/TopicBasedSystem</plugin>
<param name="joint_commands_topic">/isaac_joint_commands</param>
<param name="joint_states_topic">/isaac_joint_states</param>
<param name="joint_commands_topic">${isaac_joint_commands}</param>
<param name="joint_states_topic">${isaac_joint_states}</param>
</xacro:if>
<xacro:if value="${use_fake_hardware}">
<plugin>fake_components/GenericSystem</plugin>
Expand Down Expand Up @@ -62,10 +64,6 @@
<param name="min">{-2*pi}</param>
<param name="max">{2*pi}</param>
</command_interface>
<command_interface name="velocity">
<param name="min">-3.15</param>
<param name="max">3.15</param>
</command_interface>
<state_interface name="position">
<param name="initial_value">${initial_positions['joint_1']}</param>
</state_interface>
Expand All @@ -77,10 +75,6 @@
<param name="min">-2.41</param>
<param name="max">2.41</param>
</command_interface>
<command_interface name="velocity">
<param name="min">-3.15</param>
<param name="max">3.15</param>
</command_interface>
<state_interface name="position">
<param name="initial_value">${initial_positions['joint_2']}</param>
</state_interface>
Expand All @@ -92,10 +86,6 @@
<param name="min">-2.66</param>
<param name="max">2.66</param>
</command_interface>
<command_interface name="velocity">
<param name="min">-3.2</param>
<param name="max">3.2</param>
</command_interface>
<state_interface name="position">
<param name="initial_value">${initial_positions['joint_3']}</param>
</state_interface>
Expand All @@ -107,10 +97,6 @@
<param name="min">{-2*pi}</param>
<param name="max">{2*pi}</param>
</command_interface>
<command_interface name="velocity">
<param name="min">-3.2</param>
<param name="max">3.2</param>
</command_interface>
<state_interface name="position">
<param name="initial_value">${initial_positions['joint_4']}</param>
</state_interface>
Expand All @@ -122,10 +108,6 @@
<param name="min">-2.23</param>
<param name="max">2.23</param>
</command_interface>
<command_interface name="velocity">
<param name="min">-3.2</param>
<param name="max">3.2</param>
</command_interface>
<state_interface name="position">
<param name="initial_value">${initial_positions['joint_5']}</param>
</state_interface>
Expand All @@ -137,10 +119,6 @@
<param name="min">{-2*pi}</param>
<param name="max">{2*pi}</param>
</command_interface>
<command_interface name="velocity">
<param name="min">-3.2</param>
<param name="max">3.2</param>
</command_interface>
<state_interface name="position">
<param name="initial_value">${initial_positions['joint_6']}</param>
</state_interface>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ joint_trajectory_controller:
- joint_7
command_interfaces:
- position
- velocity
state_interfaces:
- position
- velocity
Expand Down
Binary file not shown.
136 changes: 136 additions & 0 deletions kortex_description/arms/gen3/7dof/meshes/base_link.dae

Large diffs are not rendered by default.

Binary file not shown.
100 changes: 100 additions & 0 deletions kortex_description/arms/gen3/7dof/meshes/bracelet_no_vision_link.dae

Large diffs are not rendered by default.

Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<?xml version="1.0" encoding="utf-8"?>
<COLLADA xmlns="http://www.collada.org/2005/11/COLLADASchema" version="1.4.1">
<asset>
<contributor>
<author>Blender User</author>
<authoring_tool>Blender 2.78.0 commit date:2017-02-24, commit time:14:33, hash:e92f2352830</authoring_tool>
</contributor>
<created>2023-07-22T08:53:10</created>
<modified>2023-07-22T08:53:10</modified>
<unit name="meter" meter="1"/>
<up_axis>Z_UP</up_axis>
</asset>
<library_images/>
<library_effects/>
<library_controllers/>
<library_visual_scenes>
<visual_scene id="Scene" name="Scene"/>
</library_visual_scenes>
<scene>
<instance_visual_scene url="#Scene"/>
</scene>
</COLLADA>
Binary file not shown.
Binary file not shown.
100 changes: 100 additions & 0 deletions kortex_description/arms/gen3/7dof/meshes/forearm_link.dae

Large diffs are not rendered by default.

Binary file not shown.
100 changes: 100 additions & 0 deletions kortex_description/arms/gen3/7dof/meshes/half_arm_1_link.dae

Large diffs are not rendered by default.

Binary file not shown.
100 changes: 100 additions & 0 deletions kortex_description/arms/gen3/7dof/meshes/half_arm_2_link.dae

Large diffs are not rendered by default.

Binary file not shown.
100 changes: 100 additions & 0 deletions kortex_description/arms/gen3/7dof/meshes/shoulder_link.dae

Large diffs are not rendered by default.

Binary file not shown.
100 changes: 100 additions & 0 deletions kortex_description/arms/gen3/7dof/meshes/spherical_wrist_1_link.dae

Large diffs are not rendered by default.

Binary file not shown.
100 changes: 100 additions & 0 deletions kortex_description/arms/gen3/7dof/meshes/spherical_wrist_2_link.dae

Large diffs are not rendered by default.

38 changes: 21 additions & 17 deletions kortex_description/arms/gen3/7dof/urdf/gen3_macro.xacro
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@
sim_gazebo:=false
sim_ignition:=false
sim_isaac:=false
isaac_joint_commands:=/isaac_joint_commands
isaac_joint_states:=/isaac_joint_states
use_external_cable:=false
initial_positions:=${dict(joint_1=0.0,joint_2=0.0,joint_3=0.0,joint_4=0.0,joint_5=0.0,joint_6=0.0,joint_7=0.0)}" >

Expand All @@ -40,6 +42,8 @@
sim_gazebo="${sim_gazebo}"
sim_ignition="${sim_ignition}"
sim_isaac="${sim_isaac}"
isaac_joint_commands="${isaac_joint_commands}"
isaac_joint_states="${isaac_joint_states}"
tf_prefix=""
initial_positions="${initial_positions}"
robot_ip="${robot_ip}"
Expand Down Expand Up @@ -68,7 +72,7 @@
<visual>
<origin xyz="0 0 0" rpy="0 0 0" />
<geometry>
<mesh filename="file://$(find kortex_description)/arms/gen3/${dof}dof/meshes/base_link.STL" />
<mesh filename="file://$(find kortex_description)/arms/gen3/${dof}dof/meshes/base_link.dae" />
</geometry>
<material name="">
<color rgba="0.75294 0.75294 0.75294 1" />
Expand All @@ -77,7 +81,7 @@
<collision>
<origin xyz="0 0 0" rpy="0 0 0" />
<geometry>
<mesh filename="file://$(find kortex_description)/arms/gen3/${dof}dof/meshes/base_link.STL" />
<mesh filename="file://$(find kortex_description)/arms/gen3/${dof}dof/meshes/base_link.dae" />
</geometry>
</collision>
</link>
Expand All @@ -90,7 +94,7 @@
<visual>
<origin xyz="0 0 0" rpy="0 0 0" />
<geometry>
<mesh filename="file://$(find kortex_description)/arms/gen3/${dof}dof/meshes/shoulder_link.STL" />
<mesh filename="file://$(find kortex_description)/arms/gen3/${dof}dof/meshes/shoulder_link.dae" />
</geometry>
<material name="">
<color rgba="0.75294 0.75294 0.75294 1" />
Expand All @@ -99,7 +103,7 @@
<collision>
<origin xyz="0 0 0" rpy="0 0 0" />
<geometry>
<mesh filename="file://$(find kortex_description)/arms/gen3/${dof}dof/meshes/shoulder_link.STL" />
<mesh filename="file://$(find kortex_description)/arms/gen3/${dof}dof/meshes/shoulder_link.dae" />
</geometry>
</collision>
</link>
Expand Down Expand Up @@ -146,7 +150,7 @@
<visual>
<origin xyz="0 0 0" rpy="0 0 0" />
<geometry>
<mesh filename="file://$(find kortex_description)/arms/gen3/${dof}dof/meshes/half_arm_1_link.STL" />
<mesh filename="file://$(find kortex_description)/arms/gen3/${dof}dof/meshes/half_arm_1_link.dae" />
</geometry>
<material name="">
<color rgba="0.75294 0.75294 0.75294 1" />
Expand All @@ -155,7 +159,7 @@
<collision>
<origin xyz="0 0 0" rpy="0 0 0" />
<geometry>
<mesh filename="file://$(find kortex_description)/arms/gen3/${dof}dof/meshes/half_arm_1_link.STL" />
<mesh filename="file://$(find kortex_description)/arms/gen3/${dof}dof/meshes/half_arm_1_link.dae" />
</geometry>
</collision>
</link>
Expand All @@ -180,7 +184,7 @@
<visual>
<origin xyz="0 0 0" rpy="0 0 0" />
<geometry>
<mesh filename="file://$(find kortex_description)/arms/gen3/${dof}dof/meshes/half_arm_2_link.STL" />
<mesh filename="file://$(find kortex_description)/arms/gen3/${dof}dof/meshes/half_arm_2_link.dae" />
</geometry>
<material name="">
<color rgba="0.75294 0.75294 0.75294 1" />
Expand All @@ -189,7 +193,7 @@
<collision>
<origin xyz="0 0 0" rpy="0 0 0" />
<geometry>
<mesh filename="file://$(find kortex_description)/arms/gen3/${dof}dof/meshes/half_arm_2_link.STL" />
<mesh filename="file://$(find kortex_description)/arms/gen3/${dof}dof/meshes/half_arm_2_link.dae" />
</geometry>
</collision>
</link>
Expand Down Expand Up @@ -236,7 +240,7 @@
<visual>
<origin xyz="0 0 0" rpy="0 0 0" />
<geometry>
<mesh filename="file://$(find kortex_description)/arms/gen3/${dof}dof/meshes/forearm_link.STL" />
<mesh filename="file://$(find kortex_description)/arms/gen3/${dof}dof/meshes/forearm_link.dae" />
</geometry>
<material name="">
<color rgba="0.75294 0.75294 0.75294 1" />
Expand All @@ -245,7 +249,7 @@
<collision>
<origin xyz="0 0 0" rpy="0 0 0" />
<geometry>
<mesh filename="file://$(find kortex_description)/arms/gen3/${dof}dof/meshes/forearm_link.STL" />
<mesh filename="file://$(find kortex_description)/arms/gen3/${dof}dof/meshes/forearm_link.dae" />
</geometry>
</collision>
</link>
Expand All @@ -270,7 +274,7 @@
<visual>
<origin xyz="0 0 0" rpy="0 0 0" />
<geometry>
<mesh filename="file://$(find kortex_description)/arms/gen3/${dof}dof/meshes/spherical_wrist_1_link.STL" />
<mesh filename="file://$(find kortex_description)/arms/gen3/${dof}dof/meshes/spherical_wrist_1_link.dae" />
</geometry>
<material name="">
<color rgba="0.75294 0.75294 0.75294 1" />
Expand All @@ -279,7 +283,7 @@
<collision>
<origin xyz="0 0 0" rpy="0 0 0" />
<geometry>
<mesh filename="file://$(find kortex_description)/arms/gen3/${dof}dof/meshes/spherical_wrist_1_link.STL" />
<mesh filename="file://$(find kortex_description)/arms/gen3/${dof}dof/meshes/spherical_wrist_1_link.dae" />
</geometry>
</collision>
</link>
Expand Down Expand Up @@ -326,7 +330,7 @@
<visual>
<origin xyz="0 0 0" rpy="0 0 0" />
<geometry>
<mesh filename="file://$(find kortex_description)/arms/gen3/${dof}dof/meshes/spherical_wrist_2_link.STL" />
<mesh filename="file://$(find kortex_description)/arms/gen3/${dof}dof/meshes/spherical_wrist_2_link.dae" />
</geometry>
<material name="">
<color rgba="0.75294 0.75294 0.75294 1" />
Expand All @@ -335,7 +339,7 @@
<collision>
<origin xyz="0 0 0" rpy="0 0 0" />
<geometry>
<mesh filename="file://$(find kortex_description)/arms/gen3/${dof}dof/meshes/spherical_wrist_2_link.STL" />
<mesh filename="file://$(find kortex_description)/arms/gen3/${dof}dof/meshes/spherical_wrist_2_link.dae" />
</geometry>
</collision>
</link>
Expand All @@ -361,7 +365,7 @@
<visual>
<origin xyz="0 0 0" rpy="0 0 0" />
<geometry>
<mesh filename="file://$(find kortex_description)/arms/gen3/${dof}dof/meshes/bracelet_with_vision_link.STL" />
<mesh filename="file://$(find kortex_description)/arms/gen3/${dof}dof/meshes/bracelet_with_vision_link.dae" />
</geometry>
<material name="">
<color rgba="0.75294 0.75294 0.75294 1" />
Expand All @@ -385,7 +389,7 @@
<visual>
<origin xyz="0 0 0" rpy="0 0 0" />
<geometry>
<mesh filename="file://$(find kortex_description)/arms/gen3/${dof}dof/meshes/bracelet_no_vision_link.STL" />
<mesh filename="file://$(find kortex_description)/arms/gen3/${dof}dof/meshes/bracelet_no_vision_link.dae" />
</geometry>
<material name="">
<color rgba="0.75294 0.75294 0.75294 1" />
Expand All @@ -394,7 +398,7 @@
<collision>
<origin xyz="0 0 0" rpy="0 0 0" />
<geometry>
<mesh filename="file://$(find kortex_description)/arms/gen3/${dof}dof/meshes/bracelet_no_vision_link.STL" />
<mesh filename="file://$(find kortex_description)/arms/gen3/${dof}dof/meshes/bracelet_no_vision_link.dae" />
</geometry>
</collision>
</link>
Expand Down
Loading

0 comments on commit eac70d1

Please sign in to comment.