Problem installing ROS Lunar desktop on Raspbian Stretch (2018-03-13)

asked 2018-04-09 15:21:55 -0500

OldGeezer gravatar image

updated 2018-04-12 02:02:15 -0500

gvdhoorn gravatar image

Hello. I am an old retired guy trying to learn ROS. I recently tried to install ROS Lunar Desktop version on my Raspberry Pi 3 running Raspbian Stretch (2018-03-13). Mainly, I followed this website instructions as well as lunar/installation/Source. The install instructions are lengthy and will not format nicely so I have removed them. It is my hope that someone can figure out what is wrong from the results of my first test - to run turtlesim. Any help would be greatly appreciated. Below is a copied screen shot of the failure. Also, the contents of the package.xml file referred to is listed next.

pi@pibot:~ $ source /opt/ros/lunar/setup.bash
pi@pibot:~ $ rosrun turtlesim turtlesim_node
terminate called after throwing an instance of 'rospack::Exception'
  what():  error parsing manifest of package ros_core at /opt/ros/lunar/share/ros_core/package.xml
find: ‘’: No such file or directory
libEGL warning: DRI2: failed to authenticate

** (turtlesim_node:1369): WARNING **: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files
[ INFO] [1523302539.662260695]: Starting turtlesim with node name /turtlesim
[ INFO] [1523302539.703341492]: Spawning turtle [turtle1] at x=[inf], y=[inf], theta=[0.000000]


<?xml version="1.0"?>
<package format="2">
  <description>A metapackage to aggregate the packages required to use publish / subscribe, services, launch files, and other core ROS concepts.</description>
  <maintainer email="">Mikael Arguedas</maintainer>

  <url type="repository"></url>
  <url type="bugtracker"></url>

  <author>Dirk Thomas</author>





What a mess. I did the find to see what files might need to be symlinked. Got the following:

pi@pibot:~ $ sudo find / -name libEGL* -type f
find: ‘/run/user/1000/gvfs’: Permission denied

Similar result with libGLESv2*. I would assume an *.a file should not be symlinked (only *.so files). Thus, there appears to be nothing to symlink. Sorry Askbot runs all the lines together. I think I have about had it trying to learn ROS. The Gods have forsaken me. Thanks much for all help.

edit retag flag offensive close merge delete


Could you please review your post? There seem to be some issues with formatting which make it rather difficult to read.

Also: if you followed any specific tutorials for the installation procedure, add a link to those.

gvdhoorn gravatar image gvdhoorn  ( 2018-04-10 01:08:23 -0500 )edit

Boy, do I agree with that! I copied and pasted from OneNote which was nicely formatted and it all went south! There are so many steps involved in trying to install ROS and I don't know if I am missing one or messed up one since it looks like the install did not work. Will shorten.

OldGeezer gravatar image OldGeezer  ( 2018-04-10 12:07:40 -0500 )edit

Gave up on listing install instructions. Maybe someone can tell what is wrong from the turtlesim results. Very frustrating - can't even upload a little screen shot of the results.

OldGeezer gravatar image OldGeezer  ( 2018-04-10 12:46:47 -0500 )edit

Yes, Askbot (the infrastructure behind this site) has some special formatting needs that can take some getting used to.

Could you check the /opt/ros/lunar/share/ros_core/package.xml file and see whether something is amiss? Perhaps include its contents in your question.

gvdhoorn gravatar image gvdhoorn  ( 2018-04-10 14:08:14 -0500 )edit

Could you please also describe what it is that is not working? After starting turtlesim, you don't get a window? Does your Pi install have a Desktop environment installed, or is it text only interface?

gvdhoorn gravatar image gvdhoorn  ( 2018-04-10 14:10:07 -0500 )edit

Thanks gvdhoorn for following up so quickly. I really appreciate it! I will add the contents of the package.xml you refer to the main question. The fact that it is throwing an exception indicates that something is wrong - not working right.

OldGeezer gravatar image OldGeezer  ( 2018-04-10 15:35:30 -0500 )edit

Oops, looks like Askbot lost my last comment. I do get a turtlesim window but no turtle. Yes, I have the full Raspbian Stretch installed and the desktop is showing.

OldGeezer gravatar image OldGeezer  ( 2018-04-10 16:11:33 -0500 )edit

Your package.xml looks fine to me, not sure what is going on.

Searching around a bit, I came across this SE post, which seems very similar. Could you try the suggested symlinks and see whether that improves things?

gvdhoorn gravatar image gvdhoorn  ( 2018-04-11 05:12:51 -0500 )edit