ROS 2 Jazzy / Gazebo Harmonic starting point for the LD90 and LD250. The current launch is a static geometry preview, not a driveable or sensor-equipped robot. It does not start the real AMR driver or connect to a robot.
Install the ROS dependencies with rosdep, then build this package and the existing
amr_description package in the same workspace:
cd ~/colcon_ws
source /opt/ros/jazzy/setup.bash
rosdep install --from-paths src --ignore-src -r -y
colcon build --packages-up-to omron_amr_simulation
source install/setup.bash
ros2 launch omron_amr_simulation simulation.launch.py model:=ld250Use model:=ld90 for the LD90, and gui:=false for a headless server. The
launch starts a simple empty world, publishes the robot description and /tf,
and bridges Gazebo /clock to ROS. It sets the model static; no /cmd_vel,
odometry, laser scans, Nav2, or hardware status is simulated. Run one preview per
Gazebo world. Stop it with Ctrl+C.
The physics backend defaults to physics_engine:=dart; physics_engine:=bullet
selects Bullet Featherstone for experiments. Mobile drive behavior under Bullet
is not validated.
For a warehouse environment, use:
source install/setup.bash
ros2 launch omron_amr_simulation simulation.launch.py model:=ld250 world:=warehouseThe local warehouse layout is approximately 28 by 21 meters and adapts assets
from Open Robotics' industrial-warehouse world,
available on Gazebo Fuel under CC BY 4.0. Gazebo downloads and caches the Fuel
models on first use, which requires network access and can take time.
The default world remains empty. Set x, y, z (meters) and yaw (radians)
to choose a spawn pose; all default to zero.
The warehouse also has three open racks near (-2.7, 0) with 20 dynamic
120 mm boxes: four each in blue, red, green, black, and brown. Each weighs
0.35 kg and is an independent collision object. The existing Fuel shelf
contents remain part of their static shelf meshes.
Box positions are fixed by default. Set randomize_boxes:=true to distribute
them randomly across the racks at startup. Add box_seed:=42 (or another seed)
to reproduce a randomized layout; the seed has no effect when randomization is
disabled.
For a simple grasp-testing environment, launch the separate world:
ros2 launch omron_amr_simulation simulation.launch.py model:=ld250 world:=grasp_testThe grasp-test world includes five worktables at x=1.3, with y positions
from -4 to 4 meters in 2 meter steps. Each table holds five dynamic objects:
a cube, cylinder, sphere, rectangular block, and bottle. They have collision
geometry and respond to gravity and contact; they are not attached to the
tables. Their dimensions and masses are example values, not verified gripper
specifications.
Object positions are fixed by default. Use randomize_objects:=true to shuffle
the five objects on each table at startup, and optionally object_seed:=42 to
reproduce the layout. The seed has no effect when randomization is disabled.
The reusable models are in omron_amr_simulation/models. Add more instances
to a world SDF using the model://manipulation_* models, unique names, and
desired poses. The preview
adds that model directory to Gazebo's resource path. The default empty world
contains no objects; the grasp-test tables and their objects are separate
from the warehouse rack.
The robot remains static in the default preview. Grasping requires robot and gripper dynamics, controllers, and validated contact behavior; vacuum gripping also needs a suction simulation mechanism.
ros2 launch omron_amr_simulation simulation.launch.py model:=ld250 drive:=trueThis opt-in mode accepts geometry_msgs/msg/Twist on cmd_vel, publishes
nav_msgs/msg/Odometry on odom and the odom -> base_link transform, and
accepts std_msgs/msg/Empty on stop. Commands are limited to -0.2 to 1.0 m/s
and +/-60 degrees/s. The adapter sends zero velocity when commands are older
than 0.2 seconds. It must remain running: Gazebo's drive plugin does not itself
provide the adapter's watchdog if that process crashes. Never use this simulated
watchdog as a safety system for hardware.
The wheel positions, wheel radius, chassis collision shape, and support contacts
are approximations, not measured LD250 parameters. Odometry is wheel-based and
can differ from the actual pose due to slip. Only LD250 is supported in this
mode. Hardware status and faults are not simulated. Run only one robot per world and do not start a real driver or
another publisher of odom -> base_link alongside the simulation.
ros2 launch omron_amr_simulation nav2.launch.py gui:=falseThis starts the LD250 with drive and lidar, SLAM Toolbox, and the existing
amr_nav2 navigation stack using simulated time. The default world is
warehouse; its Fuel assets may need to be downloaded on first use. Set
world, x, y, yaw, or params_file to customize the launch. To use an
already-running compatible simulator, pass start_sim:=false; do not launch
two robot or clock publishers in the same ROS domain. This entry point uses
SLAM and does not provide map-server/AMCL localization.
The simulated scans pass through a body-frame box filter to remove returns inside the approximate LD250 chassis. Two short warehouse navigation goals, including a turn, succeeded in testing. Close external obstacles, costmaps and longer routes still need validation and tuning; the empty world has few features for SLAM. Do not rely on this setup for obstacle avoidance or hardware safety.
- The existing
amr_descriptionXacros provide the chassis geometry and, for LD250, laser frames. They contain no driven wheel joints or sensors. Their 4.07 kg body masses and inertias need validation; LD90's visual and collision specifications. - Replace the experimental drive geometry, masses, inertias and contact parameters with measured values and validate the lidar and Nav2 configuration.
amr_coreinterfaces use libaria to connect to the Omron robot server and request hardware data; Gazebo does not implement that network protocol. They cannot directly drive this Gazebo world. A simulated ROS-facing adapter can preserve their topic contracts, or a separately implemented protocol emulator status, fault, docking, and other hardware services.- Do not launch the existing hardware bringup against a reachable robot for a
simulation test. The preview intentionally avoids
amr_coreentirely.
The package maintainer and license fields are placeholders to be decided before publishing the repository.