Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
Sampling-Based Abstractions
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
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
Thom Badings
Sampling-Based Abstractions
Commits
9fa43a68
Commit
9fa43a68
authored
2 years ago
by
Thom Badings
Browse files
Options
Downloads
Patches
Plain Diff
Separate branch for creating some manual 3D UAV figures
parent
b5c74062
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
SBA-RunFile.py
+2
-0
2 additions, 0 deletions
SBA-RunFile.py
core/postprocessing/createPlots.py
+7
-4
7 additions, 4 deletions
core/postprocessing/createPlots.py
with
9 additions
and
4 deletions
SBA-RunFile.py
+
2
−
0
View file @
9fa43a68
...
...
@@ -133,6 +133,8 @@ if ScAb.setup.main['newRun'] is True:
# Create directories
createDirectory
(
ScAb
.
setup
.
directories
[
'
outputF
'
])
assert
False
# Create actions and determine which ones are enabled
ScAb
.
defActions
()
...
...
This diff is collapsed.
Click to expand it.
core/postprocessing/createPlots.py
+
7
−
4
View file @
9fa43a68
...
...
@@ -727,7 +727,7 @@ def UAVplot2D(i_show, i_hide, setup, model, abstr, traces, cut_value,
plt
.
show
()
def
UAVplot3d_visvis
(
setup
,
model
,
abstr
,
traces
,
cut_value
):
def
UAVplot3d_visvis
(
setup
,
model
,
abstr
,
traces
,
cut_value
,
view
=
'
3D
'
):
'''
Create 3D trajectory plots for the 3D UAV benchmark
...
...
@@ -848,12 +848,15 @@ def UAVplot3d_visvis(setup, model, abstr, traces, cut_value):
vv
.
axis
(
'
tight
'
,
axes
=
ax
)
fig
.
position
.
w
=
7
00
fig
.
position
.
h
=
6
00
fig
.
position
.
w
=
14
00
fig
.
position
.
h
=
20
00
im
=
vv
.
getframe
(
vv
.
gcf
())
ax
.
SetView
({
'
zoom
'
:
0.042
,
'
elevation
'
:
25
,
'
azimuth
'
:
-
35
})
if
view
==
'
3D
'
:
ax
.
SetView
({
'
zoom
'
:
0.042
,
'
elevation
'
:
25
,
'
azimuth
'
:
-
35
})
elif
view
==
'
topdown
'
:
ax
.
SetView
({
'
zoom
'
:
0.042
,
'
elevation
'
:
90
,
'
azimuth
'
:
0
})
if
'
outputFcase
'
in
setup
.
directories
:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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