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)

转载于:https://www.cnblogs.com/zhangyang/p/7446644.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值