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, const uint8_t confidence = AngularSpeedConfidence::UNAVAILABLE)

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.

  • confidence – Confidence of the yaw rate defined in AngularSpeedConfidence (optional, default is AngularSpeedConfidence::UNAVAILABLE).