Getting Started
Ready to control your own robotic gripper? Let's get started.
Get the code
First, clone the repository:
Create a symlink
Connect your motors, to the power and the USB to your computer - They'll show up as /dev/ttyACM0
or /dev/ttyUSB0
.
Find your gripper's serial ID using cyme (or lsusb
).
Configure the udev rule - Update scripts/99_gripper.rules
with your serial ID:
SUBSYSTEM=="tty", ATTRS{serial}=="FT9HDCKD", SYMLINK+="name_for_your_gripper", MODE="0666", ATTR{device/latency_timer}="1"
Warning
If you skip this step, you will have to manually set the mode of the gripper every time you power it off with:
Also, it might be that the device name varies every time you plug it in. We highly recommend not skipping this step.Build a start the container
docker compose build
NAMESPACE=your_namespace DEVICE=/dev/name_for_your_gripper docker compose up launch_aloha
Using a different RMW
Multi-machine setup? For distributed systems using crisp_py, we recommend CycloneDDS or Zenoh middleware for better performance!
Calibrate and Test the gripper with CRISP
Now the gripper is ready to control! You can get the topic joint values as well as command topics to communicate with the gripper. If you use crisp_py or crisp_gym you can use your gripper to it.
First run a calibration:
The script will guide you in the calibration procedure:
After running a succesful calibration, you can instantiate a gripper object to control it:
Enjoy the gripper!