diff --git a/OpenRoadEd/create_junction_road.cpp b/OpenRoadEd/create_junction_road.cpp index 48e48fcc32aaf4d6531b3e19b3e1c1c985beecf5..6fe182bb0dcbd04f638faaf7ce6463b50019c699 100644 --- a/OpenRoadEd/create_junction_road.cpp +++ b/OpenRoadEd/create_junction_road.cpp @@ -33,7 +33,7 @@ unsigned int create_junction_road(RoadTree *road_tree, OpenDrive *open_drive,uns junction=open_drive->GetJunction(junction_index); connection=junction->GetJunctionConnection(connection_index); lane_link=connection->GetJunctionLaneLink(lane_link_index); - name << "juntion_" << connection->GetIncomingRoad() << "_" << lane_link->GetFrom() << "_" << connection->GetConnectingRoad() << "_" << lane_link->GetTo(); + name << "junction_" << connection->GetIncomingRoad() << "_" << lane_link->GetFrom() << "_" << connection->GetConnectingRoad() << "_" << lane_link->GetTo(); roads=open_drive->GetRoadVector(); for(unsigned int i=0;i<roads->size();i++) { @@ -420,7 +420,7 @@ unsigned int create_junction_road(RoadTree *road_tree, OpenDrive *open_drive,uns // add lane section // RIGHT center_lane_index=new_lane_section.AddLane(0,0,"driving", false); - left_lane_index=new_lane_section.AddLane(1,1,"driving", false); + //left_lane_index=new_lane_section.AddLane(1,1,"driving", false); right_lane_index=new_lane_section.AddLane(-1,-1,"driving", false); lane=new_lane_section.GetLastAddedLane(); right_lane_width_index=lane->AddWidthRecord(0.0,lane_start_width,0.0,0.0,0.0); @@ -431,7 +431,7 @@ unsigned int create_junction_road(RoadTree *road_tree, OpenDrive *open_drive,uns (*lane_section)=new_lane_section; road_tree->AddLaneSection(road_index,0, false); road_tree->AddLaneCenter(road_index,0,center_lane_index, false); - road_tree->AddLaneLeft(road_index,0,left_lane_index, false); +// road_tree->AddLaneLeft(road_index,0,left_lane_index, false); road_tree->AddLaneRight(road_index,0,right_lane_index, false); road_tree->AddLaneWidth(road_index,0,right_lane_index,right_lane_width_index, false); }