Is anybody using roslaunch with remote launching via ssh ?

564 views
Skip to first unread message

lars.at.visi...@gmail.com

unread,
Jun 8, 2016, 4:34:01 AM6/8/16
to Mailing List of ROS Layer for OpenEmbedded Linux
Hello ladies and gents

Please excuse me but I  need some assistance.

Is there anybody in the whole wide world that is using roslaunch with remote launching ?
I you do how did you achieve that with bitbaking a meta-ros  ?
any pointers will be most welcome.

My setup has a number of embedded-computers ( for now only 5, but more will come).

All computers can ping each other via DNS-name, and ssh among them self's  without passwords


my launch file is:

<launch>
    <machine name="row-01" address="Computer-01" > </machine>
    <machine name="row-02" address="Computer-02" > </machine>
    <machine name="row-03" address="Computer-03-MASTER" env-loader="/opt/fpe/bin/ros_env.sh"  > </machine>
    <machine name="row-04" address="Computer-04" env-loader="/opt/fpe/bin/ros_env.sh"> </machine>
    <machine name="row-05" address="Computer-05" > </machine>
    <node name="periphealsdetector" pkg="periphealsdetector"  type="periphealsdetector" machine="row-03" respawn="true" > </node>
   <node name="lyt" pkg="fpe_beginner_tutorials" type="lytter" machine="row-04" >  </node>
   <node name="tal" pkg="fpe_beginner_tutorials" type="taler" machine="row-03" > </node>
</launch>



I keep getting:

root@Computer-03-MASTER:~# roslaunch -p 45600 /mnt/usb/master.launch
... logging to /home/root/log/8cff722e-2cc3-11e6-93c9-08002775a53d/roslaunch-Computer-03-MASTER-1103.log
Checking log directory for disk usage. This may take awhile.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.
started roslaunch server http://192.168.1.150:55210/
remote[Computer-04-0] starting roslaunch
remote[Computer-04-0]: creating ssh connection to Computer-04:22
remote[Computer-04-0]: failed to launch on row-04:
pycrypto is not installed

[Computer-04-0] killing on exit
unable to start remote roslaunch child: Computer-04-0
The traceback for the exception was written to the log file


The problem being that pycrypto is not on board my embedded.
I find nothing in any meta-ros / or python packages that provide a pycrypto 
and from examining /opt/ros/indigo/lib/python2.7/dist-packages/roslaunch/remoteprocess.py I can see my next "not installed" will be parmiko

The only reference I can find is http://wiki.ros.org/pycrypto, and a post boot rosdep is not an option for me - I need an image ready to run.
so how do I pull pycrypto and parmiko in to the 'bitbakery', and shouldn't it be an RDPEND for roslaunch ?

Thanks for reading this.
-Regards
Lars Larsen
Reply all
Reply to author
Forward
0 new messages