Function etsi_its_cpm_ts_msgs::access::setYawRateOfPerceivedObject

Function Documentation

inline void etsi_its_cpm_ts_msgs::access::setYawRateOfPerceivedObject(PerceivedObject &object, const double yaw_rate, double yaw_rate_std = std::numeric_limits<double>::infinity())

Sets the yaw rate of a perceived object.

This function sets the yaw rate of a PerceivedObject. The yaw rate is limited to the range defined by CartesianAngularVelocityComponentValue::NEGATIVE_OUTOF_RANGE and CartesianAngularVelocityComponentValue::POSITIVE_OUT_OF_RANGE. The function also allows specifying the confidence level of the yaw rate.

Parameters:
  • object – The PerceivedObject to set the yaw rate for.

  • yaw_rate – The yaw rate in rad/s.

  • yaw_rate_std – Standard deviation of the yaw rate in rad/s (optional, default is infinity, mapping to AngularSpeedConfidence::UNAVAILABLE).