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

rosrun rviz and X Window

asked 2012-10-01 00:00:36 -0500

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

Dear All,

I recently received a Turtlebot to test out. I have tested it using a set of different simple examples such as dashboard and teleop. The robot works very well.

The next experiment will be to test Turtlebot navigation. After several experiments, I have found that, it was very difficult to do map building and navigation without using a workstation. Thus, I have acquired a workstation that runs Win7 and soon after that two programs namely Putty SSH client and Xming ver are installed. I have tested the communication between these programs via turtlebot using the turtlebot_dashboard program and it works very well. All GUIs are displayed very nicely from Turtlebot server to the workstation using Xming/X-window.

However, after the following command is executed from the workstation, the Xming seems to be hanged or crashed and I have to terminate it with no luck:

rosrun rviz rviz -d 'rospack find turtlebot_navigation` /nav_rviz.vcg.

Thus, do you have any idea how to overcome this issue?

best wishes Azizi.

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted

answered 2012-10-01 01:06:31 -0500

Lorenz gravatar image

Rviz needs OpenGL which doesn't work via X forwarding. I suggest you install Ubuntu on your workstation and run rviz locally. You could also try to use VirtualBox but rviz might not work there either.

You can install Ubuntu in parallel to your Windows installation.

edit flag offensive delete link more

answered 2012-10-02 17:07:30 -0500

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

Thanks for the answer. I thing, it would be much more reliable to install Ubuntu/ROS on the workstation.

edit flag offensive delete link more


Please do not create answers for discussing things. This is not a forum. Instead, please either edit your original post or use the comment functionality

Lorenz gravatar image Lorenz  ( 2012-10-03 01:36:31 -0500 )edit

Question Tools

1 follower


Asked: 2012-10-01 00:00:36 -0500

Seen: 4,906 times

Last updated: Oct 02 '12