Snipaste_2023-01-23_08-49-20.png

报错1

命令行输出如下错误提示

UnicodeEncodeError: 'ascii' codec can't encode characters in position 463-464: ordinal not in range(128)
[joint_state_publisher-3] process has died [pid 4443, exit code 1, cmd /opt/ros/melodic/lib/joint_state_publisher/joint_state_publisher __name:=joint_state_publisher __log:=/home/rosmelodic/.ros/log/b38967c0-0acb-11eb-aee3-0800278ee10c/joint_state_publisher-3.log].
log file: /home/rosmelodic/.ros/log/b38967c0-0acb-11eb-aee3-0800278ee10c/joint_state_publisher-3*.log

rviz中提示坐标变换异常,导致机器人部件显示结构异常

原因

编码问题导致的

解决

去除URDF中的中文注释

报错2

找不到joint_state_publisher_gui Snipaste_2023-01-23_10-02-33.png

原因

未安装所需功能包

解决

sudo apt install ros-noetic-joint-state-publisher-gui

最后修改:2023 年 11 月 10 日
如果觉得我的文章对你有用,请随意赞赏