diff --git a/build/sim/testmanager.sh b/build/sim/testmanager.sh index 278e9b042faaf4ab1af0d9e918982a04f1d4e95c..27b78270f666ad8094d3affd76068b03bd5e9a71 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