mats-robotics / yolov5_ros

A complete ROS interface for running YOLOv5 inference
GNU General Public License v3.0
220 stars 64 forks source link

Unable to echo /yolov5/detections #4

Closed Matthijs20 closed 1 year ago

Matthijs20 commented 2 years ago

I am trying to publish the bounding boxes using the command: "rostopic echo /yolov5/detections" but i get the following error: Cannot load message class for [detection_msgs/boudingboxes]. are your messages built? How can i fix this error?

nhatleminh1997 commented 2 years ago

Have you tried to follow the instruction which includes cloning and building the detection_msgs package?

Matthijs20 commented 2 years ago

Yes i have followed all the instructions from the readme file. I can see the output image in rviz but there seems to be something wrong in my boudingboxes messages.

astavitskiy commented 2 years ago

May be you have to send source command with path to your setup.bash file? If you in workspace directory, it will be source devel/setup.bash

nhatleminh1997 commented 2 years ago

Yes i have followed all the instructions from the readme file. I can see the output image in rviz but there seems to be something wrong in my boudingboxes messages.

Please give more details of the error.

nhatleminh1997 commented 1 year ago

Issue not reproducible.