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-iptablessudo python setup.py buildsudo python setup.py install
cd ~/rce/rapyuta/rcesudo chmod 777 install.shsudo ./install.sh
wget http://twistedmatrix.com/Releases/Twisted/13.1/Twisted-13.1.0.tar.bz2tar xjf Twisted-13.1.0.tar.bz2cd Twisted-13.1.0python setup.py install
export ROS_PACKAGE_PATH=$ROS_PACKAGE_PATH:/home/pi/rce/rapyuta/rce/testecho ‘export ROS_PACKAGE_PATH=$ROS_PACKAGE_PATH:/home/pi/rce/rapyuta/rce/test‘ >> ~/.bashrc. ~/.bashrc
sudo mkdir ~/.rcesudo cp config.ini creds ?~/.rcesudo 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