Kindr
Kinematics and Dynamics for Robotics
common.hpp File Reference
#include <cmath>
#include <cassert>
#include <iostream>
#include <limits>
#include <random>
#include <Eigen/Core>
Include dependency graph for common.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 kindr
 

Functions

template<typename T >
kindr::floatingPointModulo (T x, T y)
 Floating-point modulo. More...
 
template<typename T >
kindr::wrapAngle (T angle, T x1, T x2)
 wrap angle to [x1..x2) More...
 
template<typename T >
kindr::wrapPosNegPI (T angle)
 wrap angle to [-PI..PI) More...
 
template<typename T >
kindr::wrapTwoPI (T angle)
 wrap angle to [0..2*PI) More...
 
template<typename PrimType_ , int Rows_>
static void kindr::setUniformRandom (Eigen::Matrix< PrimType_, Rows_, 1 > &vector, PrimType_ min, PrimType_ max)