CARLA
 
载入中...
搜索中...
未找到
命名空间 | 类型定义 | 函数
LocalizationUtils.h 文件参考
#include "carla/client/Actor.h"
#include "carla/client/ActorList.h"
#include "carla/client/Vehicle.h"
#include "carla/client/World.h"
#include "carla/geom/Location.h"
#include "carla/road/RoadTypes.h"
#include "carla/rpc/ActorId.h"
#include "carla/trafficmanager/Constants.h"
#include "carla/trafficmanager/SimpleWaypoint.h"
#include "carla/trafficmanager/TrackTraffic.h"
+ LocalizationUtils.h 的引用(Include)关系图:
+ 此图展示该文件直接或间接的被哪些文件引用了:

浏览源代码.

命名空间

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

类型定义

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
 

函数

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)