在虛擬機下運行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/

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章