Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

How to include a .launch file on a remote machine from a .launch file?

I'm trying to write a launch file that automatically ssh's and launches turtlebot_bringup minimal.launch on my turtlebot from my computer. I'm using Indigo. I have something like this:

<launch>
  <machine name="machname" address="mybot" user="myuser"/>
  <include file="/opt/ros/indigo/share/turtlebot_bringup/launch/minimal.launch" machine="machname"/>
</launch>

as suggested in this question. However, like the some of the commenters in that question, I'm getting a "unknown <include> attribute 'machine'" error. What's the correct way to do this? Thanks in advance for the help!