CARLA
Loading...
Searching...
No Matches
LocalizationUtils.cpp File Reference

Go to the source code of this file.

Namespaces

namespace  carla
 This file contains definitions of common data structures used in traffic manager.
namespace  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.
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.
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)