Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Eclipse Projects
Eclipse simopenpass
opSimulation
Commits
c6710753
Commit
c6710753
authored
Dec 16, 2021
by
Michael Scharfenberg
Browse files
Add pcm name as name to xodr
parent
a44e9222
Pipeline
#1641
canceled with stage
in 0 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
gui/plugins/pcmSimulation/Models/ConfigurationGeneratorPcm/DataStructuresXml/XmlStandardObject.cpp
View file @
c6710753
...
...
@@ -43,7 +43,7 @@ bool XmlStandardObject::WriteToXml(QXmlStreamWriter *xmlWriter)
xmlWriter
->
writeAttribute
(
"t"
,
QString
::
number
(
calcT
()));
xmlWriter
->
writeAttribute
(
"id"
,
QString
::
number
(
standardObject
->
GetObjectId
()));
xmlWriter
->
writeAttribute
(
"type"
,
QString
::
fromStdString
(
standardObject
->
objectTypeMap
.
at
(
standardObject
->
GetObjectType
())));
xmlWriter
->
writeAttribute
(
"name"
,
"
stationary car"
);
xmlWriter
->
writeAttribute
(
"name"
,
"
PCM-"
+
QString
::
number
(
standardObject
->
GetObjectId
())
);
xmlWriter
->
writeAttribute
(
"pitch"
,
"0"
);
xmlWriter
->
writeAttribute
(
"roll"
,
"0"
);
xmlWriter
->
writeAttribute
(
"zOffset"
,
"0"
);
...
...
Write
Preview
Supports
Markdown
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!
Cancel
Please
register
or
sign in
to comment