Function etsi_its_cpm_ts_msgs::access::setYawOfPerceivedObject
Defined in File cpm_ts_setters.h
Function Documentation
-
inline void etsi_its_cpm_ts_msgs::access::setYawOfPerceivedObject(PerceivedObject &object, const double yaw, const uint8_t confidence = AngleConfidence::UNAVAILABLE)
Sets the yaw angle of a perceived object.
This function sets the yaw angle of a PerceivedObject. The yaw angle is wrapped to the range [0, 360] degrees. The function also allows specifying the confidence level of the yaw angle.
- Parameters:
object – The PerceivedObject to set the yaw angle for.
yaw – The yaw angle in radians.
confidence – The confidence level of the yaw angle in 0,1 degrees (optional, default is AngleConfidence::UNAVAILABLE).