Function etsi_its_cpm_ts_msgs::access::setXDimensionOfPerceivedObject

Function Documentation

inline void etsi_its_cpm_ts_msgs::access::setXDimensionOfPerceivedObject(PerceivedObject &object, const double value, const uint8_t confidence = ObjectDimensionConfidence::UNAVAILABLE)

Sets the x-dimension of a perceived object.

This function sets the x-dimension of the given PerceivedObject to the specified value. The x-dimension usually represents the length of the object.

Parameters:
  • object – The PerceivedObject to modify.

  • value – The value to set as the x-dimension in meters.

  • confidence – The confidence of the x-dimension value in meters (optional, default is ObjectDimensionConfidence::UNAVAILABLE).