关于Rviz的一些问题

ROS No transform from [sth] to [sth]

Like this:

No transform from [right_leg] to [base_link]

参考RViz keep saying "No transform from [front_left] to [base_link]"提到:
I got it! It took me a whole day to figure out why. joint_state_publisher failed to parse the urdf xml file. It dumped error message:

UnicodeEncodeError: 'ascii' codec can't encode character

没有内置unicode支持,解决方案就是安装unicode

sudo apt-get install unicode

rviz fame [map] does not exist

参考Rviz: fixed frame [world] does not exist提到:
I would like to extend jaco answer as this is an easy solution to a struggle lot of people, including myself run into when starting rosrun --debug rviz rviz (debug for verbose)

The solution is having a publisher for the fixed frame attached to the grid that describes your frame relative to it. This means using the quaternion/euler-angles rviz can transform the coordinate system from the fixed one into your frame.This is sets up a publisher that tells rviz where to put the fixed world frame.

rosrun tf static_transform_publisher 0 0 0 0 0 0 1 map my_frame 10

The one is necessary as its the quaternion identity 0 0 0 1.

The doc says this:
static_transform_publisher x y z qx qy qz qw frame_id child_frame_id period_in_ms
or in eulers as jaco did
static_transform_publisher x y z yaw pitch roll frame_id child_frame_id period_in_ms

having this publisher running the global status of the fixed frame is known and the Fixed FrameNo tf data. Actual error: Fixed Frame [map] does not exist disappears.

For frame [XX]: Fixed Frame [map] does not exist

参考这两篇文章:
调试rviz,并解决问题“For frame [laser]: Fixed Frame [map] does not exist”
RVIZ中的fixed frame选项以及“For frame [XX]: Fixed Frame [map] does not exist”

执行roslaunch gazebo_ros empty_world.launch时报错Aborted (core dumped)

参考ros机制中mutex lock failed导致节点异常退出问题解决
执行

sudo apt-get dist-upgrade

依然未解决。
目前只找到这一篇相关的文章。
奇怪的是其它台式机运行均无问题,只有我这台X220提示错误:
关于Rviz的一些问题_第1张图片
就这个问题折腾好多天了,Gazebo也从7升级至8,无果。
而且这台笔记本在执行gazebo或rosrun gazebo_ros gazebo时启动一直黑屏,无法加载模型,而执行roslaunch gazebo_ros ×××.launch则报错。
从印象中某一个ROS的ask中曾经有过一句话,猜测可能是显卡的问题,没有提供足够的OpenGL支持。

你可能感兴趣的:(ROS)