This is a repo for the Zeroerr 6DOF Robotic Manipulator
docker engine setup
sudo xhost+
echo $DISPLAYConfigure the production repository:
curl -fsSL https://nvidia.github.io/libnvidia-container/gpgkey | sudo gpg --dearmor -o /usr/share/keyrings/nvidia-container-toolkit-keyring.gpg \
&& curl -s -L https://nvidia.github.io/libnvidia-container/stable/deb/nvidia-container-toolkit.list | \
sed 's#deb https://#deb [signed-by=/usr/share/keyrings/nvidia-container-toolkit-keyring.gpg] https://#g' | \
sudo tee /etc/apt/sources.list.d/nvidia-container-toolkit.listUpdate the packages list from the repository:
sudo apt-get updateInstall the NVIDIA Container Toolkit packages:
sudo apt-get install -y nvidia-container-toolkitConfigure the container runtime by using the nvidia-ctk command:
sudo nvidia-ctk runtime configure --runtime=dockerRestart the Docker daemon:
sudo systemctl restart dockerTo build docker image:
sudo docker compose -f compose.ubuntu.yaml buildTo run docker image:
xhost +
sudo docker compose -f compose.ubuntu.yaml up -d
sudo docker compose -f compose.ubuntu.yaml exec monkey-zeroerr bashto run the arm, follow the command below:
ros2 launch zeroerr_moveit_config demo.launch.pyrun the command line in terminal (PC) not in docker enviroment
sudo ip link set can0 up type can bitrate 1000000
sudo ip link set can0 txqueuelen 1000
sudo ip link set up can0
candump can0 There is a total of 2 Hardware interfaces to choose from:
- Dummy Hardware Interface ✨
- Actual Hardware Interface ✨
to Adjust Hardware Interface Selection, head down to the address: zeroerr-arm/zeroerr_moveit_config//config/zeroerr_robot.ros2_control.xacro then select between line: 9 / 10
ensure to run zeroerr_control_python zeroerr_interface first, then only run the next line, this ensures that the robot arm doesnt return to homepoint
ros2 run zeroerr_control_python zeroerr_interface
ros2 launch zeroerr_moveit_config demo.launch.pyros2 launch zed_wrapper zed_camera.launch.py camera_model:=zed2i publish_tf:=false publish_urdf:=false
ros2 run ffb_detection ffb_detection
ros2 topic echo /ffb_coordinates