Changed the default value of lane change record to match OpenDRIVE specification.
This commit is contained in:
parent
2fbae920b9
commit
6189aa59f6
|
@ -194,10 +194,10 @@ namespace road {
|
||||||
lc = RoadInfoMarkRecord::LaneChange::Increase;
|
lc = RoadInfoMarkRecord::LaneChange::Increase;
|
||||||
} else if (lane_change == "decrease") {
|
} else if (lane_change == "decrease") {
|
||||||
lc = RoadInfoMarkRecord::LaneChange::Decrease;
|
lc = RoadInfoMarkRecord::LaneChange::Decrease;
|
||||||
} else if (lane_change == "both") {
|
} else if (lane_change == "none") {
|
||||||
lc = RoadInfoMarkRecord::LaneChange::Both;
|
|
||||||
} else {
|
|
||||||
lc = RoadInfoMarkRecord::LaneChange::None;
|
lc = RoadInfoMarkRecord::LaneChange::None;
|
||||||
|
} else {
|
||||||
|
lc = RoadInfoMarkRecord::LaneChange::Both;
|
||||||
}
|
}
|
||||||
_temp_lane_info_container[lane].emplace_back(std::make_unique<RoadInfoMarkRecord>(s, road_mark_id, type,
|
_temp_lane_info_container[lane].emplace_back(std::make_unique<RoadInfoMarkRecord>(s, road_mark_id, type,
|
||||||
weight, color,
|
weight, color,
|
||||||
|
|
Loading…
Reference in New Issue