Skip to main content

Software Integration

Inspect the development environment​

Use a compatible ROS 2 Humble development machine or simulation environment. With the appropriate workspace sourced and a permitted ROS graph available, these read-only commands can help inspect interfaces:

ros2 node list
ros2 topic list
ros2 service list
ros2 action list

Inspect message types and QoS before implementing a subscriber. For example, ros2 topic info /scan_filtered identifies the scan interface when present.

Test new nodes in simulation before connecting to a real robot. Do not publish motion commands or modify controller parameters without an approved procedure.

See ROS Packages and APIs & Interfaces.

Visualize the robot description in RViz2​

Use a separate development computer with a compatible, built and sourced workspace and a graphical desktop. The source archive includes a model-only launch file that starts robot_state_publisher, a joint-state GUI and RViz2. It does not launch the hardware controller.

ros2 launch amrj16_description urdf_amrj16v2_visualize.launch.py

Inspect the model and TF display. The launch file references amrj16v2.xacro and the package RViz configuration. This command is derived from the development source; it has not been executed as part of this documentation review.

Inspect the simulation launch files​

The development workspace includes amrj16_gazebo/launch/start_world_v2.launch.py and spawn_amrj16_description.launch.py. The former starts Gazebo and ROS bridges, with amrj16_empty_world.world as its default world. The latter requires a robot description on /robot_description to spawn the model. These are components of the simulation workflow, not a validated end-to-end startup sequence.

In an isolated simulation environment, inspect launch arguments without starting the simulator:

ros2 launch amrj16_gazebo start_world_v2.launch.py --show-args

The complete simulation setup and dependency installation must be validated before publication.

Read-only telemetry checks​

With a permitted ROS graph and the relevant publishers active, inspect battery data and frame transforms:

ros2 topic echo /battery/load --once
ros2 topic echo /battery/capacity --once
ros2 topic hz /scan_filtered
ros2 run tf2_ros tf2_echo base_footprint base_link

Stop continuous inspection commands with Ctrl+C. Missing messages may indicate an inactive publisher, a namespace difference or incompatible QoS; they are not by themselves proof of a hardware fault. Never use these checks as a substitute for safety validation.

RViz2 sensor visualization exercise​

Start with the model-only launch described above, on an isolated development computer. In RViz2, inspect the RobotModel and TF displays. For live sensor visualization, connect only to an authorized graph and select a fixed frame available in that graph (for example base_link for robot-relative visualization). Do not run a second robot-state publisher against the live graph.

DisplayCandidate topic or frame
TFbase_link, base_footprint
LaserScan/scan_filtered
PointCloud2/camera/nav_camera/points
Map/map, if mapping or localization is active

Use Add → By topic to select a published interface. Check the actual type and publisher QoS before configuring a display:

ros2 topic info /scan_filtered --verbose
ros2 topic info /camera/nav_camera/points --verbose

Expected observation: data appears in a compatible fixed frame without persistent transform errors. If absent, inspect topic availability, frame connectivity and QoS. This is a visualization exercise, not a sensor calibration or safety test.

Reference: Clearpath ROS 2 Humble — Visualizing with RViz2.

Simulation and navigation configuration inspection​

On a separate development computer, isolated from the physical robot's ROS graph, inspect the installed launch arguments:

ros2 launch amrj16_gazebo start_world_v2.launch.py --show-args
ros2 launch amrj16_bringup amrj16_nav_and_slam.launch.py --show-args

The source defines world_file for the Gazebo launch, and use_sim_time, autostart, nav_params_file and slam_params_file for the navigation and SLAM launch. The latter defaults to real time (use_sim_time=false), so it must not be assumed to be a simulation-only launch. The simulator, robot spawning, simulated controllers and navigation must be configured as a coherent isolated system before running a motion exercise. No complete launch sequence has been validated for this release.

Reference approach: Clearpath ROS 2 Humble — Simulate.