Add diferent route options to the RoutePlanner
This commit is contained in:
parent
42af43ace5
commit
62a48ca689
|
@ -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);
|
||||
}
|
||||
}*/
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue