Skip to content

Commit 69e08f0

Browse files
committed
Feedback from review
Signed-off-by: Caspar de Haes <caspar.dehaes@five.ai>
1 parent d568803 commit 69e08f0

File tree

3 files changed

+27
-25
lines changed

3 files changed

+27
-25
lines changed

osi_common.proto

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -885,3 +885,21 @@ message GeodeticPosition
885885
//
886886
optional double altitude = 3;
887887
}
888+
889+
890+
//
891+
// \brief Generic key-value pair structure
892+
//
893+
// A generic key-value pair structure which can be used to capture information
894+
// which is opaque to the general OSI interface.
895+
//
896+
message KeyValuePair
897+
{
898+
// A generic string key.
899+
//
900+
optional string key = 1;
901+
902+
// A generic string value.
903+
//
904+
optional string value = 2;
905+
}

osi_hostvehicledata.proto

Lines changed: 4 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -36,13 +36,9 @@ message HostVehicleData
3636
//
3737
optional Identifier host_vehicle_id = 11;
3838

39-
// The ID of the object.
40-
//
41-
// \rules
42-
// is_globally_unique
43-
// \endrules
39+
// The ID of the host vehicle in any associated GroundTruth data.
4440
//
45-
optional Identifier id = 9;
41+
optional Identifier host_vehicle_id = 9;
4642

4743
// Deprecated: Will be removed in next major release. Moved to VehiclePositionAndKinematics.
4844
// Current estimated location based on GPS- and related navigation sensors.
@@ -83,7 +79,7 @@ message HostVehicleData
8379
//
8480
optional VehicleLocalization vehicle_localization = 8;
8581

86-
// What driver assistance is active.
82+
// State of driver assistance systems.
8783
//
8884
// This can include:
8985
// - information presented to the driver, for example, parking sensors
@@ -331,7 +327,7 @@ message HostVehicleData
331327
// be about settings which would influence evaluation, such as
332328
// sensitivity settings.
333329
//
334-
repeated CustomDetail custom_detail = 5;
330+
repeated KeyValuePair custom_detail = 5;
335331

336332
// ADAS feature that is raising the notification.
337333
//
@@ -471,22 +467,5 @@ message HostVehicleData
471467
//
472468
ACTIVATION_STATE_ACTIVE_DRIVER_OVERRIDE = 6;
473469
}
474-
475-
//
476-
// \brief Custom detail message
477-
//
478-
// To contain driver-assist related information that is too function
479-
// specific to be captured in a generic way.
480-
//
481-
message CustomDetail
482-
{
483-
// A generic string key to identify the information.
484-
//
485-
optional string key = 1;
486-
487-
// A generic string value to capture the information.
488-
//
489-
optional string value = 2;
490-
}
491470
}
492471
}

osi_trafficupdate.proto

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,11 @@ message TrafficUpdate
5656

5757
// Internal state for each vehicle.
5858
//
59+
// This is an optional field as internal state may not be known or relevant,
60+
// for example, a trailer is not going to have any internal state.
61+
// It is also allowed to only specify internal_state for a subset of the
62+
// objects referenced in the update.
63+
//
5964
// \note This covers any information which cannot be externally perceived
6065
// and therefore cannot be included in messages available in ground truth.
6166
//

0 commit comments

Comments
 (0)