Template Function visualization::drawCovariance3D(const Eigen::MatrixBase<DerivedMu>&, const Eigen::MatrixBase<DerivedCov>&, const std_msgs::ColorRGBA&, double, visualization_msgs::Marker *)

Function Documentation

template<class DerivedMu, class DerivedCov>
void visualization::drawCovariance3D(const Eigen::MatrixBase<DerivedMu> &mu, const Eigen::MatrixBase<DerivedCov> &cov, const std_msgs::ColorRGBA &color, double n_sigma, visualization_msgs::Marker *marker_ptr)

Draws a covariance ellipsoid.

  • marker[out] The marker in which the ellipsoid should be drawn

  • mu[in] static 3 element vector, specifying the center of the ellipsoid

  • cov[in] static 3x3 covariance matrix

  • color[in] RGBA color of the ellipsoid

  • n_sigma[in] confidence area / scale of the ellipsoid