码迷,mamicode.com
首页 > Web开发 > 详细

Install rapyuta client on Raspberry

时间:2017-09-22 17:36:36      阅读:170      评论:0      收藏:0      [点我收藏+]

标签:net   packages   group   err   set   ons   rust   col   mil   

Install rapyuta on client

sudo git clone -b master https://github.com/cnsdytzy/-Rapyuta-installation-in-Ubuntu14.04-LTS-Trusty-.git rce
cd ~/rce/rapyuta/python-iptables
sudo python setup.py build
sudo python setup.py install
cd ~/rce/rapyuta/rce
sudo chmod 777 install.sh
sudo ./install.sh
wget http://twistedmatrix.com/Releases/Twisted/13.1/Twisted-13.1.0.tar.bz2
tar xjf Twisted-13.1.0.tar.bz2
cd Twisted-13.1.0
python setup.py install
export ROS_PACKAGE_PATH=$ROS_PACKAGE_PATH:/home/pi/rce/rapyuta/rce/test
echo export ROS_PACKAGE_PATH=$ROS_PACKAGE_PATH:/home/pi/rce/rapyuta/rce/test >> ~/.bashrc
. ~/.bashrc
sudo mkdir ~/.rce
sudo cp config.ini creds  ~/.rce
sudo vim ~/.rce/config.ini 
[machine/packages] 
Test=/home/pi/rce/rapyuta/rce/test
You should rosmake the packages only in the container file system, as the specified (in config.ini) directories are mounted (using mount --bind) in the container file system. 
Here the rce-ros client complains that the service definition could not be found. Therefore, either the package is not discoverable by ROS or there is no python code for the service defninition, i.e. rosmake did not make the service definitions.

[1]https://groups.google.com/forum/#!msg/rapyuta/HOqCYITLkk0/2Gjfaabh27oJ

[2]https://stackoverflow.com/questions/17476761/importerror-no-module-named-twisted-internet

Install rapyuta client on Raspberry

标签:net   packages   group   err   set   ons   rust   col   mil   

原文地址:http://www.cnblogs.com/zhangyang/p/7575695.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!