Re: [ros-users] can't seem to roslaunch nodes on other machi…

Top Page
Attachments:
Message as email
+ (text/plain)
+ (text/html)
Delete this message
Reply to this message
Author: Tully Foote
Date:  
To: ros-users
Subject: Re: [ros-users] can't seem to roslaunch nodes on other machines
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 <
> 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
>
> https://code.ros.org/mailman/listinfo/ros-users
>
>



--
Tully Foote
Systems Engineer
Willow Garage, Inc.

(650) 475-2827