maliput
PhaseRing::NextPhase Struct Reference

Detailed Description

Holds a "next phase" specification.

This is one of the phases that could be next after the current phase ends.

#include <include/maliput/api/rules/phase_ring.h>

Public Attributes

Phase::Id id
 The ID of the next phase. More...
 
std::optional< doubleduration_until
 The default time before transitioning to the next phase. More...
 

Member Data Documentation

◆ duration_until

std::optional<double> duration_until

The default time before transitioning to the next phase.

This is relative to when the current phase began. It is just a recommendation, the actual duration is determined by the PhaseProvider and may depend on events like a vehicle arriving at a left-turn lane or a pedestrian hitting a crosswalk button.

◆ id

The ID of the next phase.


The documentation for this struct was generated from the following file: