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