From 38ee7da5a978baa88475bee569c80417e9582098 Mon Sep 17 00:00:00 2001 From: Thomas Sedlmayer Date: Fri, 15 Mar 2024 09:20:46 +0100 Subject: [PATCH 1/2] Add system time to sensor data Signed-off-by: Thomas Sedlmayer --- osi_sensordata.proto | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/osi_sensordata.proto b/osi_sensordata.proto index 18df69230..5ac1dc8d8 100644 --- a/osi_sensordata.proto +++ b/osi_sensordata.proto @@ -336,4 +336,11 @@ message SensorData // Virtual detection area of the sensor // optional VirtualDetectionArea virtual_detection_area = 28; + + // The system time of the sensor data, given in UTC (Unix Epoch timestamp). + // + // The system time can be used to set the corresponding component's internal + // time which may not coincide with the simulation time frame. + // + optional Timestamp system_time = 29; } From c050a9381574a5ba24907b0f2d8bcc5ced6c6104 Mon Sep 17 00:00:00 2001 From: "Pierre R. Mai" Date: Fri, 22 Mar 2024 16:42:16 +0100 Subject: [PATCH 2/2] Enhance desription of system_time field Signed-off-by: Pierre R. Mai --- osi_sensordata.proto | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/osi_sensordata.proto b/osi_sensordata.proto index 5ac1dc8d8..9ece68316 100644 --- a/osi_sensordata.proto +++ b/osi_sensordata.proto @@ -337,10 +337,14 @@ message SensorData // optional VirtualDetectionArea virtual_detection_area = 28; - // The system time of the sensor data, given in UTC (Unix Epoch timestamp). - // - // The system time can be used to set the corresponding component's internal - // time which may not coincide with the simulation time frame. + // The system time of the modeled source of the sensor data, given + // in UTC (Unix Epoch timestamp). + // + // The system time can be used to transmit the internal time of the + // simulated component that supplies the sensor data, which might + // not coincide with the simulation time as transmitted in the + // timestamp field. Example use cases include recorded data traces + // or the simulation of time synchronization mechanisms and errors. // optional Timestamp system_time = 29; }