Skip to content
Snippets Groups Projects
Commit 216cd5c1 authored by Sergi Hernandez's avatar Sergi Hernandez
Browse files

Solved the error messages when processing the roadMark tag: all were the same.

parent 72002496
No related branches found
No related tags found
1 merge request!1Param poly3
......@@ -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; }
......@@ -783,7 +783,7 @@ bool OpenDriveXmlParser::ReadLaneWidth(Lane* lane, TiXmlElement *node)
if (checker!=TIXML_SUCCESS)
{
cout<<"Error parsing Lane Weight attributes"<<endl;
cout<<"Error parsing Lane Width 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 Weight attributes"<<endl;
cout<<"Error parsing Lane height attributes"<<endl;
return false;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment