diff --git a/tool_share_SE3/eoa_wrist_dw3_tool_tablet_12in/README.md b/tool_share_SE3/eoa_wrist_dw3_tool_tablet_12in/README.md index 9620764..0fc27e3 100644 --- a/tool_share_SE3/eoa_wrist_dw3_tool_tablet_12in/README.md +++ b/tool_share_SE3/eoa_wrist_dw3_tool_tablet_12in/README.md @@ -12,9 +12,48 @@ params: Copy mesh and xacro data to ~/repos/stretch_urdf/stretch_urdf/ + +Make a new top level xacro under stretch_urdf, eg: + +stretch_description_SE3_eoa_wrist_dw3_tool_tablet_12in.xacro + + + + + + + + + + + + + + + + + Then run ~/repos/stretch_urdf/urdf_generate.py to create a new URDF that matches your tool Then copy the URDF and meshes to pkg = str(importlib_resources.files("stretch_urdf")) # .local/lib/python3.10/site-packages/stretch_urdf) -Then copy the URDF and meshes for ROS2... \ No newline at end of file +Then copy the URDF and meshes for ROS2... + + +Note: Need to copy mesh and urdf files to the PKG install place + 1298 cd ~/repos/stretch_tool_share/tool_share_SE3/eoa_wrist_dw3_tool_tablet_12in + 1300 cp meshes/*.STL ~/repos/stretch_urdf/stretch_urdf/SE3/meshes/ + 1301 cp xacro/stretch_tool_tablet_12in.xacro ~/repos/stretch_urdf/stretch_urdf/SE3/xacro/ + + cp stretch_urdf/SE3/*.urdf ~/.local/lib/python3.10/site-packages/stretch_urdf/SE3/ + 1319 ./stretch_urdf/tools/stretch_urdf_viz.py + 1320 cp stretch_urdf/SE3/meshes/*tablet* ~/.local/lib/python3.10/site-packages/stretch_urdf/SE3/meshes/ + 1321 ./stretch_urdf/tools/stretch_urdf_viz.py + 1322 ls + 1323 cd stretch_urdf/ + 1324 pip3 install -e . + 1329 pip3 list | grep stretch + +Verify that new tool shows up here + 1330 ./stretch_urdf/tools/stretch_urdf_viz.py diff --git a/tool_share_SE3/eoa_wrist_dw3_tool_tablet_12in/xacro/stretch_tool_tablet_12in.xacro b/tool_share_SE3/eoa_wrist_dw3_tool_tablet_12in/xacro/stretch_tool_tablet_12in.xacro index c4a29fd..18b2c23 100644 --- a/tool_share_SE3/eoa_wrist_dw3_tool_tablet_12in/xacro/stretch_tool_tablet_12in.xacro +++ b/tool_share_SE3/eoa_wrist_dw3_tool_tablet_12in/xacro/stretch_tool_tablet_12in.xacro @@ -1,49 +1,5 @@ - - - - - - - - - - - - - - - - - - - - - - - - - + + @@ -66,7 +22,7 @@ rpy="0 0 0" /> + filename="./meshes/link_DW3_tablet_12in.STL" /> @@ -80,7 +36,7 @@ rpy="0 0 0" /> + filename="./meshes/link_DW3_tablet_12in_collision.STL" />