launch file to run nodes on remote robots [closed]

asked 2013-08-12 19:03:51 -0600

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

We added this line to our launch file in order to run a node on another machine: <machine name="robot" address="robot.dynamic.edu" env-loader="/opt/ros/groovy/env.sh" user="turtlebot"/>

The problem is we would get this error: robot.dynamic.edu is not in your SSH known_hosts file.

Please manually: ssh turtlebot@robot.dynamic.edu

then try roslaunching again.

If you wish to configure roslaunch to automatically recognize unknown hosts, please set the environment variable ROSLAUNCH_SSH_UNKNOWN=1

Our environment variable is set to: #!/usr/bin/env sh

generated from catkin/cmake/templates/env.sh.in

if [ $# -eq 0 ] ; then /bin/echo "Usage: env.sh COMMANDS" /bin/echo "Calling env.sh without arguments is not supported anymore. Instead spawn a subshell and source a setup file manually." exit 1 else . "/opt/ros/groovy/setup.sh" exec "$@" fi

edit retag flag offensive reopen merge delete

Closed for the following reason duplicate question by weiin
close date 2013-08-12 19:54:35