19 namespace traffic_manager {
59 bool _is_junction =
false;
73 std::vector<SimpleWaypointPtr> GetNextWaypoint()
const;
76 std::vector<SimpleWaypointPtr> GetPreviousWaypoint()
const;
82 uint64_t GetId()
const;
85 uint64_t SetNextWaypoint(
const std::vector<SimpleWaypointPtr> &next_waypoints);
88 uint64_t SetPreviousWaypoint(
const std::vector<SimpleWaypointPtr> &next_waypoints);
103 void SetGeodesicGridId(
GeoGridId _geodesic_grid_id);
117 float DistanceSquared(
const cg::Location &location)
const;
123 bool CheckJunction()
const;
126 void SetIsJunction(
bool value);
129 bool CheckIntersection()
const;
SimpleWaypointPtr next_right_waypoint
Pointer to right lane change waypoint.
SimpleWaypointPtr next_left_waypoint
Pointer to left lane change waypoint.
WaypointPtr waypoint
Pointer to Carla's waypoint object around which this class wraps around.
boost::shared_ptr< T > SharedPtr
Use this SharedPtr (boost::shared_ptr) to keep compatibility with boost::python, but it would be nice...
This file contains definitions of common data structures used in traffic manager. ...
std::vector< SimpleWaypointPtr > previous_waypoints
List of pointers to previous connecting waypoints.
This is a simple wrapper class on Carla's waypoint object.
std::shared_ptr< SimpleWaypoint > SimpleWaypointPtr
carla::SharedPtr< cc::Waypoint > WaypointPtr
std::vector< SimpleWaypointPtr > next_waypoints
List of pointers to next connecting waypoints.