From 06fb8fa4bb988104c50538f7c1318c9289c516f6 Mon Sep 17 00:00:00 2001
From: Sergi Hernandez Juan <shernand@iri.upc.edu>
Date: Tue, 10 Jul 2018 10:00:25 +0200
Subject: [PATCH] Changed the included launch file depending on the robot type.

---
 darwin_description/launch/darwin_sim.launch | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/darwin_description/launch/darwin_sim.launch b/darwin_description/launch/darwin_sim.launch
index aa79b17..113ed73 100644
--- a/darwin_description/launch/darwin_sim.launch
+++ b/darwin_description/launch/darwin_sim.launch
@@ -6,7 +6,7 @@
     <arg name="robot" value="$(arg robot)" />
   </include>
 
-  <include file="$(find darwin_control)/launch/darwin_control.launch">
+  <include file="$(find darwin_control)/launch/$(arg robot)_control.launch">
     <arg name="robot" value="$(arg robot)" />
   </include>
 
-- 
GitLab