You are not logged in.

#1 2014-11-13 11:16:12

deepsoul
Member
From: Earth
Registered: 2012-12-23
Posts: 67
Website

[Solved] Robot Operating System (ROS): roscore cannot run rosout

I have installed a (large) number of ros-indigo-* packages from AUR and am trying to start roscore, the main server needed to do anything with ROS.  I have worked out by trial and error how to set the environment variables ROS_ROOT, PATH, LD_LIBRARY_PATH, PYTHONPATH, ROS_MASTER_UR, ROS_IP, ROS_DISTRO, ROS_ETC_DIR.  When I try to run roscore, it aborts with the message:

ERROR: rosout is not built. Please run 'rosmake rosout'
failed to start core service [/rosout]
The traceback for the exception was written to the log file

rosout  is installed as part of the package ros-indigo-rosout.  Has anybody succeeded in starting roscore, or is there a package or documentation for setting the environment as needed?  Thank you in advance.

Last edited by deepsoul (2014-11-15 16:46:03)


Officer, I had to drive home - I was way too drunk to teleport!

Offline

#2 2014-11-15 16:44:28

deepsoul
Member
From: Earth
Registered: 2012-12-23
Posts: 67
Website

Re: [Solved] Robot Operating System (ROS): roscore cannot run rosout

The scripts

/opt/ros/indigo/env.sh
/opt/ros/indigo/setup.{sh,zsh,bash}

set the environment correctly for running ROS.  Despite the comments referring to catkin, the ROS build system, they are apparently also suited for runtime.  env.sh runs the command that is its argument, setup.sh can be sourced in a shell.


Officer, I had to drive home - I was way too drunk to teleport!

Offline

#3 2014-11-15 16:50:28

deepsoul
Member
From: Earth
Registered: 2012-12-23
Posts: 67
Website

Re: [Solved] Robot Operating System (ROS): roscore cannot run rosout

Edit: delete malformed post

Last edited by deepsoul (2014-11-15 16:52:57)


Officer, I had to drive home - I was way too drunk to teleport!

Offline

#4 2014-11-15 16:52:15

deepsoul
Member
From: Earth
Registered: 2012-12-23
Posts: 67
Website

Re: [Solved] Robot Operating System (ROS): roscore cannot run rosout

While I am posting solutions: It is important to know that next to the packages in the /opt/ros directory, console-bridge also has to be recompiled after boost has been updated.  The packages in the ROS directory to be recompiled can be found like this:

pacman -Qoq $(for i in $(find /opt/ros/indigo/  -type f -executable)  ; do
    if /opt/ros/indigo/env.sh ldd $i | grep -q "not found"   ; then
        echo $i
    fi
done) | sort -u

Officer, I had to drive home - I was way too drunk to teleport!

Offline

Board footer

Powered by FluxBB