环境
Ubuntu 20.4
ROS noetic
运行命令
rosrun tf view_frames
错误信息
Listening to /tf for 5.0 seconds
Done Listening
b'dot - graphviz version 2.42.3 (0)\n'
Traceback (most recent call last):
File "/opt/ros/noetic/lib/tf/view_frames", line 119, in <module>
generate(dot_graph)
File "/opt/ros/noetic/lib/tf/view_frames", line 89, in generate
m = r.search(vstr)
TypeError: cannot use a string pattern on a bytes-like object
修改文件 /opt/ros/noetic/lib/tf/view_frames 第89行
m = r.search(vstr.decode('utf-8'))