How do you config Darknet_Ros (yolo) to see a camera topic?
I have yolo running on a server and the robot publishing a usb camera topic /usb_cam/image_raw
- i am able to see the image in rviz, but I get a continuous "waiting for image" message from the darknet_ros package after i configure the ros.yml file to subscribe to the same topic. I tried running all the launch files with no success.
Im not using a GPU, yet - I was just testing with a CPU but it cant seem to subscribe to the image topic.
Thanks for your help. The git repo doesn't seem to be responding to issues.
I would recommend using
rosnode info <node_name>
on both yolo and the camera node, to confirm they are on the same topic and namespace.@PeteBlackerThe3rd
rosnode info /usb_cam
shows no subscribers:Subscriptions: None
but/darknet_ros
shows/usb_cam/image_raw [sensor_msgs/Image]
in subscriptions/usb_cam
and/usb_cam/image_raw
are different topic names. You will have to remap the topic on one of these nodes so that they are connected.you said
rosnode
above. I'm confused.@cerebraidad I'm having the same problem. Did you solve yours?