OnRobot ROS2 packages
- ROS Humble Hawksbill node examples for OnRobot screw driver.
- Ubuntu 22.04 PC
- Docker 26.1.1
- Docker Compose 2.27.0
git clone [email protected]:takuya-ki/onrobot_ros2.git --recursive --depth 1 && cd onrobot_ros2 && COMPOSE_DOCKER_CLI_BUILD=1 DOCKER_BUILDKIT=1 docker compose build --no-cache --parallel
- Connect the cable between Compute Box and Tool Changer
- Connect an ethernet cable between Compute Box and your computer
- Build and run the docker environment
- Create and start docker containers in the initially opened terminal
docker compose up
- Execute the container in another terminal
xhost + && docker exec -it onrobot_humble_container bash
- Create and start docker containers in the initially opened terminal
- Build program files with the revised yaml
cd /ros2_ws && colcon build --symlink-install --parallel-workers 1 && source install/setup.bash
- Run a planning process in the container
- Use byobu to easily command several commands
byobu
- First command & F2 to create a new window & Second command ...
- Ctrl + F6 to close the selected window
- Use byobu to easily command several commands
ros2 launch onrobot_sd_description display.launch.py
ros2 launch onrobot_sd_tutorials server.launch.py
ros2 service call /onrobot_sd/move_shank onrobot_interfaces/srv/SetCommand "{command: '0.2'}"
ros2 service call /onrobot_sd/move_shank onrobot_interfaces/srv/SetCommand "{command: '0.5'}"
We always welcome collaborators!