turn lane handler moved to scenario based handling
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
#include "util/debug.hpp"
|
||||
|
||||
#include "extractor/guidance/turn_lane_augmentation.hpp"
|
||||
#include "extractor/guidance/turn_lane_types.hpp"
|
||||
#include "util/simple_logger.hpp"
|
||||
@@ -280,6 +282,13 @@ LaneDataVector handleNoneValueAtSimpleTurn(LaneDataVector lane_data,
|
||||
// we have to reduce it, assigning it to neighboring turns
|
||||
else if (connection_count < lane_data.size())
|
||||
{
|
||||
if( connection_count+1 < lane_data.size() ){
|
||||
std::cout << "[error] failed assignment" << std::endl;
|
||||
util::guidance::print(lane_data);
|
||||
std::cout << "Intersection:\n";
|
||||
for( auto road : intersection )
|
||||
std::cout << "\t" << toString(road) << std::endl;
|
||||
}
|
||||
// a pgerequisite is simple turns. Larger differences should not end up here
|
||||
// an additional line at the side is only reasonable if it is targeting public
|
||||
// service vehicles. Otherwise, we should not have it
|
||||
|
||||
Reference in New Issue
Block a user