Function etsi_its_cpm_ts_msgs::access::setMeasurementDeltaTimeOfPerceivedObject

Function Documentation

inline void etsi_its_cpm_ts_msgs::access::setMeasurementDeltaTimeOfPerceivedObject(PerceivedObject &object, const int16_t delta_time = 0)

Sets the measurement delta time of a PerceivedObject.

This function sets the measurement delta time of a PerceivedObject. The measurement delta time represents the time difference between the reference time of the CPM and the measurement of the object.

Parameters:
  • object – The PerceivedObject to set the measurement delta time for.

  • delta_time – The measurement delta time to set in milliseconds. Default value is 0.

Throws:

std::invalid_argument – if the delta_time is out of range.