ROS Resources: Documentation | Support | Discussion Forum | Service Status | Q&A answers.ros.org
Ask Your Question
0

Error when trying to launch moveit created robot model

asked 2017-09-28 10:16:09 -0500

Fiddle gravatar image

I am trying to create a simulated robot in Gazebo that can be operated with use of the Moveit. I created a robot using moveit assistant, placed it in catkin workspace folder and built it. But when I try to launch it, i get an error, that says:

You can start planning now!

[ INFO] [1506611133.048666841]: Stereo is NOT SUPPORTED
[ INFO] [1506611133.048829426]: OpenGl version: 4.5 (GLSL 4.5).
terminate called after throwing an instance of 'Ogre::Exception'
what():  OGRE EXCEPTION(5:): Could not find font Liberation Sans in MovableText::setFontName

I checked for the liberation sans font with synaptic, even reinstalled it, but the error remains.

edit retag flag offensive close merge delete

Comments

Note btw that this is most likely not a problem with your MoveIt configuration, but with RViz. You could verify that by running just RViz (using something like rosrun rviz rviz or just rviz).

gvdhoorn gravatar imagegvdhoorn ( 2017-09-28 10:55:44 -0500 )edit

the rviz runs normally when i try that

Fiddle gravatar imageFiddle ( 2017-09-28 11:08:31 -0500 )edit

You have to add it (paste it) interested RVIZ font directory NOT the one of your Linux system, the RVIZ directory directly

ddomit gravatar imageddomit ( 2017-10-07 12:58:34 -0500 )edit

2 Answers

Sort by ยป oldest newest most voted
1

answered 2017-09-29 14:14:02 -0500

ddomit gravatar image

I just fixed it, you have to get the liberation fonts in the rviz fonts directory directly. It doesn't matter if you have it installed in your system, you have to add them directly in the rviz fonts folder.

Hope it helps!

edit flag offensive delete link more

Comments

1

How do you locate the rviz fonts directory?

dowusu gravatar imagedowusu ( 2017-10-06 22:16:30 -0500 )edit
0

answered 2017-09-28 10:53:25 -0500

gvdhoorn gravatar image

Pull Request ros-visualization/rviz#1152 recently removed the 'Arial' font from RViz - for licensing reasons - and changed to 'Liberation Sans'.

You probably don't have that font on your computer, which results in that error.

Can you try and see whether installing Liberation Sans solves it? You can do that (on Ubuntu) by running:

sudo apt-get install fonts-liberation

After that try to start RViz again.

edit flag offensive delete link more

Comments

tried it, the font is installed and can be used from, for example libre office

Fiddle gravatar imageFiddle ( 2017-09-28 11:08:18 -0500 )edit

Based on your comment about trying RViz without MoveIt this is then probably a problem in MoveIt, and most likely tracked by ros-planning/moveit#624. Unfortunately I don't have a solution for you now in that case.

gvdhoorn gravatar imagegvdhoorn ( 2017-09-28 11:09:36 -0500 )edit

Well, this is weird. Even though the I could start rviz I tried fixing it, and when I ran the installation command, I was surprised that the installation went through and apparently this fixed my problem.

Fiddle gravatar imageFiddle ( 2017-09-28 11:54:32 -0500 )edit

So just to be clear: you installed the fonts-liberation package and now things started working?

gvdhoorn gravatar imagegvdhoorn ( 2017-09-28 12:21:35 -0500 )edit
1

This shouldn't be required, the real solution is for moveit to make sure they have the fonts they use, or ensure that they are using the same font as rviz. I would look to a resolution to https://github.com/ros-planning/movei... for a permanent solution.

William gravatar imageWilliam ( 2017-09-28 12:41:44 -0500 )edit

Installing Arial might fix the issue, but that would be surprising.

William gravatar imageWilliam ( 2017-09-28 12:44:56 -0500 )edit

I installed the rviz, even though I could run it before.

Fiddle gravatar imageFiddle ( 2017-09-29 06:49:54 -0500 )edit

Ok. That could make sense. @William: has RViz with 1152 already been released?

gvdhoorn gravatar imagegvdhoorn ( 2017-09-29 06:51:12 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

2 followers

Stats

Asked: 2017-09-28 10:16:09 -0500

Seen: 286 times

Last updated: Sep 29