CARLA
Loading...
Searching...
No Matches
WheeledVehicleAIController.cpp File Reference
#include "Carla/Vehicle/WheeledVehicleAIController.h"
#include "Carla.h"
#include "Carla/MapGen/RoadMap.h"
#include "Carla/Traffic/RoutePlanner.h"
#include "Carla/Vehicle/CarlaWheeledVehicle.h"
#include "Carla/CityMapGenerator.h"
#include "Carla/Util/RandomEngine.h"
#include <util/ue-header-guard-begin.h>
#include "EngineUtils.h"
#include "GameFramework/Pawn.h"
#include "ChaosWheeledVehicleMovementComponent.h"
#include <util/ue-header-guard-end.h>

Go to the source code of this file.

Functions

template<typename T>
static void ClearQueue (std::queue< T > &Queue)
static bool IsThereAnObstacleAhead (const ACarlaWheeledVehicle &Vehicle, const float Speed, const FVector &Direction)
static bool RayCast (const AActor &Actor, const FVector &Start, const FVector &End)

Function Documentation

◆ ClearQueue()

template<typename T>
void ClearQueue ( std::queue< T > & Queue)
static

◆ IsThereAnObstacleAhead()

bool IsThereAnObstacleAhead ( const ACarlaWheeledVehicle & Vehicle,
const float Speed,
const FVector & Direction )
static

Definition at line 45 of file WheeledVehicleAIController.cpp.

References IsThereAnObstacleAhead(), RayCast(), and Vehicle.

Referenced by IsThereAnObstacleAhead().

◆ RayCast()

bool RayCast ( const AActor & Actor,
const FVector & Start,
const FVector & End )
static

Definition at line 25 of file WheeledVehicleAIController.cpp.

References RayCast(), and Success.

Referenced by IsThereAnObstacleAhead(), and RayCast().