Add diferent route options to the RoutePlanner

This commit is contained in:
iFuSiiOnzZ 2018-10-16 18:24:16 +02:00
parent 42af43ace5
commit 62a48ca689
2 changed files with 2 additions and 8 deletions

View File

@ -57,7 +57,7 @@ void AOpenDriveActor::BeginPlay()
processed.Add(id);
}
/*std::vector<carla::road::id_type> successorIds = map.GetRoad(id)->GetSuccessorsIds();
std::vector<carla::road::id_type> successorIds = map.GetRoad(id)->GetSuccessorsIds();
if (successorIds.size())
{
ARoutePlanner *routePlaner = GetWorld()->SpawnActor<ARoutePlanner>();
@ -67,7 +67,7 @@ void AOpenDriveActor::BeginPlay()
fnc_generate_points(map.GetRoad(successorID), routePlaner);
processed.Add(successorID);
}
}*/
}
}
}

View File

@ -124,12 +124,6 @@ void ARoutePlanner::Init()
}
}
void ARoutePlanner::Tick(float DeltaTime)
{
Super::Tick(DeltaTime);
UE_LOG(LogCarla, Log, TEXT("%f %f %f\n"), GetActorLocation().X, GetActorLocation().Y, GetActorLocation().Z);
}
void ARoutePlanner::BeginPlay()
{
Super::BeginPlay();