首页 > Web开发 > 详细

Install rapyuta client on Raspberry

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

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

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

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!