Hi all,

I am having a problem with the ros-meta image. After I build the image I 
run the roscore on the target device (Overo)

on the overo I do

#export ROS_ROOT=/usr
#export ROS_MASTER_URI=http://localhost:11311
#CMAKE_PREFIX_PATH=/usr
#touch /usr/.catkin


# roscore


... logging to 
/home/root/.ros/log/b5977452-e193-11e3-bd48-0019882604c6/roslaunch-incass1-338.log
Checking log directory for disk usage. This may take awhile.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.

started roslaunch server http://incass1:47164/
ros_comm version 1.10.2

SUMMARY
========

PARAMETERS
 * /rosdistro
 * /rosversion

NODES

auto-starting new master
process[master]: started with pid [359]
ROS_MASTER_URI=http://incass1:11311/

setting /run_id to b5977452-e193-11e3-bd48-0019882604c6



ERROR: rosout is not built. Please run 'rosmake rosout'


failed to start core service [/rosout]
[master] killing on exit
Unhandled exception in thread started by
sys.excepthook is missing
lost sys.stderr


Here are the versions of the repos I use: The reciepe I use from ros-meta 
is basically roslaunch_1.10.2.bb.


BB_VERSION        = "1.20.0"
BUILD_SYS         = "x86_64-linux"
NATIVELSBSTRING   = "Ubuntu-14.04"
TARGET_SYS        = "arm-poky-linux-gnueabi"
MACHINE           = "overo"
DISTRO            = "poky"
DISTRO_VERSION    = "1.5.1"
TUNE_FEATURES     = "armv7a vfp neon"
TARGET_FPU        = "vfp-neon"
meta              
meta-yocto        = "dora:19745990465b37107142c5464008ca9f7959cc0b"
meta-oe           
meta-networking   = "dora:ee173678383683e972c7d4d6f0ef5790bfa50274"
meta-ros          = "master:821427d23adb33674da76dc34d8ab6983590fcd4"
meta-overo        = "dora:49d78254783e7cd1da4b7695e0014d526fbb6d58"


Here is the corresponding receipe I use


SUMMARY = "A console development image with some C/C++ dev tools extented 
with RO"
HOMEPAGE = "http://www.dfki.com";
LICENSE = "MIT"

IMAGE_FEATURES += "package-management ssh-server-openssh x11-base"
IMAGE_LINGUAS = "en-us"
USERNAME = "incass"

inherit core-image extrausers

EXTRA_USERS_PARAMS = "\
    useradd -p 'OTE7n9xS2KsNw' ${USERNAME}; \
"

#add extra ros packages here
ROS_EXTRA =" \
    roslaunch \
"   

CORE_OS = " \
    busybox-hwclock \
    task-core-ssh-openssh openssh-keygen openssh-sftp-server \
    term-prompt \
    tzdata \
 "

# Custom kernel modules built out of tree
KERNEL_MODULES_OOT = " \
    omap3-pwm \
    omap3-mux \
    omap3-irqlat \
    hrt-test \
    udelay-test \    
 "

KERNEL_EXTRA_INSTALL = " \
    kernel-modules \
    ${KERNEL_MODULES_OOT} \
 "

WIFI_SUPPORT = " \
    iw \
    linux-firmware-rtl8192ce \
    linux-firmware-rtl8192cu \
    linux-firmware-sd8686 \
    linux-firmware-wl12xx \
    wpa-supplicant \
    wireless-tools \
 "

DEV_SDK_INSTALL = " \
    binutils \
    binutils-symlinks \
    coreutils \
    cpp \
    cpp-symlinks \
    diffutils \
    file \
    gcc \
    gcc-symlinks \
    g++ \
    g++-symlinks \
    gettext \
    git \
    ldd \
    libstdc++ \
    libstdc++-dev \
    libtool \
    make \
    pkgconfig \    
 "

DEV_EXTRAS = " \
    avahi-daemon \
    ntp \
    ntp-tickadj \
 "

EXTRA_TOOLS_INSTALL = " \
    bzip2 \
    devmem2 \
    ethtool \
    findutils \
    i2c-tools \
    iftop \
    iperf \
    htop \
    less \
    nano \
    procps \
    sysfsutils \
    tcpdump \
    unzip \
    wget \
    zip \
    vim \
    media-ctl \
    dhcp-client \
    gstreamer \
    gst-plugins-good \
 "

IMAGE_INSTALL += " \
    ${CORE_IMAGE_EXTRA_INSTALL} \
    ${CORE_OS} \
    ${DEV_SDK_INSTALL} \
    ${DEV_EXTRAS} \
    ${EXTRA_TOOLS_INSTALL} \
    ${KERNEL_EXTRA_INSTALL} \
    ${WIFI_SUPPORT} \
    ${ROS_EXTRA} \
"
# packagegroup-ros-comm 

update_bash(){
   echo 'export ROS_ROOT=/usr' >> ${IMAGE_ROOTFS}/home/${USERNAME}/.bashrc
   echo 'export ROS_MASTER_URI=http://localhost:11311' >> 
${IMAGE_ROOTFS}/home/${USERNAME}/.bashrc
   echo 'CMAKE_PREFIX_PATH=/usr' >> ${IMAGE_ROOTFS}/home/${USERNAME}/.bashrc
   touch  ${IMAGE_ROOTFS}/usr/.catkin
}

set_local_timezone() {
    ln -sf /usr/share/zoneinfo/Europe/Berlin ${IMAGE_ROOTFS}/etc/localtime
}

disable_bootlogd() {
    echo BOOTLOGD_ENABLE=no > ${IMAGE_ROOTFS}/etc/default/bootlogd
}

ROOTFS_POSTPROCESS_COMMAND_append = " \
    set_local_timezone ; \
    disable_bootlogd ; \
    update_bash; \
"

export IMAGE_BASENAME = "dfki-console-image"













Reply via email to