常见问题
- [1 ] 常见问题一:VMware: vmw_ioctl_command error Invalid argument.
解决:
方式一:
echo "export SVGA_VGPU10=0" >> ~/.bashrc
source .bashrc
方式二:
如果是在虚拟机下面运行:
将显示器里面的3D图形加速关掉
- [ 2] 常见问题二:[Err] [REST.cc:205] Error in REST request
解决:输入命令sudo gedit ~/.ignition/fuel/config.yaml
然后将url : https://api.ignitionfuel.org
使用 # 注释
再添加url: https://api.ignitionrobotics.org
- [2 ] 常见问题三:[ClientConfig.cc:270] Parser error [3]
这个可能是解决问题二的时候把源文件的格式给改错了,一般都是tab键导致的,恢复原格式重新解决问题二
原格式:
---
# The list of servers.
servers:
-
name: osrf
url: https://fuel.ignitionrobotics.org
# -
# name: another_server
# url: https://myserver
# Where are the assets stored in disk.
# cache:
# path: /tmp/ignition/fuel
- [ 4] 常见问题四:Set document metadata failed: Setting attribute metadata::gedit-encoding not
改动的时候出现的警告,一般忽视就好 - [5 ] 常见问题五::启动时抛出异常:[gazebo-2] process has died [pid xxx, exit code 255, cmd…
解决:killall gzserver
和killall gzclient
安装gazebo
1.添加源:
sudo sh -c 'echo "deb http://packages.osrfoundation.org/gazebo/ubuntu-stable `lsb_release -cs` main"
>
/etc/apt/sources.list.d/gazebo-stable.list'
2.安装:
sudo apt update
sudo apt install gazebo11
sudo apt install libgazebo11-dev