Function etsi_its_cpm_ts_msgs::access::setDimensionsOfPerceivedObject
Defined in File cpm_ts_setters.h
Function Documentation
-
inline void etsi_its_cpm_ts_msgs::access::setDimensionsOfPerceivedObject(PerceivedObject &object, const gm::Vector3 &dimensions, const uint8_t x_confidence = ObjectDimensionConfidence::UNAVAILABLE, const uint8_t y_confidence = ObjectDimensionConfidence::UNAVAILABLE, const uint8_t z_confidence = ObjectDimensionConfidence::UNAVAILABLE)
Sets all dimensions of a perceived object.
This function sets the dimensions of a perceived object using the provided dimensions and confidence values.
- Parameters:
object – The perceived object to set the dimensions for.
dimensions – The dimensions of the object as a gm::Vector3 (x, y, z) in meters.
x_confidence – The confidence in meters for the x dimension (optional, default: ObjectDimensionConfidence::UNAVAILABLE).
y_confidence – The confidence in meters for the y dimension (optional, default: ObjectDimensionConfidence::UNAVAILABLE).
z_confidence – The confidence in meters for the z dimension (optional, default: ObjectDimensionConfidence::UNAVAILABLE).