Implementation of simulation and architecture of a wheeled autonomous robot using ROS 2 and Gazebo

Tigor Hamonangan Nasution, Lucky Sam Pratama Telaumbanua, Stephany Stephany, Fahmi Fahmi

Abstract


This study presents the simulation and physical implementation of a modular obstacle-avoidance architecture for a wheeled robot using Robot Operating System 2 (ROS 2) and Gazebo. The robot uses three HC-SR04 ultrasonic sensors positioned at the front, left, and right, a Raspberry Pi 4B, an L298N motor driver, and two DC motors. The software is organized into separate perception, decision, and actuation nodes that communicate through ROS 2 topics. A rule-based controller determines forward, turning, and recovery maneuvers from the three directional distance inputs. Functional validation was conducted in four representative static-obstacle configurations involving front, left, right, and simultaneously blocked directions. In each configuration, the robot response matched the predefined control rule. The physical experiments also revealed limitations that were not fully represented in simulation, particularly ultrasonic blind spots, measurement fluctuations, and unstable direction changes in dead-end conditions. The study demonstrates a reproducible low-cost architecture for testing ROS 2-based wheeled robot navigation while identifying the technical requirements for future quantitative, map-based, and dynamic-environment evaluation.

Keywords


Gazebo; Modular architecture; Obstacle avoidance; ROS 2; Ultrasonic sensor; Wheeled robot

Full Text:

PDF


DOI: http://doi.org/10.11591/ijra.v15i4.pp820-831

Refbacks

  • There are currently no refbacks.


Copyright (c) 2026 Tigor Hamonangan Nasution, Lucky Sam Pratama Telaumbanua, Stephany, Fahmi Fahmi

Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.

IAES International Journal of Robotics and Automation (IJRA)
ISSN 2089-4856, e-ISSN 2722-2586

This journal is published by the Institute of Advanced Engineering and Science (IAES) in collaboration with Intelektual Pustaka Media Utama (IPMU).

Web Analytics Made Easy - Statcounter IJRA Visitor Statistics