| 
    se2ez
    
   | 
 
Helper functions and constants require for mathematical operations. More...
Functions | |
| Eigen::VectorXd | toVector (double x) | 
| Converts a single double value into a 1 x 1 matrix.  More... | |
| Eigen::MatrixXd | toMatrix (const std::vector< Eigen::VectorXd > &vlist) | 
| Converts a vector of lists into a Matrix.  More... | |
| Eigen::VectorXd | toVector (const std::initializer_list< double > &x) | 
| Converts an initialize list into a vector.  More... | |
| double | remap (double a1, double a2, double av, double b1, double b2) | 
| Remap a value av in the interval a1, a2 to the interval b1, b2.  More... | |
| double | clamp (double v, double a, double b) | 
| Clamp a value v between a range [a, b].  More... | |
| double | angleDistance (double v1, double v2) | 
| Return the minimum distance between two angles (wrapping from -pi to pi).  More... | |
| double | angleNormalize (double v) | 
| Normalize an angle between -pi to pi.  More... | |
| double | toDegrees (double v) | 
| Convert an angle to degrees.  More... | |
| double | toRadians (double v) | 
| Convert an angle to radians.  More... | |
| double | uniformReal (double lower, double upper) | 
| Return a uniform random number between lower and upper.  More... | |
| int | uniformInteger (int lower, int upper) | 
| Return a uniform random integer between lower and upper (inclusive).  More... | |
| double | gaussianReal (double mean, double std) | 
| Return a random number sampled from a gaussain with given std and mean.  More... | |
Variables | |
| static ompl::RNG | rng | 
| Random number generation from OMPL. An instance of this class cannot be used by multiple threads at once.  More... | |
| static const double | pi = boost::math::constants::pi<double>() | 
| static const double | pipi = 2. * pi | 
| static const double | pi2 = pi / 2. | 
| static const double | eps = std::numeric_limits<double>::epsilon() | 
| static const double | inf = std::numeric_limits<double>::infinity() | 
| static const double | nan = std::numeric_limits<double>::quiet_NaN() | 
Helper functions and constants require for mathematical operations.
| double se2ez::math::angleDistance | ( | double | v1, | 
| double | v2 | ||
| ) | 
| double se2ez::math::angleNormalize | ( | double | v | ) | 
| double se2ez::math::clamp | ( | double | v, | 
| double | a, | ||
| double | b | ||
| ) | 
| double se2ez::math::gaussianReal | ( | double | mean, | 
| double | std | ||
| ) | 
| double se2ez::math::remap | ( | double | a1, | 
| double | a2, | ||
| double | av, | ||
| double | b1, | ||
| double | b2 | ||
| ) | 
Remap a value av in the interval a1, a2 to the interval b1, b2.
| [in] | a1 | Lower end of first interval. | 
| [in] | a2 | Upper end of first interval. | 
| [in] | av | Value in first interval. | 
| [in] | b1 | Lower end of second interval. | 
| [in] | b2 | Upper end of second interval. | 
| double se2ez::math::toDegrees | ( | double | v | ) | 
| Eigen::MatrixXd se2ez::math::toMatrix | ( | const std::vector< Eigen::VectorXd > & | vlist | ) | 
| double se2ez::math::toRadians | ( | double | v | ) | 
| Eigen::VectorXd se2ez::math::toVector | ( | double | x | ) | 
| Eigen::VectorXd se2ez::math::toVector | ( | const std::initializer_list< double > & | x | ) | 
| int se2ez::math::uniformInteger | ( | int | lower, | 
| int | upper | ||
| ) | 
| double se2ez::math::uniformReal | ( | double | lower, | 
| double | upper | ||
| ) | 
      
  | 
  static | 
      
  | 
  static | 
      
  | 
  static | 
      
  | 
  static |