在虚拟机下运行gazebo,关于vmw_ioctl_command error Invalid argument错误

开发环境:windows10+vmware player+ubuntu14.04+ROS indigo

运行:gazebo

前提条件:安装gazebo: sudo apt-get install ros-indigo-gazebo-ros-pkgs ros-indigo-gazebo-ros-control

问题:运行:roscore & rosrun gazebo_ros gazebo

“VMware: vmw_ioctl_command error Invalid argument.
Aborted (core dumped)
/opt/ros/indigo/lib/gazebo_ros/gazebo: 39: kill: invalid signal number or name: SIGINT”

在终端下设置环境变量为0

$ export SVGA_VGPU10=0

之后即可运行gazebo,roscore & rosrun gazebo_ros gazebo 

OpenGL support can be disabled by setting the environment variable SVGA_VGPU10=0.

Gazebo starts now and runs compared to the not 3D accelerated way pretty smooth on a T460p if the resolution of the VM guest system is not too high (<< 4K).

To make the change permanent use:

$ echo "export SVGA_VGPU10=0" >> ~/.bashrc


参考文献:

http://answers.gazebosim.org/question/13214/virtual-machine-not-launching-gazebo/



你可能感兴趣的:(ROS)