Official repo link: https://github.com/HEART-MET
- Ubuntu 20.04 LTS
- ROS Noetic
- Python 3
git clone https://github.com/kvnptl/metrics_refbox.git
git clone https://github.com/kvnptl/metrics_refbox_client.git
git clone https://github.com/kvnptl/rosbag_recorder.git
git clone https://github.com/HEART-MET/metrics_refbox_msgs.git
sudo apt install ros-noetic-rospy-message-converter
pip3 install sympy
-
Run object detection code (and metrics refbox client node):
roslaunch object_detection object_detection_benchmark.launch
-
Publish images from rosbag file (-l means publish continuosly):
rosbag play -l /home/kvnptl/work/heart_met_competition/bagfiles-001/bagfiles/b-it-bots_2020_11_24_10-17-01.bag
-
Launch Refbox node:
roslaunch metrics_refbox metrics_refbox.launch
-
Select target object from referee box GUI(checkmark configuration button) and press "Start" to send command to ros node
View the rosbag image by running:
rosrun image_view image_view image:=/hsrb/head_rgbd_sensor/rgb/image_raw
- Distance between table edge and robot central axis is ~90cm.
- Camera position - ~142cm
- Table height ~112cm
python train.py --img 640 --cfg yolov5s.yaml --hyp hyp.scratch-low.yaml --batch 32 --epochs 150 --data heartmet.yaml --weights yolov5s.pt --workers 24 --name yolo_HeartMet_day2