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