|
static double | calculatePossibleStartTime (const PointTimePairs &points, double initial_start_time, double max_preplanning_time_s, double time_between_intersections_s, const IntersectionOccupancy &intersection_occupancy) |
|
◆ calculatePossibleStartTime()
double daisi::path_planning::consensus::RouteCalculationHelper::calculatePossibleStartTime |
( |
const PointTimePairs & |
points, |
|
|
double |
initial_start_time, |
|
|
double |
max_preplanning_time_s, |
|
|
double |
time_between_intersections_s, |
|
|
const IntersectionOccupancy & |
intersection_occupancy |
|
) |
| |
|
static |
Calculate a possible conflict free global start time with the global knowledge of all intersection occupancies
- Parameters
-
points | requested route with relative timestamps |
initial_start_time | earliest possible start time |
max_preplanning_time_s | Maximum time in which the start time might be in the future |
time_between_intersections_s | time between occupancies of the same intersection |
intersection_occupancy | all global intersections occupancies |
- Returns
- possible global start time in seconds or quiet_NaN() if no start time could be found
The documentation for this struct was generated from the following files: