Skip to content

Sumitb09/yolo-object-detect-ros2

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Object Detection in Ros 2

Requirements

  • ROS 2 Humble
  • Gazebo

Instructions

  • Clone the Code somewhere
  • Follow Below Instructions for Ros Packages and Paste the Code Respectively
  • Add Models in Gazebo's Folder

Setup and build

mkdir -p ~/yolobot/src

cd yolobot/src

ros2 pkg create yolobot_control

ros2 pkg create yolobot_description

ros2 pkg create yolobot_gazebo

ros2 pkg create yolobot_recognition

# Make sure ROS2 is sourced (assuming bash, please replace extension as needed)
source /opt/ros/humble/setup.bash

# Build
colcon build

# Make sure the app is sourced (assuming bash, please replace extension as needed)
source yolobot/install/setup.bash

Run examples

ros2 launch yolobot_gazebo yolobot_launch.py

# Open New Terminal
cd /yolobot/src/yolobot_recognition/scripts

python3 ros_recognition_yolo.py

File Structure

Screenshot from 2025-02-12 04-07-13

Screenshot from 2025-02-12 04-08-11

About

Object Detection in Ros 2 based on a custom BOT

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Python 97.1%
  • CMake 1.5%
  • Other 1.4%