欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页  >  IT编程

RLException: Invalid <node> tag: ‘ascii‘ codec can‘t decode byte 0xe6报错

程序员文章站 2023-02-17 08:22:59
在新电脑上第一次试运行Cartographer报错:roslaunch cartographer_ros demo_backpack_2d.launch bag_filename:=/home/mjy/文档/rosbag/b0-2014-07-11-10-58-16.bag报错内容为RLException: Invalid tag: 'ascii' codec can't decode byte 0xe6 in position 10: ordinal not in ran...

在新电脑上第一次试运行Cartographer报错:

roslaunch cartographer_ros demo_backpack_2d.launch bag_filename:=/home/mjy/文档/rosbag/b0-2014-07-11-10-58-16.bag

报错内容为

RLException: Invalid <node> tag: 'ascii' codec can't decode byte 0xe6 in position 10: ordinal not in range(128). 

Node xml is <node args="--clock $(arg bag_filename)" name="playbag" pkg="rosbag" type="play"/>
The traceback for the exception was written to the log file

原因是bag包包含中文路径。因此换:

roslaunch cartographer_ros demo_backpack_2d.launch bag_filename:=/home/mjy/dev/carto_ws/bag/b0-2014-07-11-10-58-16.bag

问题解决

本文地址:https://blog.csdn.net/weixin_44684139/article/details/107554618