|
CARLA
|
#include "test.h"#include <algorithm>#include <cmath>#include <limits>#include <utility>#include <vector>#include <carla/geom/Location.h>#include <carla/trafficmanager/Constants.h>#include <carla/trafficmanager/DataStructures.h>#include <carla/trafficmanager/PIDController.h>#include <carla/trafficmanager/TrafficManagerGeometry.h>Go to the source code of this file.
Classes | |
| struct | ActuationSignal |
| Structure to hold the actuation signals. More... | |
| struct | StateEntry |
| Structure to hold the controller state. More... | |
Functions | |
| float | 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. | |
| float | 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 > | InterpolateBufferAt (const std::vector< cg::Location > &waypoint_locations, float target_distance, cg::Location vehicle_location) |
| Locations-only variant of GetTargetData. | |
| bool | 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 | 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 | 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). | |
| TEST (TrafficManagerActuationSmoothing, Deadband_HoldsTheBrakeDitherAndPassesARealStep) | |
| TEST (TrafficManagerActuationSmoothing, Deadband_HoldsTheSteeringDitherAtUrbanSpeed) | |
| TEST (TrafficManagerActuationSmoothing, Deadband_HoldsTheThrottleDitherAndPassesARealStep) | |
| TEST (TrafficManagerActuationSmoothing, Deadband_SteeringBandShrinksWithSpeed) | |
| TEST (TrafficManagerActuationSmoothing, Deadband_ZeroPedalDemandIsAlwaysHonoured) | |
| TEST (TrafficManagerActuationSmoothing, LaunchRamp_AlwaysClearsTheThrottleDeadband) | |
| TEST (TrafficManagerActuationSmoothing, LaunchRamp_IsReleasedAboveTheLaunchSpeed) | |
| TEST (TrafficManagerActuationSmoothing, LaunchRamp_LimitsTheThrottleRiseFromRest) | |
| TEST (TrafficManagerActuationSmoothing, LaunchRamp_NeverRaisesAFallingThrottle) | |
| TEST (TrafficManagerActuationSmoothing, LaunchRamp_ReachesFullThrottleInABoundedNumberOfSteps) | |
| TEST (TrafficManagerBatchSync, IsBatchSyncDue_AtOrPastTheBoundOneIsWaitedFor) | |
| TEST (TrafficManagerBatchSync, IsBatchSyncDue_WithinTheBoundNothingIsWaitedFor) | |
| TEST (TrafficManagerBatchSync, QueueNeverHoldsMoreThanThePermittedBatches) | |
| TEST (TrafficManagerBatchSync, SlowServerWithAFixedDeltaIsBoundedTheSameWayAsAFastOne) | |
| TEST (TrafficManagerComfortConstants, ReferenceLeadOutrunsTheThrottleSaturationError) | |
| TEST (TrafficManagerGeometry, ThreePointCircleRadius_EquilateralTriangle) | |
| TEST (TrafficManagerGeometry, ThreePointCircleRadius_NearlyCollinearReturnsLarge) | |
| TEST (TrafficManagerGeometry, ThreePointCircleRadius_PerfectlyCollinearReturnsMax) | |
| TEST (TrafficManagerGeometry, ThreePointCircleRadius_RightTriangle) | |
| TEST (TrafficManagerInterpolation, InterpolateBufferAt_BracketBetweenLastTwoWaypoints) | |
| TEST (TrafficManagerInterpolation, InterpolateBufferAt_CoincidentBracketReturnsClosest) | |
| TEST (TrafficManagerInterpolation, InterpolateBufferAt_DistanceBeyondLastWaypoint) | |
| TEST (TrafficManagerInterpolation, InterpolateBufferAt_DistanceShorterThanFirstWaypoint) | |
| TEST (TrafficManagerInterpolation, InterpolateBufferAt_EmptyBufferReturnsVehicleLocation) | |
| TEST (TrafficManagerInterpolation, InterpolateBufferAt_LinearInterpBetweenTwoPoints) | |
| TEST (TrafficManagerInterpolation, InterpolateBufferAt_SingleElementReturnsThatElement) | |
| TEST (TrafficManagerPathSpeed, PathSpeedLimit_AllowsMoreSpeedFurtherFromTheTurn) | |
| TEST (TrafficManagerPathSpeed, PathSpeedLimit_ArcBehindTheVehicleIsNotCreditedWithBraking) | |
| TEST (TrafficManagerPathSpeed, PathSpeedLimit_ArcUnderfootAllowsItsOwnSpeed) | |
| TEST (TrafficManagerPathSpeed, PathSpeedLimit_HoldsSteadyAsAnArcIsConsumed) | |
| TEST (TrafficManagerPathSpeed, PathSpeedLimit_NonPositiveSpacingIsNotLimited) | |
| TEST (TrafficManagerPathSpeed, PathSpeedLimit_PathShorterThanTwoSamplesIsNotLimited) | |
| TEST (TrafficManagerPathSpeed, PathSpeedLimit_ShortPathIsNotLimited) | |
| TEST (TrafficManagerPathSpeed, PathSpeedLimit_StraightPathIsNotLimited) | |
| TEST (TrafficManagerPathSpeed, PathSpeedLimit_TighterTurnAllowsLessSpeed) | |
| TEST (TrafficManagerReferenceVelocity, ShapeReference_DecelerationIsPassedThroughUnshaped) | |
| TEST (TrafficManagerReferenceVelocity, ShapeReference_EmergencyStopDiscardsTheStoredReference) | |
| TEST (TrafficManagerReferenceVelocity, ShapeReference_LeadStaysBoundedWhileTheVehicleCannotFollow) | |
| TEST (TrafficManagerReferenceVelocity, ShapeReference_NeverExceedsTheTarget) | |
| TEST (TrafficManagerReferenceVelocity, ShapeReference_RampsAwayFromRestAtComfortAcceleration) | |
| TEST (TrafficManagerReferenceVelocity, ShapeReference_ShortFrameStillAdvancesTheReference) | |
| TEST (TrafficManagerReferenceVelocity, ShapeReference_SlowServerStillRampsAtTheCompensatedRate) | |
| TEST (TrafficManagerReferenceVelocity, ShapeReference_StaleHighReferenceIsCappedToTheLead) | |
| TEST (TrafficManagerReferenceVelocity, ShapeReference_StaleLowReferenceIsRecoveredInOneStep) | |
| TEST (TrafficManagerReferenceVelocity, VelocityDeviation_MatchesThePlainRatioOnceCaughtUp) | |
| TEST (TrafficManagerReferenceVelocity, VelocityDeviation_ZeroTargetBehindAStoppedVehicleIsFinite) | |
| TEST (TrafficManagerReferenceVelocity, VelocityDeviation_ZeroTargetDoesNotPoisonTheNextStep) | |
| TEST (TrafficManagerRefreshCadence, EarlyRefresh_NewlyRegisteredVehicleIsReadPromptly) | |
| TEST (TrafficManagerRefreshCadence, EarlyRefresh_VehicleTheServerNeverReportsKeepsTheRegularCadence) | |
| TEST (TrafficManagerRefreshCadence, IsEarlyRefreshDue_StepThatAlreadyReadNeedsNoRead) | |
| TEST (TrafficManagerRefreshCadence, IsEarlyRefreshDue_VehicleSeenForTheFirstTimeIsWorthARead) | |
| TEST (TrafficManagerRefreshCadence, IsEarlyRefreshDue_VehicleTheServerOmitsIsNotWorthAnother) | |
| TEST (TrafficManagerRefreshCadence, IsRefreshDue_AtOrPastThePeriodIsDue) | |
| TEST (TrafficManagerRefreshCadence, IsRefreshDue_ClockGoingBackwardsIsDue) | |
| TEST (TrafficManagerRefreshCadence, IsRefreshDue_NothingReadYetIsDue) | |
| TEST (TrafficManagerRefreshCadence, IsRefreshDue_SameFrameIsNotDue) | |
| TEST (TrafficManagerRefreshCadence, IsRefreshDue_WithinThePeriodIsNotDue) | |
| TEST (TrafficManagerWideTurn, OffsetMagnitude_MonotonicNonDecreasingInLength) | |
| TEST (TrafficManagerWideTurn, OffsetMagnitude_RampsThenClampsToCap) | |
| TEST (TrafficManagerWideTurn, OffsetMagnitude_ZeroAtOrBelowReferenceLength) | |
| TEST (TrafficManagerWideTurn, OffsetProfile_InboardExcursionIsCapped) | |
| TEST (TrafficManagerWideTurn, OffsetProfile_OutboardSwingReachesFullMagnitude) | |
| TEST (TrafficManagerWideTurn, OffsetProfile_ZeroAtEntryAndExit) | |
| TEST (TrafficManagerWideTurn, OffsetProfile_ZeroInboardScaleRemovesCutIn) | |
| TEST (TrafficManagerWideTurn, OffsetSideOccupied_EmptyNeighboursIsClear) | |
| TEST (TrafficManagerWideTurn, OffsetSideOccupied_FarLateralNeighbourIsClear) | |
| TEST (TrafficManagerWideTurn, OffsetSideOccupied_NeighbourAheadOutsideWindowIsClear) | |
| TEST (TrafficManagerWideTurn, OffsetSideOccupied_NeighbourInBandBlocks) | |
| TEST (TrafficManagerWideTurn, OffsetSideOccupied_OppositeSideNeighbourIsClear) | |
|
nodiscard |
Lowest sqrt(R * lateral_acceleration + 2 * braking_deceleration * distance) over every three consecutive samples taken at sample_spacing along path.
path_start_offset is where path.front() sits relative to the vehicle, negative when behind it. Fewer than three points returns max_speed.
Definition at line 130 of file TrafficManagerGeometry.cpp.
Referenced by TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), and TEST().
|
nodiscard |
|
nodiscard |
Locations-only variant of GetTargetData.
Takes a flat list of waypoint locations and walks them to find the bracketing pair around target_distance from vehicle_location, then linearly interpolates. Exposed as a free function so the unit-test suite can exercise it without constructing SimpleWaypoint instances (which require a real carla::client::Waypoint and therefore a road map).
Defensive: an empty list returns {vehicle_location, 0u}; a single-element list returns that element.
Definition at line 50 of file TrafficManagerGeometry.cpp.
Referenced by TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), and TEST().
|
nodiscard |
Returns true when a neighbouring vehicle sits in the lateral band that the wide-turn offset would swing the ego vehicle into.
offset_direction is a unit vector pointing to the swing side; ego_forward is the ego heading unit vector. A neighbour counts as blocking when it is on the offset side within offset_magnitude + lateral_clearance (plus its own radius) and roughly alongside the ego within longitudinal_window (plus its radius). Each neighbour is a {location, radius} pair.
Definition at line 223 of file TrafficManagerGeometry.cpp.
|
nodiscard |
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).
Returns the unsigned offset in the right-turn convention: positive values are inboard (toward the inside of the turn, the exit "cut-in"), negative values are outboard (the entry swing that opens the turn up). The caller flips the sign for left turns.
The raw profile is a cosine blend that is 0 at both entry and exit. The inboard (positive) lobe is then scaled by inboard_scale in [0, 1] so the cut-in that drives a long vehicle's rear into the inside shoulder can be attenuated (0) or kept (1) independently of the outboard swing.
Definition at line 180 of file TrafficManagerGeometry.cpp.
|
nodiscard |
Wide-turn offset magnitude scaled by vehicle length: clamp(gain * (vehicle_length - reference_length), 0, offset_cap).
Short vehicles (at or below the reference length) get no offset; longer vehicles ramp up to the cap.
Definition at line 213 of file TrafficManagerGeometry.cpp.
| TEST | ( | TrafficManagerActuationSmoothing | , |
| Deadband_HoldsTheBrakeDitherAndPassesARealStep | ) |
Definition at line 898 of file test_traffic_manager.cpp.
References TEST().
| TEST | ( | TrafficManagerActuationSmoothing | , |
| Deadband_HoldsTheSteeringDitherAtUrbanSpeed | ) |
Definition at line 916 of file test_traffic_manager.cpp.
References TEST().
| TEST | ( | TrafficManagerActuationSmoothing | , |
| Deadband_HoldsTheThrottleDitherAndPassesARealStep | ) |
Definition at line 889 of file test_traffic_manager.cpp.
References TEST().
| TEST | ( | TrafficManagerActuationSmoothing | , |
| Deadband_SteeringBandShrinksWithSpeed | ) |
Definition at line 925 of file test_traffic_manager.cpp.
References TEST().
| TEST | ( | TrafficManagerActuationSmoothing | , |
| Deadband_ZeroPedalDemandIsAlwaysHonoured | ) |
Definition at line 907 of file test_traffic_manager.cpp.
References carla::traffic_manager::ActuationSignal::brake, TEST(), and carla::traffic_manager::ActuationSignal::throttle.
| TEST | ( | TrafficManagerActuationSmoothing | , |
| LaunchRamp_AlwaysClearsTheThrottleDeadband | ) |
Definition at line 850 of file test_traffic_manager.cpp.
References TEST(), and carla::traffic_manager::ActuationSignal::throttle.
| TEST | ( | TrafficManagerActuationSmoothing | , |
| LaunchRamp_IsReleasedAboveTheLaunchSpeed | ) |
Definition at line 872 of file test_traffic_manager.cpp.
References TEST(), and carla::traffic_manager::ActuationSignal::throttle.
| TEST | ( | TrafficManagerActuationSmoothing | , |
| LaunchRamp_LimitsTheThrottleRiseFromRest | ) |
Definition at line 842 of file test_traffic_manager.cpp.
References TEST(), and carla::traffic_manager::ActuationSignal::throttle.
| TEST | ( | TrafficManagerActuationSmoothing | , |
| LaunchRamp_NeverRaisesAFallingThrottle | ) |
Definition at line 881 of file test_traffic_manager.cpp.
References TEST(), and carla::traffic_manager::ActuationSignal::throttle.
| TEST | ( | TrafficManagerActuationSmoothing | , |
| LaunchRamp_ReachesFullThrottleInABoundedNumberOfSteps | ) |
Definition at line 861 of file test_traffic_manager.cpp.
References TEST(), carla::traffic_manager::ActuationSignal::throttle, and carla::traffic_manager::StateEntry::throttle.
| TEST | ( | TrafficManagerBatchSync | , |
| IsBatchSyncDue_AtOrPastTheBoundOneIsWaitedFor | ) |
Definition at line 667 of file test_traffic_manager.cpp.
References TEST().
| TEST | ( | TrafficManagerBatchSync | , |
| IsBatchSyncDue_WithinTheBoundNothingIsWaitedFor | ) |
Definition at line 661 of file test_traffic_manager.cpp.
References TEST().
| TEST | ( | TrafficManagerBatchSync | , |
| QueueNeverHoldsMoreThanThePermittedBatches | ) |
Definition at line 674 of file test_traffic_manager.cpp.
References TEST().
| TEST | ( | TrafficManagerBatchSync | , |
| SlowServerWithAFixedDeltaIsBoundedTheSameWayAsAFastOne | ) |
Definition at line 680 of file test_traffic_manager.cpp.
References TEST().
| TEST | ( | TrafficManagerComfortConstants | , |
| ReferenceLeadOutrunsTheThrottleSaturationError | ) |
Definition at line 712 of file test_traffic_manager.cpp.
References TEST().
| TEST | ( | TrafficManagerGeometry | , |
| ThreePointCircleRadius_EquilateralTriangle | ) |
Definition at line 51 of file test_traffic_manager.cpp.
References GetThreePointCircleRadius(), and TEST().
| TEST | ( | TrafficManagerGeometry | , |
| ThreePointCircleRadius_NearlyCollinearReturnsLarge | ) |
Definition at line 75 of file test_traffic_manager.cpp.
References GetThreePointCircleRadius(), and TEST().
| TEST | ( | TrafficManagerGeometry | , |
| ThreePointCircleRadius_PerfectlyCollinearReturnsMax | ) |
Definition at line 89 of file test_traffic_manager.cpp.
References GetThreePointCircleRadius(), and TEST().
| TEST | ( | TrafficManagerGeometry | , |
| ThreePointCircleRadius_RightTriangle | ) |
Definition at line 64 of file test_traffic_manager.cpp.
References GetThreePointCircleRadius(), and TEST().
| TEST | ( | TrafficManagerInterpolation | , |
| InterpolateBufferAt_BracketBetweenLastTwoWaypoints | ) |
Definition at line 168 of file test_traffic_manager.cpp.
References InterpolateBufferAt(), and TEST().
| TEST | ( | TrafficManagerInterpolation | , |
| InterpolateBufferAt_CoincidentBracketReturnsClosest | ) |
Definition at line 186 of file test_traffic_manager.cpp.
References InterpolateBufferAt(), and TEST().
| TEST | ( | TrafficManagerInterpolation | , |
| InterpolateBufferAt_DistanceBeyondLastWaypoint | ) |
Definition at line 154 of file test_traffic_manager.cpp.
References InterpolateBufferAt(), and TEST().
| TEST | ( | TrafficManagerInterpolation | , |
| InterpolateBufferAt_DistanceShorterThanFirstWaypoint | ) |
Definition at line 136 of file test_traffic_manager.cpp.
References InterpolateBufferAt(), and TEST().
| TEST | ( | TrafficManagerInterpolation | , |
| InterpolateBufferAt_EmptyBufferReturnsVehicleLocation | ) |
Definition at line 105 of file test_traffic_manager.cpp.
References InterpolateBufferAt(), and TEST().
| TEST | ( | TrafficManagerInterpolation | , |
| InterpolateBufferAt_LinearInterpBetweenTwoPoints | ) |
Definition at line 123 of file test_traffic_manager.cpp.
References InterpolateBufferAt(), and TEST().
| TEST | ( | TrafficManagerInterpolation | , |
| InterpolateBufferAt_SingleElementReturnsThatElement | ) |
Definition at line 114 of file test_traffic_manager.cpp.
References InterpolateBufferAt(), and TEST().
| TEST | ( | TrafficManagerPathSpeed | , |
| PathSpeedLimit_AllowsMoreSpeedFurtherFromTheTurn | ) |
Definition at line 285 of file test_traffic_manager.cpp.
References GetPathSpeedLimit(), and TEST().
| TEST | ( | TrafficManagerPathSpeed | , |
| PathSpeedLimit_ArcBehindTheVehicleIsNotCreditedWithBraking | ) |
Definition at line 330 of file test_traffic_manager.cpp.
References GetPathSpeedLimit(), and TEST().
| TEST | ( | TrafficManagerPathSpeed | , |
| PathSpeedLimit_ArcUnderfootAllowsItsOwnSpeed | ) |
Definition at line 255 of file test_traffic_manager.cpp.
References GetPathSpeedLimit(), and TEST().
| TEST | ( | TrafficManagerPathSpeed | , |
| PathSpeedLimit_HoldsSteadyAsAnArcIsConsumed | ) |
Definition at line 266 of file test_traffic_manager.cpp.
References GetPathSpeedLimit(), and TEST().
| TEST | ( | TrafficManagerPathSpeed | , |
| PathSpeedLimit_NonPositiveSpacingIsNotLimited | ) |
Definition at line 322 of file test_traffic_manager.cpp.
References GetPathSpeedLimit(), and TEST().
| TEST | ( | TrafficManagerPathSpeed | , |
| PathSpeedLimit_PathShorterThanTwoSamplesIsNotLimited | ) |
Definition at line 312 of file test_traffic_manager.cpp.
References GetPathSpeedLimit(), and TEST().
| TEST | ( | TrafficManagerPathSpeed | , |
| PathSpeedLimit_ShortPathIsNotLimited | ) |
Definition at line 246 of file test_traffic_manager.cpp.
References GetPathSpeedLimit(), and TEST().
| TEST | ( | TrafficManagerPathSpeed | , |
| PathSpeedLimit_StraightPathIsNotLimited | ) |
Definition at line 235 of file test_traffic_manager.cpp.
References GetPathSpeedLimit(), and TEST().
| TEST | ( | TrafficManagerPathSpeed | , |
| PathSpeedLimit_TighterTurnAllowsLessSpeed | ) |
Definition at line 299 of file test_traffic_manager.cpp.
References GetPathSpeedLimit(), and TEST().
| TEST | ( | TrafficManagerReferenceVelocity | , |
| ShapeReference_DecelerationIsPassedThroughUnshaped | ) |
Definition at line 733 of file test_traffic_manager.cpp.
References TEST().
| TEST | ( | TrafficManagerReferenceVelocity | , |
| ShapeReference_EmergencyStopDiscardsTheStoredReference | ) |
Definition at line 757 of file test_traffic_manager.cpp.
References TEST().
| TEST | ( | TrafficManagerReferenceVelocity | , |
| ShapeReference_LeadStaysBoundedWhileTheVehicleCannotFollow | ) |
Definition at line 748 of file test_traffic_manager.cpp.
References TEST().
| TEST | ( | TrafficManagerReferenceVelocity | , |
| ShapeReference_NeverExceedsTheTarget | ) |
Definition at line 726 of file test_traffic_manager.cpp.
References TEST().
| TEST | ( | TrafficManagerReferenceVelocity | , |
| ShapeReference_RampsAwayFromRestAtComfortAcceleration | ) |
Definition at line 720 of file test_traffic_manager.cpp.
References TEST().
| TEST | ( | TrafficManagerReferenceVelocity | , |
| ShapeReference_ShortFrameStillAdvancesTheReference | ) |
Definition at line 772 of file test_traffic_manager.cpp.
References TEST().
| TEST | ( | TrafficManagerReferenceVelocity | , |
| ShapeReference_SlowServerStillRampsAtTheCompensatedRate | ) |
Definition at line 765 of file test_traffic_manager.cpp.
References TEST().
| TEST | ( | TrafficManagerReferenceVelocity | , |
| ShapeReference_StaleHighReferenceIsCappedToTheLead | ) |
Definition at line 742 of file test_traffic_manager.cpp.
References TEST().
| TEST | ( | TrafficManagerReferenceVelocity | , |
| ShapeReference_StaleLowReferenceIsRecoveredInOneStep | ) |
Definition at line 737 of file test_traffic_manager.cpp.
References TEST().
| TEST | ( | TrafficManagerReferenceVelocity | , |
| VelocityDeviation_MatchesThePlainRatioOnceCaughtUp | ) |
Definition at line 782 of file test_traffic_manager.cpp.
References TEST().
| TEST | ( | TrafficManagerReferenceVelocity | , |
| VelocityDeviation_ZeroTargetBehindAStoppedVehicleIsFinite | ) |
Definition at line 786 of file test_traffic_manager.cpp.
References TEST().
| TEST | ( | TrafficManagerReferenceVelocity | , |
| VelocityDeviation_ZeroTargetDoesNotPoisonTheNextStep | ) |
Definition at line 794 of file test_traffic_manager.cpp.
References carla::traffic_manager::ActuationSignal::brake, carla::traffic_manager::StateEntry::reference_velocity, carla::traffic_manager::ActuationSignal::steer, TEST(), carla::traffic_manager::ActuationSignal::throttle, and carla::traffic_manager::StateEntry::velocity_deviation.
| TEST | ( | TrafficManagerRefreshCadence | , |
| EarlyRefresh_NewlyRegisteredVehicleIsReadPromptly | ) |
Definition at line 603 of file test_traffic_manager.cpp.
References TEST().
| TEST | ( | TrafficManagerRefreshCadence | , |
| EarlyRefresh_VehicleTheServerNeverReportsKeepsTheRegularCadence | ) |
Definition at line 591 of file test_traffic_manager.cpp.
References TEST().
| TEST | ( | TrafficManagerRefreshCadence | , |
| IsEarlyRefreshDue_StepThatAlreadyReadNeedsNoRead | ) |
Definition at line 586 of file test_traffic_manager.cpp.
References TEST().
| TEST | ( | TrafficManagerRefreshCadence | , |
| IsEarlyRefreshDue_VehicleSeenForTheFirstTimeIsWorthARead | ) |
Definition at line 578 of file test_traffic_manager.cpp.
References TEST().
| TEST | ( | TrafficManagerRefreshCadence | , |
| IsEarlyRefreshDue_VehicleTheServerOmitsIsNotWorthAnother | ) |
Definition at line 582 of file test_traffic_manager.cpp.
References TEST().
| TEST | ( | TrafficManagerRefreshCadence | , |
| IsRefreshDue_AtOrPastThePeriodIsDue | ) |
Definition at line 515 of file test_traffic_manager.cpp.
References TEST().
| TEST | ( | TrafficManagerRefreshCadence | , |
| IsRefreshDue_ClockGoingBackwardsIsDue | ) |
Definition at line 520 of file test_traffic_manager.cpp.
References TEST().
| TEST | ( | TrafficManagerRefreshCadence | , |
| IsRefreshDue_NothingReadYetIsDue | ) |
Definition at line 502 of file test_traffic_manager.cpp.
References TEST().
| TEST | ( | TrafficManagerRefreshCadence | , |
| IsRefreshDue_SameFrameIsNotDue | ) |
Definition at line 507 of file test_traffic_manager.cpp.
References TEST().
| TEST | ( | TrafficManagerRefreshCadence | , |
| IsRefreshDue_WithinThePeriodIsNotDue | ) |
Definition at line 511 of file test_traffic_manager.cpp.
References TEST().
| TEST | ( | TrafficManagerWideTurn | , |
| OffsetMagnitude_MonotonicNonDecreasingInLength | ) |
Definition at line 428 of file test_traffic_manager.cpp.
References TEST().
| TEST | ( | TrafficManagerWideTurn | , |
| OffsetMagnitude_RampsThenClampsToCap | ) |
Definition at line 421 of file test_traffic_manager.cpp.
References TEST().
| TEST | ( | TrafficManagerWideTurn | , |
| OffsetMagnitude_ZeroAtOrBelowReferenceLength | ) |
Definition at line 416 of file test_traffic_manager.cpp.
References TEST().
| TEST | ( | TrafficManagerWideTurn | , |
| OffsetProfile_InboardExcursionIsCapped | ) |
Definition at line 378 of file test_traffic_manager.cpp.
References TEST().
| TEST | ( | TrafficManagerWideTurn | , |
| OffsetProfile_OutboardSwingReachesFullMagnitude | ) |
Definition at line 370 of file test_traffic_manager.cpp.
References TEST().
| TEST | ( | TrafficManagerWideTurn | , |
| OffsetProfile_ZeroAtEntryAndExit | ) |
Definition at line 363 of file test_traffic_manager.cpp.
References TEST().
| TEST | ( | TrafficManagerWideTurn | , |
| OffsetProfile_ZeroInboardScaleRemovesCutIn | ) |
Definition at line 391 of file test_traffic_manager.cpp.
References TEST().
| TEST | ( | TrafficManagerWideTurn | , |
| OffsetSideOccupied_EmptyNeighboursIsClear | ) |
Definition at line 464 of file test_traffic_manager.cpp.
References TEST().
| TEST | ( | TrafficManagerWideTurn | , |
| OffsetSideOccupied_FarLateralNeighbourIsClear | ) |
Definition at line 473 of file test_traffic_manager.cpp.
References TEST().
| TEST | ( | TrafficManagerWideTurn | , |
| OffsetSideOccupied_NeighbourAheadOutsideWindowIsClear | ) |
Definition at line 483 of file test_traffic_manager.cpp.
References TEST().
| TEST | ( | TrafficManagerWideTurn | , |
| OffsetSideOccupied_NeighbourInBandBlocks | ) |
Definition at line 468 of file test_traffic_manager.cpp.
References TEST().
| TEST | ( | TrafficManagerWideTurn | , |
| OffsetSideOccupied_OppositeSideNeighbourIsClear | ) |
Definition at line 478 of file test_traffic_manager.cpp.
References TEST().