Skip to content

About

Integration of ultralytics yolov8 and newer versions with webots ros2 humble.

Resources

Stars

3 stars

Watchers

1 watching

Forks

Latest commit

 

History

5 Commits

Folders and files

Repository files navigation

webots_yolo_ros2

Integration of ultralytics yolov8 and newer versions with webots ros2 humble.

Made using Webots Version R2023b and ROS2 Humble.

Tested on Ubuntu 22.04.

Please launch the webots_ros2_tiago file:

ros2 launch webots_ros2_tiago robot_launch.py

And then use the robot_detection package:

ros2 launch robot_detection yolov8_launch.py

The YOLO message will be published on the topics:

  1. InferenceResult
  2. Yolov8Inference

To see the YOLO image, use rivz2 and add the Image dock and use the /InferenceResult topic.

Make sure to intall webots_ros2 first using distributed package

sudo apt-get install ros-humble-webots-ros2

Using Tiago robot from webot_ws for this repo. Please install ultralytics and dependencies.

pip install ultralytics

if error regarding numpy version being above 1.X, please downgrade it using

pip install numpy==1.26.4

or

pip install "numpy<2.0" 

About

Integration of ultralytics yolov8 and newer versions with webots ros2 humble.

Resources

Stars

3 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages