Function etsi_its_cam_msgs::access::getRefPosConfidence

Function Documentation

inline const std::array<double, 4> etsi_its_cam_msgs::access::getRefPosConfidence(const CAM &cam)

Get the confidence ellipse of the reference position as Covariance matrix.

The covariance matrix will have the entries cov_xx, cov_xy, cov_yx, cov_yy where x is the longitudinal axis and y is the lateral axis of the vehicle.

Parameters:

cam – The CAM message to get the reference position from

Returns:

const std::array<double, 4> the covariance matrix, as specified above