Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clarification static dynamic #768

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions osi_streamingupdate.proto
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ message StreamingUpdate
{
// The interface version used by the sender.
//
// \note Changeability: Static value
//
optional InterfaceVersion version = 1;

// The data timestamp where the information of contained objects is calculated.
Expand All @@ -38,27 +40,39 @@ message StreamingUpdate
// Zero time does not need to coincide with the UNIX epoch.
// Recommended is the starting time point of the simulation.
//
// \note Changeability: Dynamic value
//
optional Timestamp timestamp = 2;

// The list of stationary objects (excluding traffic signs and traffic
// lights).
//
// \note Changeability: Dynamic value
//
repeated StationaryObject stationary_object_update = 3;

// The list of moving objects.
//
// \note Changeability: Dynamic value
//
repeated MovingObject moving_object_update = 4;

// The list of traffic signs.
//
// \note Changeability: Dynamic value
//
repeated TrafficSign traffic_sign_update = 5;

// The list of traffic lights.
//
// \note Changeability: Dynamic value
//
repeated TrafficLight traffic_light_update = 6;

// Conditions of the environment.
//
// \note Changeability: Dynamic value
//
optional EnvironmentalConditions environmental_conditions_update = 7;

// Host vehicle data.
Expand All @@ -69,12 +83,16 @@ message StreamingUpdate
//
// The ID inside this message allows an association to moving object data.
//
// \note Changeability: Dynamic value
//
repeated HostVehicleData host_vehicle_data_update = 8;

// Entities that will no longer be updated, because they are considered
// obsolete by the sender.
//
// \note IDs are globally unique.
//
// \note Changeability: Dynamic value
//
repeated Identifier obsolete_id = 9;
}
2 changes: 1 addition & 1 deletion osi_trafficcommand.proto
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ message TrafficCommand
//
// \note If more than one action is supplied in one command message
// all actions are executed in parallel.
//
//
repeated TrafficAction action = 4;
}

Expand Down
26 changes: 26 additions & 0 deletions osi_trafficlight.proto
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ message TrafficLight
{
// The ID of the traffic light.
//
// \note Changeability: Static value
//
// \rules
// is_globally_unique
// \endrules
Expand All @@ -26,17 +28,23 @@ message TrafficLight

// The base parameters of the traffic light.
//
// \note Changeability: Static value
//
// \c BaseStationary::orientation x-axis is view normal of the traffic
// light's icon.
//
optional BaseStationary base = 2;

// The classification data for the traffic light.
//
// \note Changeability: Dynamic value
//
optional Classification classification = 3;

// Opaque reference of an associated 3D model of the traffic light.
//
// \note Changeability: Static value
//
// \note It is implementation-specific how model_references are resolved to
// 3d models.
//
Expand All @@ -61,6 +69,8 @@ message TrafficLight
// derived from more than one origin segment. Multiple sources
// may be added as reference as well, for example, a map and sensors.
//
// \note Changeability: Static value
//
repeated ExternalReference source_reference = 5;

// The visual color of the traffic light.
Expand All @@ -69,6 +79,8 @@ message TrafficLight
// appearance. For semantic classification of the traffic light use the color
// field in \c Classification.
//
// \note Changeability: Static value
//
optional ColorDescription color_description = 6;

//
Expand All @@ -88,14 +100,20 @@ message TrafficLight
// light is off ( \c #mode = \c #MODE_OFF), then \c #color = \c
// #COLOR_OTHER .
//
// \note Changeability: Static value
//
optional Color color = 1;

// The icon of the traffic light.
//
// \note Changeability: Static value
//
optional Icon icon = 2;

// The operating mode of the traffic light.
//
// \note Changeability: Dynamic value
//
optional Mode mode = 3;

// The value of the countdown counter.
Expand All @@ -107,6 +125,8 @@ message TrafficLight
// is_greater_than_or_equal_to: 0
// \endrules
//
// \note Changeability: Dynamic value
//
optional double counter = 4;

// The IDs of the lanes that the traffic light is assigned to.
Expand All @@ -119,18 +139,24 @@ message TrafficLight
// refers_to: Lane
// \endrules
//
// \note Changeability: Static value
//
repeated Identifier assigned_lane_id = 5;

// Boolean flag to indicate that the traffic light is taken out of service.
// This can be achieved by visibly crossing the light, covering it completely
// or swiching the traffic light off.
//
// \note Changeability: Dynamic value
//
optional bool is_out_of_service = 6;

// Assignment of this object to logical lanes.
//
// \note OSI uses singular instead of plural for repeated field names.
//
// \note Changeability: Static value
//
repeated LogicalLaneAssignment logical_lane_assignment = 7;

// Definition of semantic colors for traffic lights.
Expand Down
Loading
Loading