To view the original Readme.md click here
This package is a restructuring of OmronAPAC/Omron_AMR_ROS2 along with integration of libaria following KalanaRatnayake/ros_omron_agv
| Branch | ROS2 Version | Compile |
|---|---|---|
| main | Jazzy | |
| develop | Jazzy | |
| humble | Humble |
Create a workspace
mkdir -p omron_ws/src
cd omron_ws/srcInstall dependencies
sudo apt install ros-jazzy-navigation2 ros-jazzy-nav2-bringup ros-jazzy-slam-toolbox ros-jazzy-teleop-twist-joy ros-jazzy-joyClone the repositories into the src folder by
git clone --recurse-submodules https://github.com/CollaborativeRoboticsLab/omron_amr.gitBuild by
cd ..
colcon buildsource install/setup.bash
ros2 launch amr_ros amr_core.launch.pysource install/setup.bash
ros2 launch amr_ros ld250.launch.py use_nav2:=false use_rviz:=falseRViz starts by default; pass use_rviz:=false to disable it.
The SLAM launch publishes a map with a 1 m unknown border on map; the unmodified SLAM grid is available on slam_map_raw. The default Nav2 planner does not plan through unknown space in SLAM mode. Padding does not add obstacle observations, and does not establish that navigation is safe. Custom SLAM parameters must use the default /map topic for this padding pipeline.
Both costmaps use /scan by default. For a namespaced robot, configure both costmap observation-source topics to its actual laser scan topic. Verify live obstacles and inflation in both costmaps before navigation.
source install/setup.bash
ros2 launch amr_ros ld250.launch.pysource install/setup.bash
ros2 launch amr_ros ld250.launch.py use_nav2:=true use_localization:=true map:=my_map.yamlNavigation and velocity commands do not initiate undocking. With the hardware interface running, undocking is a separate nav2_msgs/action/UndockRobot action. It requires verified contact docking, exclusive control, fresh docking feedback, and stationary telemetry. driver.undocking.contact_dock_confirmed is read at startup; driver.undocking.exclusive_control_confirmed also defaults to false. Set these confirmations only after verifying the corresponding conditions.
When parking manually, ensure the robot is properly positioned and its display shows the charging state. The dock's yellow charging light alone does not confirm that the robot has registered the charging state.
For an explicitly authorized, supervised departure, send one goal:
source install/setup.bash
ros2 action send_goal /undock_robot nav2_msgs/action/UndockRobot "{dock_type: 'omron', max_undocking_time: 30.0}" --feedbackProceed with navigation only after successful action completion and independent confirmation that the robot has stopped and is undocked. Do not retry a failed or uncertain departure automatically; investigate and verify the physical state first. The previously observed stale-feedback failure remains unresolved.
If a goal is rejected, the driver logs the reason in the launch terminal; the action client reports only that the goal was rejected.
source install/setup.bash
ros2 launch amr_ros ld90.launch.pysource install/setup.bash
ros2 launch amr_ros ld90.launch.py use_nav2:=true use_slam:=truesource install/setup.bash
ros2 launch amr_nav2 nav2_rviz.launch.pysource install/setup.bash
ros2 launch amr_ros ld90.launch.py use_nav2:=true use_localization:=true map:=my_map.yamlsource install/setup.bash
ros2 launch amr_nav2 nav2_rviz.launch.pysource install/setup.bash
ros2 launch amr_teleop amr_joyop.launch.pyor
ros2 run teleop_twist_keyboard teleop_twist_keyboard