uuv simulator编译和运行例程的launch文件问题

文章讲述了在Ubuntu18.04.6环境中,作者在虚拟机和双系统中遇到的软件安装、编译和启动问题,包括Gazebo的卸载与重装、Qt相关包的缺失、geographic_msgs和Qt5Charts的安装,以及uuvsimulator的launch文件错误和scipy模块的导入问题及解决方案。

分别在虚拟机和双系统上完成测试,期间多次编译问题和launch文件运行问题

Ubuntu18.04.6+ros-melodic

查看当前安装的gazebo及其各种插件

dpkg -l | grep gazebo

gazebo卸载与重装

Gazebo的卸载与重装_如何卸载gazebo11_木顶思上的博客-优快云博客^v93^koosearch_v1&utm_term=%E5%8D%B8%E8%BD%BDgazebo&spm=1018.2226.3001.4187

报错出现

Could not find a package configuration file provided by "Qt5Multimedia"

with any of the following names:

解决

安装qt5对应依赖

sudo apt-get install ros-melodic-qt-create

sudo apt-get install ros-melodic-qt-build

sudo apt-get install qtmultimedia5-dev

Could not find a package configuration file provided by "geographic_msgs"

sudo apt-get install ros-kinetic-geographic-msgs

Could not find a package configuration file provided by "Qt5Charts" with

sudo apt install libqt5charts5-dev

fatal error: GeographicLib/Geocentric.hpp: 没有那个文件或目录

sudo apt-get install ros-kinetic-geographic-*

sudo apt-get install geographiclib-*

sudo apt-get install libgeographic-*

uuv simulator 运行launch文件出错

ERROR: cannot launch node of type [joy/joy_node]: joy

安装joy

sudo apt-get install ros-melodic-joy

出现pid进程死亡问题,显示缺少scipy ImportError: No module named scipy

安装scipy

ImportError: No module named scipy(已经解决)_一颗小树x的博客-优快云博客^v93^koosearch_v1&utm_term=ImportError%3A%20No%20module%20named%20scipy.interpolate&spm=1018.2226.3001.4187

sudo apt-get install python-scipy

pip install scipy

pip install scipy --user

评论 1
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值