Drake
Drake C++ Documentation
random_rotation.h File Reference
#include <random>
#include <Eigen/Dense>
#include "drake/common/constants.h"
#include "drake/common/eigen_types.h"
#include "drake/common/random.h"
#include "drake/math/quaternion.h"
#include "drake/math/roll_pitch_yaw.h"
Include dependency graph for random_rotation.h:
This graph shows which files directly or indirectly include this file:

Namespaces

 drake
 
 drake::math
 

Functions

template<typename T = double, class Generator = RandomGenerator>
Eigen::Quaternion< T > UniformlyRandomQuaternion (Generator *generator)
 Generates a rotation (in the quaternion representation) that rotates a point on the unit sphere to another point on the unit sphere with a uniform distribution over the sphere. More...
 
template<typename T = double, class Generator = RandomGenerator>
Eigen::AngleAxis< T > UniformlyRandomAngleAxis (Generator *generator)
 Generates a rotation (in the axis-angle representation) that rotates a point on the unit sphere to another point on the unit sphere with a uniform distribution over the sphere. More...
 
template<typename T = double, class Generator = RandomGenerator>
RotationMatrix< T > UniformlyRandomRotationMatrix (Generator *generator)
 Generates a rotation (in the rotation matrix representation) that rotates a point on the unit sphere to another point on the unit sphere with a uniform distribution over the sphere. More...
 
template<typename T = double, class Generator = RandomGenerator>
Vector3< T > UniformlyRandomRPY (Generator *generator)
 Generates a rotation (in the roll-pitch-yaw representation) that rotates a point on the unit sphere to another point on the unit sphere with a uniform distribution over the sphere. More...