This code is used to compete at World Robot Summit 2023, Japan. On the customer interaction task, we try to handle the number of queue by using a robot as a cashier and use the robot to bring back the cancellation product to its shelf. 2 Camera were used to monitor the queue and the object that will be returned. This project uses ROS.
This repository is not standalone, it needs Seed Solution R7 ROS repository.
Copy the map.pgm and map.yaml inside maps folder in this repository to the seed_r7_navigation/maps/ folder. Change this path to your map.pgm file path.
image: /home/mobinuc/01/seed_ws/src/seed_r7_ros_pkg/seed_r7_navigation/maps/map.pgm
To use the object detection package by using a Azure Kinect Camere DK, Azure Kinect Camera SDK and pykinect_azure packages should be installed.
pip install pykinect_azure
and YoloV5. Change that line of code to your yolo and model path.
# Load Model
model = torch.hub.load('/home/mobinuc/01/seed_ws/src/WRS2023/wrs2023_object_detection/yolov5', 'custom', path='/home/mobinuc/01/seed_ws/src/WRS2023/wrs2023_object_detection/object.pt', source='local', force_reload=True) # local repo
This package requires YoloV8 that can be installed by
pip install ultralytics
To read the data of NFC card, pyscard should be installed.
pip install pyscard
cd /path/to/your/catkin/src/
git clone https://github.com/labiybafakh/WRS2023
Since the size of a bag file is large, please download it separately and locate the practice-2.bag inside bag folder.
catkin build
roslaunch wrs2023_navigation navigation.launch
rosrun wrs2023_object_detection object_detection.py
rosrun wrs2023_queue_monitor monitor.py
If u just want to run the visualization using a bag file, you don't need to do step 2, 3, and 4 on installing packages. The robot will start to move when the bag file runs about 60 seconds, so please wait.
roslaunch wrs2023_navigation navigation.launch
cd bag/
rosbag play practice-2.bag
- Dwi Kurnia Basuki
- Fernando Ardila
- Rama Okta Wiyagi
- Muhammad Labiyb Afakh
- Syadza Atika Rahmah
- Muhammad Ramadhan Hadi Setyawan