Install rapyuta client on Raspberry Pi
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 vim ~/rce/rapyuta/rce/test/debug.cfg ;设置远程服务端IP地址等信息
客户端RCE的安装设置要点是:在安装完毕后,运行的关键在于cfg文件(Test例子中是debug.cfg)。
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