CARLA
Namespaces | Functions
LocalizationUtils.cpp File Reference
#include "carla/trafficmanager/LocalizationUtils.h"
#include "carla/trafficmanager/Constants.h"
+ Include dependency graph for LocalizationUtils.cpp:

Go to the source code of this file.

Namespaces

 carla
 This file contains definitions of common data structures used in traffic manager.
 
 carla::traffic_manager
 

Functions

float carla::traffic_manager::DeviationCrossProduct (const cg::Location &reference_location, const cg::Vector3D &heading_vector, const cg::Location &target_location)
 Returns the cross product (z component value) between the vehicle's heading vector and the vector along the direction to the next target waypoint on the horizon. More...
 
float carla::traffic_manager::DeviationDotProduct (const cg::Location &reference_location, const cg::Vector3D &heading_vector, const cg::Location &target_location)
 Returns the dot product between the vehicle's heading vector and the vector along the direction to the next target waypoint on the horizon. More...
 
TargetWPInfo carla::traffic_manager::GetTargetWaypoint (const Buffer &waypoint_buffer, const float &target_point_distance)
 
void carla::traffic_manager::PopWaypoint (ActorId actor_id, TrackTraffic &track_traffic, Buffer &buffer, bool front_or_back)
 
void carla::traffic_manager::PushWaypoint (ActorId actor_id, TrackTraffic &track_traffic, Buffer &buffer, SimpleWaypointPtr &waypoint)