Function etsi_its_cpm_ts_msgs::access::setYawOfPerceivedObject

Function Documentation

inline void etsi_its_cpm_ts_msgs::access::setYawOfPerceivedObject(PerceivedObject &object, const double yaw, double yaw_std = std::numeric_limits<double>::infinity())

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.

  • yaw_std – The standard deviation of the yaw angle in radians (optional, default is Infinity).