Skip to content

Commit d4d5c1c

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

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
@@ -864,3 +864,21 @@ message GeodeticPosition
864864
//
865865
optional double altitude = 3;
866866
}
867+
868+
869+
//
870+
// \brief Generic key-value pair structure
871+
//
872+
// A generic key-value pair structure which can be used to capture information
873+
// which is opaque to the general OSI interface.
874+
//
875+
message KeyValuePair
876+
{
877+
// A generic string key.
878+
//
879+
optional string key = 1;
880+
881+
// A generic string value.
882+
//
883+
optional string value = 2;
884+
}

osi_hostvehicledata.proto

Lines changed: 4 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,9 @@ message HostVehicleData
3232
//
3333
optional Timestamp timestamp = 11;
3434

35-
// The ID of the object.
35+
// The ID of the host vehicle in any associated GroundTruth data.
3636
//
37-
// \rules
38-
// is_globally_unique
39-
// \endrules
40-
//
41-
optional Identifier id = 9;
37+
optional Identifier host_vehicle_id = 9;
4238

4339
// Deprecated: Will be removed in next major release. Moved to VehiclePositionAndKinematics.
4440
// Current estimated location based on GPS- and related navigation sensors.
@@ -79,7 +75,7 @@ message HostVehicleData
7975
//
8076
optional VehicleLocalization vehicle_localization = 8;
8177

82-
// What driver assistance is active.
78+
// State of driver assistance systems.
8379
//
8480
// This can include:
8581
// - information presented to the driver, for example, parking sensors
@@ -327,7 +323,7 @@ message HostVehicleData
327323
// be about settings which would influence evaluation, such as
328324
// sensitivity settings.
329325
//
330-
repeated CustomDetail custom_detail = 5;
326+
repeated KeyValuePair custom_detail = 5;
331327

332328
// ADAS feature that is raising the notification.
333329
//
@@ -467,22 +463,5 @@ message HostVehicleData
467463
//
468464
ACTIVATION_STATE_ACTIVE_DRIVER_OVERRIDE = 6;
469465
}
470-
471-
//
472-
// \brief Custom detail message
473-
//
474-
// To contain driver-assist related information that is too function
475-
// specific to be captured in a generic way.
476-
//
477-
message CustomDetail
478-
{
479-
// A generic string key to identify the information.
480-
//
481-
optional string key = 1;
482-
483-
// A generic string value to capture the information.
484-
//
485-
optional string value = 2;
486-
}
487466
}
488467
}

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)