Original packages are from OmronAPAC
This repository allows controlling a Omron MoMa (Omron Mobile Manipulator) using packages that bridges,
- Omron_AMR_ROS2 package
- Omron_TM_ROS2 package
- tmr_ros2 package
For supported features and limitations, see the individual repositories on the features supported by the MoMa.
Create a workspace
mkdir -p omron_ws/src
cd omron_ws/src
Install dependencies
sudo apt install ros-humble-moveit ros-humble-controller-manager ros-humble-joint-trajectory-controller ros-humble-joint-state-broadcaster ros-humble-rmw-cyclonedds-cpp ros-humble-joint-state-publisher ros-humble-joint-state-publisher-gui ros-humble-vision-opencv
Clone the repositories into the src
folder by
git clone https://github.com/CollaborativeRoboticsLab/Omron_MoMa_ROS2.git
git clone https://github.com/CollaborativeRoboticsLab/Omron_AMR_ROS2.git
git clone https://github.com/CollaborativeRoboticsLab/Omron_TM_ROS2.git
git clone https://github.com/CollaborativeRoboticsLab/Omron_TM_CORE_ROS2.git -b humble
finally buildby
cd ..
colcon build
Clone this reposiotory
git clone https://github.com/CollaborativeRoboticsLab/Omron_MoMa_ROS2.git
cd Omron_MoMa_ROS2/docker
Pull the Docker image and start compose (No need to run docker compose build
)
docker compose pull
docker compose up
To clean the system,
docker compose down
-
Start TM Driver
source install/setup.bash
ros2 run tm_driver tm_driver robot_ip:=<robot_ip_address>
TM driver node is included in the tm12x_run_move_group.launch.py file.
source install/setup.bash
ros2 launch tm12x_moveit_config tm12x_run_move_group.launch.py robot_ip:=<robot_ip_address>
TM driver node is included in the tm12x_run_move_group.launch.py file.
source install/setup.bash
ros2 launch tm12x_moveit_config tm12x_run_move_group.launch.py
-
Start TM Driver by uncommenting the following line under
command
on the docker compose.yaml file and then runningdocker compose up
command:
- ros2 run tm_driver tm_driver robot_ip:=<robot_ip_address>
-
TM driver node is included in the tm12x_run_move_group.launch.py file. To start the headless moveit server, uncomment the following line on the companion computer
command: - ros2 launch tm12x_moveit_config tm12x_run_move_group_headless.launch.py robot_ip:=<robot_ip_address>
and run
docker compose up
-
On the remote computer run the following command,
source install/setup.bash ros2 launch tm12x_moveit_config tm12x_run_move_group_visualize.launch.py