From f350fdc7c060ad2acfe5b00899c0a7e2a9b08cc4 Mon Sep 17 00:00:00 2001 From: Pascal Stolzenburg <pascal.stolzenburg@informatik.hu-berlin.de> Date: Thu, 26 Mar 2020 19:23:35 +0100 Subject: [PATCH] Update testmanager.sh --- build/sim/testmanager.sh | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/build/sim/testmanager.sh b/build/sim/testmanager.sh index 278e9b0..27b7827 100755 --- a/build/sim/testmanager.sh +++ b/build/sim/testmanager.sh @@ -23,12 +23,14 @@ if [ "$type" = "burger" ] then botlaenge=0.069 + bothoehe=0.19 else # neben 'burger' existieren im Beispiel nur 'waffle' und 'waffle_pi', für welche die Länge gleich ist botlaenge=0.1405 + bothoehe=0.14 fi @@ -81,7 +83,7 @@ for ((i=0; i<${anzahlTests}; i++)); do cp ~/catkin_ws/src/semesterprojekt-modulbasiertes-testen/build/test/testfaelle/$path/test.world ~/catkin_ws/src/semesterprojekt-modulbasiertes-testen/build/sim/worlds/$filename.world # Launch-Datei dem Testfall entsprechend schreiben - # Um die Simulation headless auszuführen bitte Zeile 96 mit '<arg name="gui" value="false"/>' ersetzen + # Um die Simulation headless auszuführen bitte Zeile 98 mit '<arg name="gui" value="false"/>' ersetzen echo '<launch> <arg name="model" default="$(env TURTLEBOT3_MODEL)" doc="model type [burger, waffle, waffle_pi]"/> @@ -136,11 +138,11 @@ for ((i=0; i<${anzahlTests}; i++)); do then - rosrun location_monitor location_monitor_node.py $botlaenge 0 0 $dist 500 $timeout + rosrun location_monitor location_monitor_node.py $botlaenge $bothoehe 0 0 $dist 500 $timeout else - rosrun location_monitor location_monitor_node.py $botlaenge 0.07 68 $dist 500 $timeout + rosrun location_monitor location_monitor_node.py $botlaenge $bothoehe 0.07 68 $dist 500 $timeout fi -- GitLab