Function etsi_its_cpm_ts_msgs::access::setPositionOfPerceivedObject
Defined in File cpm_ts_setters.h
Function Documentation
-
inline void etsi_its_cpm_ts_msgs::access::setPositionOfPerceivedObject(PerceivedObject &object, const gm::Point &point, const uint16_t x_confidence = CoordinateConfidence::UNAVAILABLE, const uint16_t y_confidence = CoordinateConfidence::UNAVAILABLE, const uint16_t z_confidence = CoordinateConfidence::UNAVAILABLE)
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_confidence – The confidence value in meters for the x-coordinate (default: CoordinateConfidence::UNAVAILABLE).
y_confidence – The confidence value in meters for the y-coordinate (default: CoordinateConfidence::UNAVAILABLE).
z_confidence – The confidence value in meters for the z-coordinate (default: CoordinateConfidence::UNAVAILABLE).