|
|
@ -0,0 +1,77 @@ |
|
|
|
# Dex to Standard Wrist |
|
|
|
This tutorial will guide you through the process of replacing a gripper with Dex Wrist for one with a Standard Wrist. |
|
|
|
|
|
|
|
Power down your Stretch before proceeding. |
|
|
|
|
|
|
|
## Tools required |
|
|
|
* 8 [M2x6mm Torx FHCS bolts](https://www.mcmaster.com/90236A104/) (provided) |
|
|
|
* 4 [M2.5x4mm Torx FHCS bolts](https://www.mcmaster.com/92703A448/) (provided) |
|
|
|
* 2 [M2.5x8mm SHCS bolts](https://www.mcmaster.com/91290A102/) (provided) |
|
|
|
* T6 Torx wrench (provided) |
|
|
|
* T8 Torx wrench (provided) |
|
|
|
* 2mm Hex key (provided) |
|
|
|
|
|
|
|
## Removing Dex Wrist Gripper |
|
|
|
Here we describe removing the Compliant gripper. |
|
|
|
|
|
|
|
Inspect the parts and ensure that you have everthing you need for the procedure. |
|
|
|
![Dex Wrist](https://raw.githubusercontent.com/hello-robot/stretch_hardware_guides/master/docs/images/dex_wrist_cable_detail.png) |
|
|
|
|
|
|
|
First, remove the cable clip by removing the M2.5x8mm bolts and unroute the Dynamixel cable out of the wrist pitch servo (pink). |
|
|
|
![Remove the cable](https://raw.githubusercontent.com/hello-robot/stretch_hardware_guides/master/docs/images/dex_wrist_cable_route_rs.png) |
|
|
|
|
|
|
|
Next, rotate the wrist yaw joint so the wrist pitch servo body is accessible. Detach the pitch servo from the mounting bracket using the 4 M2.5x4mm screws (C) using the T8 Torx wrench. |
|
|
|
![Remove screws](https://raw.githubusercontent.com/hello-robot/stretch_hardware_guides/master/docs/images/dex_wrist_pitch_bracket_attach_rs.png) |
|
|
|
|
|
|
|
Slide the wrist module out horizontally so that the bearing unmates from its post. |
|
|
|
![Remove mating](https://raw.githubusercontent.com/hello-robot/stretch_hardware_guides/master/docs/images/dex_wrist_roll_install2_rs.png) |
|
|
|
|
|
|
|
Then, lower the wrist module vertically away from the mounting bracket. |
|
|
|
![Remove from mounting bracket](https://raw.githubusercontent.com/hello-robot/stretch_hardware_guides/master/docs/images/dex_wrist_roll_install_rs.png) |
|
|
|
|
|
|
|
Lastly, detach the wrist mount bracket (A) from the bottom of the tool plate by removing the M2x6mm bolts (B) using a T6 Torx wrench. |
|
|
|
![Remove tool plate](https://raw.githubusercontent.com/hello-robot/stretch_hardware_guides/master/docs/images/dex_wrist_bracket_install_rs.png) |
|
|
|
|
|
|
|
## Attaching Standard Wrist Gripper |
|
|
|
Here we describe attaching the Standard gripper. |
|
|
|
|
|
|
|
First, note where the forward direction is on the wrist yaw tool plate. This is indicated by the additional alignment hole that is just outside the bolt pattern (shown pointing down in the image). |
|
|
|
![Alignment hole](https://raw.githubusercontent.com/hello-robot/stretch_hardware_guides/master/docs/images/dex_wrist_C_rs.png) |
|
|
|
|
|
|
|
Then, route the Dynamixel cable through the center of the standard gripper mounting bracket and install the bracket with the 8 screws and T6 Torx wrench. Make sure the forward marking on the bracket matches the forward marking on the wrist yaw. |
|
|
|
![image alt text](https://raw.githubusercontent.com/hello-robot/stretch_hardware_guides/master/docs/images/re2/gripper_mount_a_rs.png) |
|
|
|
|
|
|
|
Affix the 4 screws, with the shorter two going to the servo side, to hold the gripper to the bracket. Lastly, route the dynamixel cable through the back of the gripper and plug it securely into the servo. |
|
|
|
![image alt text](https://raw.githubusercontent.com/hello-robot/stretch_hardware_guides/master/docs/images/re2/gripper_mount_b_rs.png) |
|
|
|
|
|
|
|
## Software Instructions |
|
|
|
Once the hardware has been replaced, it's time to make the software changes for Stretch to recognize the Standart Wrist gripper. Turn on the robot and follow the instructions below. |
|
|
|
|
|
|
|
To revert the changes in stretch_configuration_params.yaml, download the [dex_to_standard_configure_params.py script]() and execute it in a terminal as below: ```bash |
|
|
|
python3 dex_to_standard_configure_params.py |
|
|
|
``` |
|
|
|
|
|
|
|
Next, to ensure the correct gripper is recognized by ROS, we need to update the URDF. For this, first open the stretch_description.xacro file like below. |
|
|
|
```bash |
|
|
|
cd ~/catkin_ws/src/stretch_ros/stretch_description |
|
|
|
gedit stretch_description.xacro |
|
|
|
``` |
|
|
|
|
|
|
|
Then, replace the contents of the file with the default [stretch_description.xacro](https://github.com/hello-robot/stretch_ros/blob/master/stretch_description/urdf/stretch_description.xacro). |
|
|
|
|
|
|
|
Lastly, to generate the updated URDF, execute the following commands in a terminal. |
|
|
|
```bash |
|
|
|
rosrun stretch_calibration update_urdf_after_xacro_change.sh |
|
|
|
cd ~/catkin_ws/src/stretch_ros/stretch_description/urdf |
|
|
|
./export_urdf.sh |
|
|
|
``` |
|
|
|
|
|
|
|
You can ensure that the gripper is functional by homing the Dynamixel servos as below: |
|
|
|
```bash |
|
|
|
stretch_gripper_home.py |
|
|
|
``` |
|
|
|
```bash |
|
|
|
stretch_wrist_yaw_home.py |
|
|
|
``` |
|
|
|
|
|
|
|
If you encounter any issues, please contact us at support@hello-robot.com |