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

Can't use camera images from turtlebot on the workstation laptop

asked 2013-02-06 00:08:29 -0600

jd gravatar image

I've checked that I can communicate to the turtlebot and from the turtlebot to the workstation. On the workstation, I can check rostopic list and the see camera topic that I want to use. If I try to see the camera image in RViz nothing shows up but it also shows that the topic is there.

If I go onto the turtlebot laptop I can use RViz to see the camera without any problems.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2013-02-06 01:13:25 -0600

updated 2013-02-06 01:14:57 -0600

Try to echo the image topic with rostopic echo <camera_node>/image_raw. If there is nothing in return, then there may be a configuration problem.

In this case double-check that ROS_MASTER_URI and ROS_IP environment variables are correctly set on both computers.

edit flag offensive delete link more

Comments

I run

rostopic echo /camera/rgb/image_raw

And I never get any response back from the terminal. But at the same time if I do

rosrun image_view image_view image:=/camera/rgb/image_color

I can see the camera image.

jd gravatar image jd  ( 2013-02-06 10:44:41 -0600 )edit

Did you check ROS_IP and ROS_MASTER_URI? I had the same issue a while ago and the problem was indeed in these.

Boris gravatar image Boris  ( 2013-02-06 14:41:07 -0600 )edit

I got it working, somehow. Not sure what, if anything, I did though. I have trouble now though with losing the network connection. Shortly after the workstation gets the camera image it just freezes and I can't ssh to the robot anymore.

jd gravatar image jd  ( 2013-02-06 15:07:43 -0600 )edit
1

It can be a problem of network bandwidth. Try to use compression -- Transport Hint in Camera plugin in RViz.

Boris gravatar image Boris  ( 2013-02-06 15:29:29 -0600 )edit

Question Tools

Stats

Asked: 2013-02-06 00:08:29 -0600

Seen: 458 times

Last updated: Feb 06 '13