Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
OpenRoadEd
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
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
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
mobile_robotics
ADC
libraries
OpenRoadEd
Commits
216cd5c1
Commit
216cd5c1
authored
4 years ago
by
Sergi Hernandez
Browse files
Options
Downloads
Patches
Plain Diff
Solved the error messages when processing the roadMark tag: all were the same.
parent
72002496
No related branches found
Branches containing commit
No related tags found
1 merge request
!1
Param poly3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
OpenRoadEd/OpenDrive/Lane.cpp
+1
-1
1 addition, 1 deletion
OpenRoadEd/OpenDrive/Lane.cpp
OpenRoadEd/OpenDrive/OpenDriveXmlParser.cpp
+7
-7
7 additions, 7 deletions
OpenRoadEd/OpenDrive/OpenDriveXmlParser.cpp
with
8 additions
and
8 deletions
OpenRoadEd/OpenDrive/Lane.cpp
+
1
−
1
View file @
216cd5c1
...
...
@@ -1506,4 +1506,4 @@ void LaneHeight::SetS(double value)
void
LaneHeight
::
SetInner
(
double
value
)
{
mInner
=
value
;
}
void
LaneHeight
::
SetOuter
(
double
value
)
{
mOuter
=
value
;
}
\ No newline at end of file
{
mOuter
=
value
;
}
This diff is collapsed.
Click to expand it.
OpenRoadEd/OpenDrive/OpenDriveXmlParser.cpp
+
7
−
7
View file @
216cd5c1
...
...
@@ -783,7 +783,7 @@ bool OpenDriveXmlParser::ReadLaneWidth(Lane* lane, TiXmlElement *node)
if
(
checker
!=
TIXML_SUCCESS
)
{
cout
<<
"Error parsing Lane W
eight
attributes"
<<
endl
;
cout
<<
"Error parsing Lane W
idth
attributes"
<<
endl
;
return
false
;
}
...
...
@@ -811,7 +811,7 @@ bool OpenDriveXmlParser::ReadLaneRoadMark(Lane* lane, TiXmlElement *node)
if
(
checker
!=
TIXML_SUCCESS
)
{
cout
<<
"Error parsing Lane
Weight
attributes"
<<
endl
;
cout
<<
"Error parsing Lane
road mark
attributes"
<<
endl
;
return
false
;
}
else
...
...
@@ -852,7 +852,7 @@ bool OpenDriveXmlParser::ReadLaneMaterial(Lane* lane, TiXmlElement *node)
checker
+=
node
->
QueryDoubleAttribute
(
"roughness"
,
&
roughness
);
if
(
checker
!=
TIXML_SUCCESS
)
{
cout
<<
"Error parsing Lane
Weight
attributes"
<<
endl
;
cout
<<
"Error parsing Lane
material
attributes"
<<
endl
;
return
false
;
}
...
...
@@ -879,7 +879,7 @@ bool OpenDriveXmlParser::ReadLaneVisibility(Lane* lane, TiXmlElement *node)
checker
+=
node
->
QueryDoubleAttribute
(
"right"
,
&
right
);
if
(
checker
!=
TIXML_SUCCESS
)
{
cout
<<
"Error parsing Lane
Weight
attributes"
<<
endl
;
cout
<<
"Error parsing Lane
visibility
attributes"
<<
endl
;
return
false
;
}
...
...
@@ -899,7 +899,7 @@ bool OpenDriveXmlParser::ReadLaneSpeed(Lane* lane, TiXmlElement *node)
checker
+=
node
->
QueryDoubleAttribute
(
"max"
,
&
max
);
if
(
checker
!=
TIXML_SUCCESS
)
{
cout
<<
"Error parsing Lane
Weight
attributes"
<<
endl
;
cout
<<
"Error parsing Lane
speed
attributes"
<<
endl
;
return
false
;
}
...
...
@@ -919,7 +919,7 @@ bool OpenDriveXmlParser::ReadLaneAccess(Lane* lane, TiXmlElement *node)
checker
+=
node
->
QueryStringAttribute
(
"restriction"
,
&
restriction
);
if
(
checker
!=
TIXML_SUCCESS
)
{
cout
<<
"Error parsing Lane
Weight
attributes"
<<
endl
;
cout
<<
"Error parsing Lane
access
attributes"
<<
endl
;
return
false
;
}
...
...
@@ -941,7 +941,7 @@ bool OpenDriveXmlParser::ReadLaneHeight(Lane* lane, TiXmlElement *node)
checker
+=
node
->
QueryDoubleAttribute
(
"outer"
,
&
outer
);
if
(
checker
!=
TIXML_SUCCESS
)
{
cout
<<
"Error parsing Lane
W
eight attributes"
<<
endl
;
cout
<<
"Error parsing Lane
h
eight attributes"
<<
endl
;
return
false
;
}
...
...
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