osi3::LogicalLane::TrafficRule::TrafficRuleValidity Struct Reference

Validity information for a traffic rule. More...

Collaboration diagram for osi3::LogicalLane::TrafficRule::TrafficRuleValidity:

Classes

struct  TypeValidity
 Type of traffic participant for which a rule is valid. More...
 

Public Attributes

optional double start_s = 1
 The starting point of the traffic rule validity on the lane. More...
 
optional double end_s = 2
 The ending point of the traffic rule validity on the lane. More...
 
repeated TypeValidity valid_for_type = 3
 List of traffic participant types for which the speed limit is valid. More...
 

Detailed Description

Validity information for a traffic rule.

Member Data Documentation

◆ start_s

optional double osi3::LogicalLane::TrafficRule::TrafficRuleValidity::start_s = 1

The starting point of the traffic rule validity on the lane.

Must be in range [sStart,sEnd] of the reference line.

Note: The traffic rule applies only to traffic with notional direction of travel from the start_s coordinate towards the end_s coordinate. For unidirectional lanes this must match the direction of travel as specified by the move_direction field of the logical lane. For bidirectional lanes this allows the specification of separate rules for each direction of travel.

◆ end_s

optional double osi3::LogicalLane::TrafficRule::TrafficRuleValidity::end_s = 2

The ending point of the traffic rule validity on the lane.

Must be in range [sStart,sEnd] of the reference line.

◆ valid_for_type

repeated TypeValidity osi3::LogicalLane::TrafficRule::TrafficRuleValidity::valid_for_type = 3

List of traffic participant types for which the speed limit is valid.

If the traffic rule validity is independent of the vehicle type the list should be empty.


  • osi_logicallane.proto