Declared in DataStorageMessageWriter
Declaration
bool ReadClosest(
Message msg,
double time
);
Description
Reads the message data that is associated with the closest value to some time that is passed in. This will look into the messages that are tracked and will find the closest time to the time that is passed in. This will then update the data in the message.
Parameters
Name | Description |
---|---|
msg | The message to write the data into |
time | [s] The time to fetch the closest value from |