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 ROS.org 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]

PACKAGE.XML FILE:

<?xml version="1.0"?>
<?xml-model
  href="http://download.ros.org/schema/package_format2.xsd"
  schematypens="http://www.w3.org/2001/XMLSchema"?>
<package format="2">
  <name>ros_core</name>
  <version>1.3.2</version>
  <description>A metapackage to aggregate the packages required to use publish / subscribe, services, launch files, and other core ROS concepts.</description>
  <maintainer email="mikael@osrfoundation.org">Mikael Arguedas</maintainer>
  <license>BSD</license>

  <url type="repository">https://github.com/ros/metapackages</url>
  <url type="bugtracker">https://github.com/ros/metapackages/issues</url>

  <author>Dirk Thomas</author>

  <buildtool_depend>catkin</buildtool_depend>

  <exec_depend>catkin</exec_depend>
  <exec_depend>cmake_modules</exec_depend>
  <exec_depend>common_msgs</exec_depend>
  <exec_depend>gencpp</exec_depend>
  <exec_depend>geneus</exec_depend>
  <exec_depend>genlisp</exec_depend>
  <exec_depend>genmsg</exec_depend>
  <exec_depend>gennodejs</exec_depend>
  <exec_depend>genpy</exec_depend>
  <exec_depend>message_generation</exec_depend>
  <exec_depend>message_runtime</exec_depend>
  <exec_depend>ros</exec_depend>
  <exec_depend>ros_comm</exec_depend>
  <exec_depend>rosbag_migration_rule</exec_depend>
  <exec_depend>rosconsole_bridge</exec_depend>
  <exec_depend>roscpp_core</exec_depend>
  <exec_depend>rosgraph_msgs</exec_depend>
  <exec_depend>roslisp</exec_depend>
  <exec_depend>rospack</exec_depend>
  <exec_depend>std_msgs</exec_depend>
  <exec_depend>std_srvs</exec_depend>

  <export>
    <metapackage/>
  </export>
</package>

Edit:

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
/usr/lib/arm-linux-gnueabihf/libEGL.so.1.0.0
/usr/lib/chromium-browser/libEGL.so
find: ‘/run/user/1000/gvfs’: Permission denied
/opt/vc/lib/libEGL_static.a

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

Comments

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 imagegvdhoorn ( 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 imageOldGeezer ( 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 imageOldGeezer ( 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 imagegvdhoorn ( 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 imagegvdhoorn ( 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 imageOldGeezer ( 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 imageOldGeezer ( 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 imagegvdhoorn ( 2018-04-11 05:12:51 -0500 )edit