Ball Trajectory Estimation on Wheeled Goalkeeper Robot Based on Robot Operating System (ROS2) Using Stereo Vision

Sholahuddin Muhammad Irsyad, Dhika Arya Pratama, Muhammad Jardin Saputra, Muhammad Furqon, Agus Khumaidi, Ryan Yudha Adhitya

Abstract


Wheeled goalkeeper robots require a perception system capable of rapidly detecting and estimating the direction of ball movement under dynamic match conditions. This study aims to implement a ball trajectory estimation system using Stereo Vision within the Robot Operating System (ROS2) architecture. Camera images are processed using You Only Look Once (YOLOv5) to detect the ball and obtain its center coordinates on the image plane, while depth data is used to acquire the ball's distance relative to the camera. The ball position data is then processed using a Kalman Filter to generate state estimations consisting of position and position changes on the image plane. A Constant Velocity model is subsequently used to predict the next position and determine the directional trend of the ball's trajectory. The experimental results show that YOLOv5 is capable of detecting the ball across all test distance variations from 100 to 800 centimeters with a 100 percent success rate. Depth data acquisition yields an average error of 1.37 percent. The integration results of trajectory estimation and prediction demonstrate directional alignment in 9 out of 10 tests, achieving a 90 percent success rate. These results indicate that the integration of Stereo Vision, Kalman Filter, and the Constant Velocity model on ROS2 is capable of generating ball trajectory estimations and predictions to support the perception system of wheeled goalkeeper robots.

Keywords


Stereo Vision, ROS2, YOLOv5, Kalman Filter, Constant Velocity, Ball Trajectory Estimation

Full Text:

PDF

References


A. A. Wahyudi, A. Khumaidi, M. B. Rahmat, D. P. Riananda, M. Syai’in, dan J. Endrasmono, “Implementasi Robot Operating System (ROS) Untuk Meningkatkan Akurasi Deteksi Bola Menggunakan YOLO V5 Pada KRSBI-Beroda,” J. Elektron. dan Otomasi Ind., vol. 11, no. 2, hal. 648–661, Jul 2024, doi: 10.33795/elkolind.v11i2.5234.

A. R. Ramadhan, A. Khumaidi, M. K. Mayangsari, M. Syai’in, I. Sutrisno, dan A. R. Annisa, “Penerapan Harris Corner Detection dan YOLOv5 pada Kamera Stereo Vision untuk Estimasi Jarak Robot Sepak Bola Beroda KRSBI-B,” J. Elektron. dan Otomasi Ind., vol. 12, no. 1, hal. 111–122, 2025, doi: 10.33795/elkolind.v12i1.7254.

C. Saputra, “Implementasi Algoritma SIFT (Scale-Invariant Feature Transform) Dan Algoritma Kalman Filter Dalam Mendeteksi Objek Bola,” J. Process., vol. 18, no. 1, hal. 73–82, 2023, doi: 10.33998/processor.2023.18.1.791. doi.org/10.33998/processor.2023.18.1.791.

W. Darmawan, M. B. Rahmat, A. Khumaidi, R. Y. Adhitya, dan D. P. Riananda, “Perancangan Strategi Keputusan Robot Sepak Bola Beroda menggunakan Metode Decision Tree,” J. Elektron. dan Otomasi Ind., vol. 10, no. 2, hal. 175–182, Jul 2023, doi: 10.33795/elkolind.v10i2.3020.doi.org/10.33795/elkolind.v10i2.3020.

A. Bonci, F. Gaudeni, M. C. Giannini, dan S. Longhi, Robot Operating System 2 (ROS2)-Based Frameworks for Increasing Robot Autonomy: A Survey, vol. 13, no. 23. 2023. doi: 10.3390/app132312796. doi.org/10.3390/app132312796.

Setiawardhana, I. K. Wibowo, dan N. A. H. Bernardt, “Prediction of Ball Position Using CNN Methods With Zed Camera on Goalkeeper Robot Application,” IEEE Access, vol. 13, no. February, hal. 41559–41570, 2025, doi: 10.1109/ACCESS.2025.3546346.doi.org/10.1109/ACCESS.2025.3546346.

M. Nagy, N. Werghi, B. Hassan, J. Dias, dan M. Khonji, “Towards Accurate State Estimation: Kalman Filter Incorporating Motion Dynamics for 3D Multi-Object Tracking,” hal. 1–20, 2025, [Daring]. Tersedia pada: http://arxiv.org/abs/2505.07254 doi.org/10.2139/ssrn.6506777.

F. Romadloni, J. Endrasmono, Z. M. A. Putra, A. Khumaidi, I. Rachman, dan R. Y. Adhitya, “Identifikasi Warna Buoy Menggunakan Metode You Only Look Once Pada Unmanned Surface Vehicle,” J. Tek. Elektro dan Komput. TRIAC, vol. 10, no. 1, 2023, doi: 10.21107/triac.v10i1.19650. doi.org/10.21107/triac.v10i1.19650.

Y. Octavian, H. Widodo, dan K. A., “Optimasi Deteksi Bola Pada Robot Sepak Bola,” 2021.

H. Kusuma, D. A. Samhan, dan R. Dikairono, “Depth Image Assisted Aim for Scoring Goal in Wheeled Soccer Robot,” 2024. doi.org/10.12962/jaree.v8i2.268.

M. A. Yaqin et al., “Implementasi Path Planning A * Untuk Menghindari Robot lawan Mengunakan Robot Operating System pada KRSBI-Beroda,” vol. 12, 2025. doi.org/10.33795/elkolind.v12i1.7268.




DOI: https://doi.org/10.21107/triac.v13i2.35302

Refbacks

  • There are currently no refbacks.


Copyright (c) 2026 Jurnal Teknik Elektro dan Komputer TRIAC

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

Creative Commons License
Indexed by: