ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

If your cam driver topics are

/camera/rgb/image_raw

/camera/rgb/camera_info

I guess you should start the image_proc node like:

ROS_NAMESPACE=camera/rgb rosrun image_proc image_proc

If your cam driver topics are

/camera/rgb/image_raw

/camera/rgb/camera_info

I guess you should start the image_proc node like:

ROS_NAMESPACE=camera/rgb rosrun image_proc image_proc

Update with explanations:

The ROS_NAMESPACE=camera/rgb puts all topics of the node into this namespace. Initially if you run

rosrun image_proc image_proc

it will listen to the topics

/image_raw

/camera_info

. If you than change the call into

ROS_NAMESPACE=camera rosrun image_proc image_proc

as mentioned in the tutorial it will listen to

/camera/image_raw

/camera/camera_info

. However, your camera driver apparently publishes to the /camera/rbg namespace so your call will be

ROS_NAMESPACE=camera/rgb rosrun image_proc image_proc

such that the image_proc node listens to the topics of your camera driver which are:

/camera/rgb/image_raw

/camera/rgb/camera_info