[ros-users] can't seem to roslaunch nodes on other machines
sanderson at clearpathrobotics.com
Mon Jul 5 21:39:29 UTC 2010
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.
On Mon, Jul 5, 2010 at 5:22 PM, Tully Foote <tfoote at willowgarage.com> wrote:
> 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/...
> 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,
>> 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:
>> <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" />
>> I've tried list.machine with both:
>> <machine name="core" address="citadel.local" ros-root="$(env ROS_ROOT)"
>> ros-package-path="$(env ROS_PACKAGE_PATH)" user="mpurvis"/>
>> <machine name="core" address="citadel.local" user="mpurvis"/>
>> Any help is greatly appreciated!! Thanks
>> ros-users mailing list
>> ros-users at code.ros.org
> Tully Foote
> Systems Engineer
> Willow Garage, Inc.
> tfoote at willowgarage.com
> (650) 475-2827
> ros-users mailing list
> ros-users at code.ros.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the ros-users