本人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

在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`,警告虽未完全消除,但不影响模型调试,问题得到部分解决。
最低0.47元/天 解锁文章
729





