1. 下载安装ros melodic:
sudo rosdep init 出现问题,
ERROR: cannot download default sources list from: https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/sources.list.d/20-default.list Website may be down
解决参考链接:
对raw.githubusercontent.com网址进行解析。
2. 创建catkin workspace:
使用兼容python3的catkin_make命令:
catkin_make -DPYTHON_EXECUTABLE=/usr/bin/python3
出现问题:
ImportError: "from catkin_pkg.package import parse_package" failed: No module named 'catkin_pkg'
Make sure that you have installed "catkin_pkg", it is up to date and on the PYTHONPATH.
使用 sudo pip3 install catkin_pkg可以解决
3. terminal中输入gazebo打开gazebo9,出现:
[Err] [REST.cc:205] Error in REST request
libcurl: (51) SSL: no alternative certificate subject name matches target host name 'api.ignitionfuel.org'
Gazebo [Err] [REST.cc:205] Error in REST request_thkfighter的博客-CSDN博客
使用:
sudo gedit ~/.ignition/fuel/config.yaml
在其中修改:
# url: https://api.ignitionfuel.org # 注释掉此行
url: https://api.ignitionrobotics.org # 新增此行
4. 下载安装最新的ignition稳定版本Citadel: