Function etsi_its_cpm_ts_msgs::access::initPerceivedObjectWithUTMPosition

Function Documentation

inline void etsi_its_cpm_ts_msgs::access::initPerceivedObjectWithUTMPosition(CollectivePerceptionMessage &cpm, PerceivedObject &object, const gm::PointStamped &point, const int16_t delta_time = 0)

Initializes a PerceivedObject with the given point (utm-position) and delta time.

This function initializes a PerceivedObject within a position and measurement delta time. It sets the position of a perceived object using the provided UTM position and the CPM’s reference position. It sets the measurement delta time using the provided delta_time value.

Parameters:
  • cpm – The CPM to get the reference position from.

  • object – The PerceivedObject to be initialized.

  • point – The gm::PointStamped representing the UTM position of the object including the frame_id (utm_<zone><N/S>).

  • delta_time – The measurement delta time in milliseconds (default: 0).