Skip to content

ROS 2 object detection and tracking with Ultralytics AI framework

License

Notifications You must be signed in to change notification settings

hcdiekmann/ultralytics_ros2

Repository files navigation

ROS 2 object detection

ROS 2 object detection and tracking using Ultralytics AI vision framework.

Install

  • Clone this repository into your ROS 2 workspace src directory

cd ~/ros2_ws/src 
git clone https://github.com/hcdiekmann/ultralytics_ros2.git
  • Install python dependencies

pip3 install -r ultralytics_ros2/requirements.txt
  • Install ROS dependencies

cd ~/ros2_ws
rosdep init
rosdep update
  • Build the package and source the underlay installation

colcon build
. install/setup.bash

Run

  • Launch the YOLOv8 node

ros2 launch ultralytics_ros2 yolov8.launch.py

Example

YOLOv8 node running together with pathfinder package Gazebo simulation

YOLOv8 Gazebo example

About

ROS 2 object detection and tracking with Ultralytics AI framework

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published