在虚拟机下运行gazebo,关于vmw

编程入门 行业动态 更新时间:2024-10-25 14:25:07

在<a href=https://www.elefans.com/category/jswz/34/1770279.html style=虚拟机下运行gazebo,关于vmw"/>

在虚拟机下运行gazebo,关于vmw

开发环境: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


参考文献:

/



更多推荐

在虚拟机下运行gazebo,关于vmw

本文发布于:2023-06-28 16:47:22,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/930553.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:虚拟机   gazebo   vmw

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!