Function etsi_its_cpm_ts_msgs::access::setPositionOfPerceivedObject

Function Documentation

inline void etsi_its_cpm_ts_msgs::access::setPositionOfPerceivedObject(PerceivedObject &object, const gm::Point &point, const double x_std = std::numeric_limits<double>::infinity(), const double y_std = std::numeric_limits<double>::infinity(), const double z_std = std::numeric_limits<double>::infinity())

Sets the position of a perceived object (relative to the CPM’s reference position).

This function sets the position of a perceived object using the provided coordinates and confidence values.

Parameters:
  • object – The PerceivedObject to set the position for.

  • point – The gm::Point representing the coordinates of the object in meters.

  • x_std – The standard deviation in meters for the x-coordinate (default: infinity).

  • y_std – The standard deviation in meters for the y-coordinate (default: infinity).

  • z_std – The standard deviation in meters for the z-coordinate (default: infinity).