Problem installing ROS Lunar desktop on Raspbian Stretch (2018-03-13)
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.
Asked by OldGeezer on 2018-04-09 15:21:55 UTC
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.
Asked by gvdhoorn on 2018-04-10 01:08:23 UTC
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.
Asked by OldGeezer on 2018-04-10 12:07:40 UTC
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.
Asked by OldGeezer on 2018-04-10 12:46:47 UTC
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.Asked by gvdhoorn on 2018-04-10 14:08:14 UTC
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?
Asked by gvdhoorn on 2018-04-10 14:10:07 UTC
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.
Asked by OldGeezer on 2018-04-10 15:35:30 UTC
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.
Asked by OldGeezer on 2018-04-10 16:11:33 UTC
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?
Asked by gvdhoorn on 2018-04-11 05:12:51 UTC
Reading a bit further, this might even be a "known problem" (with a work-around): GLX DRI2 not supported or failed to authenticate.
Not sure if this will fix it. If it does, it would seem the ROS side is ok.
Asked by gvdhoorn on 2018-04-11 05:14:08 UTC
If you feel that way, I should probably stop trying to help you, seenig as you've already given up.
In any case: there is a good chance this doesn't have anything to do "with ROS" per se, but is a Pi + Qt + GL issue. I would check if you can ..
Asked by gvdhoorn on 2018-04-12 02:03:37 UTC
.. run other Qt or OpenGL programs successfully. If those don't work either, this would be a system configuration issue, which is perhaps best solved with the help of some people that have good knowledge of Raspbian. The FAQ I linked to earlier should contain some tips on how to approach this.
Asked by gvdhoorn on 2018-04-12 02:05:07 UTC
Well, gvdhoorn, I do appreciate your time and all the help you have given me. I know it can be a thankless job. I tend to agree with you - it is not a ROS problem. It was a clean install of Raspbian Stretch 2018-03-13 with no changes other than localization - kind of sad. In spite of what I ...
Asked by OldGeezer on 2018-04-12 15:05:58 UTC
... said earlier, I really would like to learn ROS. I feel it would be quite an accomplishment if I could get a little autonomous car running built on ROS. You guys keep up the good work! Thanks again. I will check out the Pi + Qt + GL angle and see what I can find out.
Asked by OldGeezer on 2018-04-12 15:14:34 UTC
Ok. Let us know what you find out. If it turns out everything should work, update your question and we can see whether something indeed needs to change on the ROS side.
Asked by gvdhoorn on 2018-04-13 03:47:17 UTC