运行urdf模型的launch文件时出错

在Ubuntu 18.04 LTS与ROS Melodic环境下,运行urdf模型的launch文件时遇到错误。首先,根据错误信息尝试安装`joint_state_publisher_gui`,但过程中出现新的问题。为解决这个问题,参照ros社区答案,删除旧的GPG密钥并安装新的密钥,随后成功安装所需包。然而,运行launch文件时仍存在警告。通过修改`display.launch`文件,将`joint_state_publisher`和`state_publisher`替换为`joint_state_publisher_gui`和`robot_state_publisher`,警告虽未完全消除,但不影响模型调试,问题得到部分解决。

本人Linux版本:Ubuntu 18.04LTS
ROS版本:Melodi

1、错误信息是这样的

[WARN] [1582867522.390661]: The 'use_gui' parameter was specified, which is deprecated.  We'll attempt to find and run the GUI, but if this fails you should install the 'joint_state_publisher_gui' package instead and run that.  This backwards compatibility option will be removed in Noetic.
[ERROR] [1582867522.392212]: Could not find the GUI, install the 'joint_state_publisher_gui' package
[joint_state_publisher-2] process has died 
评论 3
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值