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 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 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_std – The standard deviation in meters for the x dimension (optional, default: infinity).
y_std – The standard deviation in meters for the y dimension (optional, default: infinity).
z_std – The standard deviation in meters for the z dimension (optional, default: infinity).