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

ROS in VMWare, No information shown in rviz

asked 2011-02-14 16:39:02 -0600

Tully gravatar image

I installed ROS on a VMWare Ubuntu image on a MAC. I am using a kinect camera, when I run roslaunch openni_camera openni_kinect.launch, it is good. but there is nothing shows in rviz, no message could be received. When I use a rosbag file, it is good. Could you help me out?

edit retag flag offensive close merge delete

Comments

Looks to me like rviz is not the problem here. Question states "When I use a rosbag file, it is good." Doesn't it sound more like a problem with openni?
hersh gravatar image hersh  ( 2012-02-03 05:18:49 -0600 )edit

2 Answers

Sort by ยป oldest newest most voted
2

answered 2011-02-14 16:39:23 -0600

tfoote gravatar image

As others have reported lately, rviz does not usually work well in a virtual machine. It seems to need access to real 3D graphics hardware for adequate performance.

The usual workaround is installing Ubuntu in a separate partition with dual boot.

edit flag offensive delete link more

Comments

@tfoote : Sure worth a note ! ...
Arkapravo gravatar image Arkapravo  ( 2011-12-06 05:38:39 -0600 )edit
2

answered 2011-02-15 01:33:34 -0600

mjcarroll gravatar image

I have had better success using Parallels for RVIZ. Parallels supports OpenGL acceleration in the virtual machine, and has worked with RVIZ in the past.

On older versions of Parallels (5), there was a slight workaround because Parallels Tools didn't get OpenGL properly working. I believe that it was due to a library being incorrectly installed. This workaround only works if you currently have NO openGL acceleration (For example, Compiz doesn't work).

  1. Open terminal: sudo gedit /etc/ld.so.conf.d/GL.conf
  2. In Gedit: delete "mesa"
  3. Line should read: /usr/lib/
  4. Save and Close
  5. Reboot
edit flag offensive delete link more

Comments

As of Parallels 7, this just works. No modifications necessary.
mjcarroll gravatar image mjcarroll  ( 2011-09-11 03:13:02 -0600 )edit

Question Tools

Stats

Asked: 2011-02-14 16:39:02 -0600

Seen: 1,977 times

Last updated: Sep 09 '11