launch file to run nodes on remote robots [closed]
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