-
Notifications
You must be signed in to change notification settings - Fork 129
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
SensorViewConfiguration missing timestamp #392
Comments
@caspar-ai Hi Casper, while going through the SensorViewConfiguration definition, I could find the simulation start time at line 191. Isn't it what you are expecting? |
@Krishna626 I'm not an expert in this area, so I'm not 100% sure. On first read though it doesn't look like it to me. In particular, compare to, for example, the ground truth definition which defines the timestamp as the current time. Whereas the field you point to on line 191 defines it as the start time of the simulation, i.e. that field would never change throughout the lifetime of the exchange. At least that's how I read it. |
As this issue was brought up by @PhRosenberger in #764 I tried to get some insight on the problem. It seems like the part on mandatory 'version' and 'timestamp' fields in top level messages was removed from the documentation at some point. I could imagine that it isn't too important for SensorViewConfiguration to include a timestamp since it is either sent prior to simulation start (during initialization) or contained in another top level interface message which already includes a timestamp. I further noticed that FeatureData is listed under the chapter "Top-level interfaces" in the documentation while not containing a timestamp as well. Though, each SensorDetectionHeader already contains some information on the measurement time of the data instead of having a top level timestamp for all messages together. |
Issue was discussed in today's Packaging/Performance meeting:
|
Describe the bug
There is a disconnect between the documentation and the implementation with regards Top-Level Messages and
SensorViewConfiguration
.Describe how to reproduce the bug
The interface conventions documentation states that all top level messages require an interface as the first field and a timestamp as the second. It also explicitly mentions
SensorViewConfiguration
as one such example of a top level message.The definition of a
SensorViewConfiguration
includes an interface version but does not include a timestamp.Describe the expected behavior
The expected fix depends on the desired behaviour:
SensorViewConfiguration
is an exception to the top level rule then I would expect the documentation to be updated, and a comment added inline by the message definition.The text was updated successfully, but these errors were encountered: