Skip to content

Latest commit

 

History

History
35 lines (31 loc) · 950 Bytes

README.md

File metadata and controls

35 lines (31 loc) · 950 Bytes

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