Skip to content

Commit

Permalink
Adjusted documentation for type validty.
Browse files Browse the repository at this point in the history
Signed-off-by: Markus Lemmer <lemmer@fzi.de>
  • Loading branch information
lemmer-fzi authored and pmai committed Apr 4, 2024
1 parent 2b2122b commit 939daa6
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions osi_logicallane.proto
Original file line number Diff line number Diff line change
Expand Up @@ -909,19 +909,20 @@ message LogicalLane

//
// The type of object for which the traffic rule is valid.
// Must not be UNKNOWN or OTHER
//
optional MovingObject.Type type = 1;

//
// Vehicle classification type for traffic participants
// May only be set if type is TYPE_VEHICLE. Must not be UNKNOWN or OTHER.
// Should be set to UNKNOWN if type is not TYPE_VEHICLE or the rule
// is valid for all vehicle types.
//
optional MovingObject.VehicleClassification.Type vehicle_type = 2;

//
// Role of traffic participant.
// May only be set if type is TYPE_VEHICLE. Must not be UNKNOWN or OTHER.
// Should be set to UNKNOWN if type is not TYPE_VEHICLE or the rule
// is valid for all vehicle roles.
//
optional MovingObject.VehicleClassification.Role vehicle_role = 3;
}
Expand All @@ -935,9 +936,9 @@ message LogicalLane
//
// The value of the speed limit.
// The unit field in the TrafficSignValue message may only be set to
// units associated with velocities and must not be UNKNOWN or OTHER.
// units associated with velocities and must not be UNKNOWN.
//
// Note: All speed limits are to be led this way, independent
// Note: All speed limits are to be modeled this way, independent
// of how they are induced.
//
optional TrafficSignValue speed_limit_value = 1;
Expand Down

0 comments on commit 939daa6

Please sign in to comment.