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.

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

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

  • [in] cov: static 3x3 covariance matrix

  • [in] color: RGBA color of the ellipsoid

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