An easy to use template for adding object detection to your robot IRL and in sim!
- In the src folder of your workspace run
git clone https://github.com/Victor-Boyd/ros2-yolov8-template
- next run
colcon build --packages-select yolov8_template_msgs template_recognition
- next run in order in your home directory (you can skip anything you already have installed)
sudo apt install python3-pip
,sudo apt install python3-colcon-common-extensions
,pip3 install ultralytics
,sudo apt install gazebo 11
,ros-<distro>-gazebo-ros
. - Now you can go through any of the files and see the many coments to help you understand whats going on and change paths to your workspace