osi3::LogicalLane::TrafficRule Struct Reference

Describes traffic rules on a lane. More...

Collaboration diagram for osi3::LogicalLane::TrafficRule:

Classes

struct  SpeedLimit
 Speed limit on a lane. More...
 
struct  TrafficRuleValidity
 Validity information for a traffic rule. More...
 

Public Types

enum  TrafficRuleType { TRAFFIC_RULE_TYPE_SPEED_LIMIT = 0 }
 The type of the the traffic rule. More...
 

Public Attributes

optional TrafficRuleType traffic_rule_type = 1
 The type of the traffic rule. More...
 
optional TrafficRuleValidity traffic_rule_validity = 2
 The validity information of the traffic rule. More...
 
optional SpeedLimit speed_limit = 3
 Traffic rule information for traffic rule of type speed limit. More...
 

Detailed Description

Describes traffic rules on a lane.

The traffic rule can thereby be induced by regulations, traffic signs or by other means. If the modeled traffic rule is induced by a traffic sign the information should be identical with the respective traffic sign.

Note: Every instance should be corresponding to only one specific rule. The type of the traffic rule should be set using the respective field. Additionally, every message should contain the traffic rule validity information and the respective field for the respective traffic rule type. In case of traffic rule (priority) conflicts for rules of the same type that can not be depicted using the traffic rule validity only the currently valid rule should be provided.

Note: Each traffic rule corresponds to only one lane. If the traffic rule is also valid on adjacent/successor/predecessor lanes it needs to be specified for each lane individually.

Logical Model of a traffic rule on a lane.

Member Enumeration Documentation

◆ TrafficRuleType

The type of the the traffic rule.

Enumerator
TRAFFIC_RULE_TYPE_SPEED_LIMIT 

Traffic rule is of type speed limit.

Member Data Documentation

◆ traffic_rule_type

optional TrafficRuleType osi3::LogicalLane::TrafficRule::traffic_rule_type = 1

The type of the traffic rule.

This specifies the type of the traffic rule to be modeled. Based on the type the respective message containing the information corresponding to the traffic rule should be filled.

◆ traffic_rule_validity

optional TrafficRuleValidity osi3::LogicalLane::TrafficRule::traffic_rule_validity = 2

The validity information of the traffic rule.

◆ speed_limit

optional SpeedLimit osi3::LogicalLane::TrafficRule::speed_limit = 3

Traffic rule information for traffic rule of type speed limit.


  • osi_logicallane.proto