当前位置: 移动技术网 > IT编程>脚本编程>Python > RLException: Invalid <node> tag: ‘ascii‘ codec can‘t decode byte 0xe6报错

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

2020年07月26日  | 移动技术网IT编程  | 我要评论

在新电脑上第一次试运行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

如对本文有疑问, 点击进行留言回复!!

相关文章:

验证码:
移动技术网