|
| float | carla::traffic_manager::GetPathSpeedLimit (const std::vector< cg::Location > &path, float path_start_offset, float sample_spacing, float lateral_acceleration, float braking_deceleration, float max_speed) |
| | Lowest sqrt(R * lateral_acceleration + 2 * braking_deceleration * distance) over every three consecutive samples taken at sample_spacing along path.
|
| |
| std::pair< cg::Location, uint64_t > | carla::traffic_manager::GetTargetData (const Buffer &waypoint_buffer, float target_distance, cg::Location vehicle_location) |
| | Returns the location reached by walking target_distance along the waypoint buffer from vehicle_location, plus the index of the bracketing waypoint.
|
| |
| float | carla::traffic_manager::GetThreePointCircleRadius (cg::Location first_location, cg::Location middle_location, cg::Location last_location) |
| | Returns the radius of the circle defined by three points in the XY plane.
|
| |
| std::pair< cg::Location, uint64_t > | carla::traffic_manager::InterpolateBufferAt (const std::vector< cg::Location > &waypoint_locations, float target_distance, cg::Location vehicle_location) |
| | Locations-only variant of GetTargetData.
|
| |
| bool | carla::traffic_manager::IsOffsetSideOccupied (cg::Location ego_location, cg::Vector3D ego_forward, cg::Vector3D offset_direction, float offset_magnitude, float lateral_clearance, float longitudinal_window, const std::vector< std::pair< cg::Location, float > > &neighbours) |
| | Returns true when a neighbouring vehicle sits in the lateral band that the wide-turn offset would swing the ego vehicle into.
|
| |
| float | carla::traffic_manager::LargeVehicleJunctionOffsetProfile (float t, float max_offset, float max_offset_point, float inboard_scale) |
| | Lateral offset profile for the large-vehicle wide turn, as a function of t, the fraction of the junction still ahead of the target waypoint (1 at the entry, 0 at the exit).
|
| |
| float | carla::traffic_manager::LargeVehicleOffsetMagnitude (float vehicle_length, float reference_length, float gain, float offset_cap) |
| | Wide-turn offset magnitude scaled by vehicle length: clamp(gain * (vehicle_length - reference_length), 0, offset_cap).
|
| |