Invalid roslaunch XML syntax: not well-formed (invalid token): line 31, column 56 The traceback for the exception was written to the log file
我的ros版本kinetic,sudo apt-get install ros-kinetic-cartographer* 安裝了cartograther 準備用我的激光雷達構圖,需要修改demo_revo_lds.launch文件,
當我在運行roslaunch cartographer_ros demo_revo_lds.launch 出現以上錯誤,看別人的博客說是權限問題,可以運行
chmod 777 ./* -R 但我的還是不行
主要是我把demo_revo_lds.launch中的一行註釋了
<!--node name="playbag" pkg="rosbag" type="play" args="--clock $(arg bag_filename)" /-->
後來發現launch文件不能用 <!-- .... -->不能用這個註釋,我現在還不知怎麼註釋,有誰知道的可以回覆,我直接把
<node name="playbag" pkg="rosbag" type="play" args="--clock $(arg bag_filename)" />刪除,就可以運行了