[ros-users] can't seem to roslaunch nodes on other machines

Sean Anderson sanderson at clearpathrobotics.com
Mon Jul 5 21:39:29 UTC 2010


Thanks Tully,

No we're not using a NFS currently...

It seems the problem is that roslaunch is using my (sanderson) local
environment variables as the default while ssh'ing into citadel.local
(mpurvis) ... I was hoping there was a "easy" way to tell the remote machine
to use its own environment variables other than finding out what they are
manually and baking them into the machine definition.

Any thoughts?

Thanks,

Sean

On Mon, Jul 5, 2010 at 5:22 PM, Tully Foote <tfoote at willowgarage.com> wrote:

> Sean,
> The error it's complaining about suggests that the computer citadel.local
> doesn't have ros installed in /home/sanderson/ros  If you don't have NFS or
> an other shared file system you need to make sure you have the same paths,
> or you need to set ROS_ROOT and ROS_PACKAGE_PATH for the machine tag such
> that roslaunch can find the ros stack and other stacks on the remote
> machine.  See http://www.ros.org/wiki/roslaunch/XML/machine
>
> In particular, I note that your username on citadel.local is mpurvis but
> your path exports /home/sanderson/...
>
> Tully
>
> On Mon, Jul 5, 2010 at 1:26 PM, Sean Anderson <
> sanderson at clearpathrobotics.com> wrote:
>
>> I'm trying to create a roslaunch file that will be able to spin up many of
>> the main nodes I will be using. In this file, I want to launch my navigation
>> based nodes on a netbook mounted to the robot.
>>
>> I've followed some of the examples I found about setting up roslaunch and
>> machine definitions, as well as setting up ssh keys for permission
>>
>> it seems that the problem is, after ssh'ing in, it wants to use my local
>> ROS_ROOT directory on the other machine..
>>
>> here is the output:
>>
>> started roslaunch server http://sanderson:50947/
>> remote[citadel.local-0] starting roslaunch
>> remote[citadel.local-0]: creating ssh connection to citadel.local:22,
>> user[mpurvis]
>> remote[citadel.local-0]: ssh connection created
>> remote[citadel.local-0]: env: /home/sanderson/ros/ros/bin/roslaunch: No
>> such file or directory
>>
>> [citadel.local-0] process has died
>> remote roslaunch failed to launch: core
>>
>> I've set up a roslaunch file that includes this:
>>
>> <launch>
>>   <include file="$(find clearpath_gui)/list.machine" />
>>   <group ns="clearpath/robots/$(optenv ID default)">
>>     <node pkg="clearpath_2dnav" type="odometry_publisher.py" name="$(anon
>> odometry)" machine="core" output="screen" />
>>   </group>
>> </launch>
>>
>> I've tried list.machine with both:
>>
>> <launch>
>>   <machine name="core" address="citadel.local" ros-root="$(env ROS_ROOT)"
>> ros-package-path="$(env ROS_PACKAGE_PATH)" user="mpurvis"/>
>> </launch>
>>
>> and
>>
>> <launch>
>>   <machine name="core" address="citadel.local" user="mpurvis"/>
>> </launch>
>>
>>
>> Any help is greatly appreciated!! Thanks
>>
>> _______________________________________________
>> ros-users mailing list
>> ros-users at code.ros.org
>> https://code.ros.org/mailman/listinfo/ros-users
>>
>>
>
>
> --
> Tully Foote
> Systems Engineer
> Willow Garage, Inc.
> tfoote at willowgarage.com
> (650) 475-2827
>
> _______________________________________________
> ros-users mailing list
> ros-users at code.ros.org
> https://code.ros.org/mailman/listinfo/ros-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ros.org/pipermail/ros-users/attachments/20100705/c7a17f05/attachment-0003.html>


More information about the ros-users mailing list