yolact_ros icon indicating copy to clipboard operation
yolact_ros copied to clipboard

Only show some code 'Done.Subscribed to /camera/color/raw_image' without more information

Open Jue-Jue-511 opened this issue 3 years ago • 4 comments

hi,i am new to ROS.After running ur code .why just show the following code'Done.Subscribed to /camera/color/raw_image' without more information?,i am sure i have subscribed to the topic camera/color/image_raw and changed some codeto show the raw image so how to get the message of boundingbox and mask?

Jue-Jue-511 avatar May 19 '21 02:05 Jue-Jue-511

As long as the "publish_detections" parameter is set to true (which it is by default), the bounding boxes and masks will be published on the topic "/yolact_ros/detections". If you want to check whether this is working, you can use rostopic tools, e.g. "rostopic echo /yolact_ros/detections". To use them in another ROS node, you can subscribe to the topic (Python Tutorial / C++ Tutorial).

Eruvae avatar May 19 '21 07:05 Eruvae

hi,i am new to ROS.After running ur code .why just show the following code'Done.Subscribed to /camera/color/raw_image' without more information?,i am sure i have subscribed to the topic camera/color/image_raw and changed some codeto show the raw image so how to get the message of boundingbox and mask?

i got stuck with the same problem,how can i get the masks?

DeveloperFuloo avatar Oct 17 '21 12:10 DeveloperFuloo

As mentioned in my previous reply, you have to subscribe to /yolact_ros/detections. If you renamed the node, the namespace changes. Do you get output for rostopic echo /yolact_ros/detections? If not, try rostopic list to check which topics are available.

Eruvae avatar Oct 17 '21 12:10 Eruvae

As mentioned in my previous reply, you have to subscribe to /yolact_ros/detections. If you renamed the node, the namespace changes. Do you get output for rostopic echo /yolact_ros/detections? If not, try rostopic list to check which topics are available.

thanks for your help! i found my mistake

DeveloperFuloo avatar Oct 18 '21 04:10 DeveloperFuloo