로봇 기반 수동 휠체어 전동화 시스템의 자율주행 요소를 구현하기 위해 Raspberry Pi 4B 내부에서 YOLOv8 객체 탐지를 실행할 수 있게 작성한 ROS2 패키지. 실시간 객체 탐지 및 바운딩박스 크기 판별을 위한 YOLOv8의 구성, 의존성 및 코드가 포함되어 있다.
- Raspberry Pi 4B
- ROS2 (Humble or later)
- YOLOv8 model file (e.g., yolov8n.pt)
- Python 3.12
- ROS2 dependencies for YOLOv8
- Clone the repository:
cd ~/ros2_ws/src git clone https://github.com/dbwls99706/yolov8_on_raspberrypi4.git
- Install ROS2 dependencies:
rosdep install --from-paths src --ignore-src -r -y
- Build the package:
colcon build
- Launch the YOLOv8 node:
ros2 launch yolov8_ros detect_camera_node