开发环境:windows10+vmware+ubuntu18.04+ROS
运行: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
永久可用:
$ echo "export SVGA_VGPU10=0" >> ~/.bashrc