moveit2
The MoveIt Motion Planning Framework for ROS 2.
|
Generates samples from a multivariate gaussian distribution. More...
#include <multivariate_gaussian.hpp>
Public Member Functions | |
template<typename Derived1 , typename Derived2 > | |
MultivariateGaussian (const Eigen::MatrixBase< Derived1 > &mean, const Eigen::MatrixBase< Derived2 > &covariance) | |
template<typename Derived > | |
void | sample (Eigen::MatrixBase< Derived > &output, bool use_covariance=true) |
generates random values using a normal distribution. | |
Generates samples from a multivariate gaussian distribution.
Definition at line 58 of file multivariate_gaussian.hpp.
stomp_moveit::math::MultivariateGaussian::MultivariateGaussian | ( | const Eigen::MatrixBase< Derived1 > & | mean, |
const Eigen::MatrixBase< Derived2 > & | covariance | ||
) |
Definition at line 84 of file multivariate_gaussian.hpp.
void stomp_moveit::math::MultivariateGaussian::sample | ( | Eigen::MatrixBase< Derived > & | output, |
bool | use_covariance = true |
||
) |
generates random values using a normal distribution.
output | The random values |
use_covariance | True to apply the covariance matrix onto the random values, false otherwise |
Definition at line 92 of file multivariate_gaussian.hpp.