• Install rapyuta Robot Cloud Engine on Ubuntu12.04


    Prepare on ubuntu12.04

    sudo apt-get install vim

    Install fuerte ROS

    sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu precise main" > /etc/apt/sources.list.d/ros-latest.list'
    wget http://packages.ros.org/ros.key -O - | sudo apt-key add -
    sudo apt-get update
    sudo apt-get install ros-fuerte-ros-comm
    
    echo "source /opt/ros/fuerte/setup.bash" >> ~/.bashrc
    . ~/.bashrc
    source /opt/ros/fuerte/setup.bash
    
    sudo apt-get install python-rosinstall python-rosdep

    Install rapyuta

    sudo apt-get install python-setuptools python-dev git-core
    sudo git clone -b master https://github.com/rapyuta/rce.git rce
    cd rce
    sudo ./install.sh
    sudo ./setup/provision all
    
    sudo apt-get install python-pip
    sudo pip uninstall twisted==17.5.0 
    sudo pip install twisted==13.1.0

    export ROS_PACKAGE_PATH=$ROS_PACKAGE_PATH:/home/rapyuta/rce/test
    echo 'export ROS_PACKAGE_PATH=$ROS_PACKAGE_PATH:/home/rapyuta/rce/test' >> ~/.bashrc
    . ~/.bashrc

    Test if success

    sudo vim ~/.rce/config.ini
    [machine/packages]
    Test=/home/rapyuta/rce/test
    
    sudo rce-make
    rosmake Test
    exit

    Test Installation

    1. Start rce-master in one terminal.

    rce-master
    (The main process of the cloud engine)

    2. Start rce-robot in another terminal.

    rce-robot localhost
    (This process manages connections with a robot or ROS environment)

    3. Start rce-container in another terminal.

    sudo rce-container localhost
    (This process manages the containers)

    4. Run roscore in another terminal.

    roscore
    5. Run ros client with test config file in another terminal.

    rce-ros {PATH TO RCE LOCAL REPOSITORY}/test/debug.cfg
    6. List ROSService Calls.

    rosservice list
    (You should see /parameterTest and /stringEchoService)

    7. Test ROSService Calls.

    rosservice call /stringEchoService somestring
    (You should see somestring echoed back)

  • 相关阅读:
    sourceTree和eclipse 的使用
    oracle习题练习
    oracle详解
    单例模式
    反射详解
    Oracle 存储过程判断语句正确写法和时间查询方法
    MVC4 Jqgrid设计与实现
    遇到不支持的 Oracle 数据类型 USERDEFINED
    ArcGIS Server10.1 动态图层服务
    VS2010连接Oracle配置
  • 原文地址:https://www.cnblogs.com/zhangyang/p/7446644.html
Copyright © 2020-2023  润新知