Function etsi_its_cpm_ts_msgs::access::setVelocityOfPerceivedObject
Defined in File cpm_ts_setters.h
Function Documentation
-
inline void etsi_its_cpm_ts_msgs::access::setVelocityOfPerceivedObject(PerceivedObject &object, const gm::Vector3 &cartesian_velocity, 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 the velocity of a perceived object.
This function sets the velocity of a perceived object using the provided Cartesian velocity components. Optionally, confidence values can be specified for each velocity component.
- Parameters:
object – The perceived object for which the velocity is being set.
cartesian_velocity – The Cartesian velocity components (x, y, z) of the object (in m/s).
x_std – The standard deviation in m/s for the x velocity component (default: infinity).
y_std – The standard deviation in m/s for the y velocity component (default: infinity).
z_std – The standard deviation in m/s for the z velocity component (default: infinity).