Template Function getPosConfidenceEllipse(const PosConfidenceEllipse&, const double)
Defined in File cdd_getters_common.h
Function Documentation
-
template<typename PosConfidenceEllipse>
inline std::array<double, 4> getPosConfidenceEllipse(const PosConfidenceEllipse &position_confidence_ellipse, const double object_heading) Get the covariance matrix of the position confidence ellipse.
- Parameters:
position_confidence_ellipse – The position confidence ellipse to get the covariance matrix from
object_heading – The object heading in radians
- Returns:
std::array<double, 4> The covariance matrix of the position confidence ellipse in vehicle coordinates (x = longitudinal, y = lateral)