ubuntu:20.04
ROS:noetic
运行:rosrun tf view_frames
解决方法:
//进入root,修改权限
chmod a+rw /opt/ros/noetic/lib/tf/view_frames
gedit /opt/ros/noetic/lib/tf/view_frames
进入文件修改第89行:
m = r.search(str(vstr))
参考:ROS小乌龟Demo运行问题2:TypeError: cannot use a string pattern on a bytes-like object_ye0915715的博客-CSDN博客