maliput::api

Module rules

Source

Structs§

  • Models a bulb within a bulb group.
  • Models a group of bulbs within a traffic light. All of the bulbs within a group should share the same approximate orientation. However, this is not programmatically enforced. About the bulb group pose:
  • Defines a discrete value for a DiscreteValueRule. It extends the RuleStateBase with the value of the discrete value.
  • Rule
  • Abstraction for holding the output of RoadRulebook::rules() and RoadRulebook::find_rules() methods. This struct contains a map of DiscreteValueRules and RangeValueRules. The keys of the map are the ids of the rules. The values of the map are the rules.
  • Defines a range value for a RangeValueRule. It extends the RuleStateBase with the description, and min and max values of the range.
  • Rule
  • Interface for querying “rules of the road”. This interface provides access to static information about a road network (i.e., information determined prior to the beginning of a simulation). Some rule types may refer to additional dynamic information which will be provided by other interfaces.
  • Defines a base state for a rule.
  • Models a traffic light. A traffic light is a physical signaling device typically located at road intersections. It contains one or more groups of light bulbs with varying colors and shapes. The lighting patterns of the bulbs signify right-of-way rule information to the agents navigating the intersection (e.g., vehicles, bicyclists, pedestrians, etc.). Typically, an intersection will be managed by multiple traffic lights.
  • Interface for accessing the TrafficLight in the super::RoadNetwork
  • Uniquely identifies a bulb group in the Inertial space. This consists of the concatenation of the ID of the bulb group, and the ID of the traffic light that contains the bulb group.
  • Uniquely identifies a bulb in the Inertial space. This consists of the concatenation of the bulb’s ID, the ID of the bulb group that contains the bulb, and the the ID of the traffic light that contains the bulb group.

Enums§

Traits§

  • Defines the interface for a rule state.