Ask Your Question
0

How to stream the /camera/rgb/image_color from Kinect to another workstation

asked 2013-04-30 08:45:24 -0500

mcculloughi gravatar image

updated 2014-04-20 14:09:26 -0500

ngrennan gravatar image

Hello,

I have a laptop connected to a Turtlebot with a Kinect. I have been able to get the live video of the kinect through rviz. I also am able to connect from another machine to the laptop via ssh. However, I have not been able to get the video from the kinect displayed on the other machine. When i try this via ssh

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

(image_color:10277): Gtk-WARNING **: cannot open display:

Is there anyway I can access the /camera/rgb/image_color using a vlc player or something of that sort?

Thanks, Ian

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
1

answered 2013-05-01 01:27:54 -0500

davinci gravatar image

updated 2013-05-01 01:28:13 -0500

The other computer should be able to connect on other ports, ssh only forwards one port. Are the two machines on the same network? You should create a listener that knows the other ros_master_uri. Perhaps vlc with the correct ip and port number also works. See also: http://www.ros.org/wiki/ROS/Tutorials/MultipleMachines

edit flag offensive delete link more
0

answered 2013-05-01 02:13:24 -0500

Philip gravatar image

updated 2013-05-01 02:16:41 -0500

Your machine which connects via SSH does not have ROS installed, correct? If in the long run you want to do more than just showing the Kinect video there, it's probably the best to just install ROS there. Use the tutorial linked by davinci for more information, the setup is really easy.

If you don't want to set up ROS there and assuming that both laptop A and the connecting machine B run linux, try using ssh -X LAPTOP_A_IP to connect from B to A. This should result in remotely started processes (running on A) popping up their windows (if any) on B. For more information about how screens are handled on ssh, an internet search for export DISPLAY=: +ssh should point you in the right direction.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2013-04-30 08:45:24 -0500

Seen: 1,994 times

Last updated: May 01 '13