Function etsi_its_cpm_ts_msgs::access::setYDimensionOfPerceivedObject

Function Documentation

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

Sets the y-dimension of a perceived object.

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

Parameters:
  • object – The PerceivedObject to modify.

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

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