Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
Semesterprojekt Modulbasiertes Testen
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jonas Trappe
Semesterprojekt Modulbasiertes Testen
Commits
f350fdc7
Commit
f350fdc7
authored
5 years ago
by
Pascal Stolzenburg
Browse files
Options
Downloads
Patches
Plain Diff
Update testmanager.sh
parent
aeb0cf39
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
build/sim/testmanager.sh
+5
-3
5 additions, 3 deletions
build/sim/testmanager.sh
with
5 additions
and
3 deletions
build/sim/testmanager.sh
+
5
−
3
View file @
f350fdc7
...
@@ -23,12 +23,14 @@ if [ "$type" = "burger" ]
...
@@ -23,12 +23,14 @@ if [ "$type" = "burger" ]
then
then
botlaenge
=
0.069
botlaenge
=
0.069
bothoehe
=
0.19
else
else
# neben 'burger' existieren im Beispiel nur 'waffle' und 'waffle_pi', für welche die Länge gleich ist
# neben 'burger' existieren im Beispiel nur 'waffle' und 'waffle_pi', für welche die Länge gleich ist
botlaenge
=
0.1405
botlaenge
=
0.1405
bothoehe
=
0.14
fi
fi
...
@@ -81,7 +83,7 @@ for ((i=0; i<${anzahlTests}; i++)); do
...
@@ -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
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
# Launch-Datei dem Testfall entsprechend schreiben
# Um die Simulation headless auszuführen bitte Zeile 9
6
mit '<arg name="gui" value="false"/>' ersetzen
# Um die Simulation headless auszuführen bitte Zeile 9
8
mit '<arg name="gui" value="false"/>' ersetzen
echo
'<launch>
echo
'<launch>
<arg name="model" default="$(env TURTLEBOT3_MODEL)" doc="model type [burger, waffle, waffle_pi]"/>
<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
...
@@ -136,11 +138,11 @@ for ((i=0; i<${anzahlTests}; i++)); do
then
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
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
fi
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment