CARLA
Loading...
Searching...
No Matches
LocalizationUtils.h 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

Typedefs

using carla::traffic_manager::Actor = carla::SharedPtr<cc::Actor>
using carla::traffic_manager::ActorIdSet = std::unordered_set<ActorId>
using carla::traffic_manager::TargetWPInfo = std::pair<SimpleWaypointPtr,uint64_t>
 Method to return the wayPoints from the waypoint Buffer by using target point distance.

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)