zoukankan      html  css  js  c++  java
  • 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)

  • 相关阅读:
    [debug] 解决在C++编写过程中的“找到一个或多个多重定义的符号”
    调试事件的收集
    [ida]查看某一函数在程序中被谁引用
    IDA+Windbg IDA+OD 连动调试插件
    一个简单的创建被调试进程的案例
    LOAD_DLL_DEBUG_EVENT 时读取 DllName
    【编译系统01】编译器
    [动态规划]石子合并问题
    xBIM 基础15 IFC导出Excel报表
    xBIM 基础14 使用LINQ实现最佳性能(优化查询)
  • 原文地址:https://www.cnblogs.com/zhangyang/p/7446644.html
Copyright © 2011-2022 走看看