1. 程式人生 > >Install rapyuta client on Raspberry

Install rapyuta client on Raspberry

pbe system cred line config spec pla ans https

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