RobotArmLib  0.0.4
Robot Arm Library [WIP]
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Pages
Classes | Typedefs | Functions | Variables
rb::math Namespace Reference

math module namespace More...

Classes

class  Polynomial
 A class for constructing polynomial function. More...
 

Typedefs

typedef Eigen::MatrixXd MatrixX
 make MatrixX as alias of Eigen::MatrixXd
 
typedef Eigen::Matrix3d Matrix3
 make Matrix3 as alias of Eigen::Matrix3d
 
typedef Eigen::Matrix4d Matrix4
 make Matrix4 as alias of Eigen::Matrix4d
 
typedef Eigen::VectorXd VectorX
 make VectorX as alias of Eigen::VectorXd
 
typedef Eigen::Vector3d Vector3
 make Vector3 as alias of Eigen::Vector3d
 
typedef Eigen::Vector4d Vector4
 make Vector4 as alias of Eigen::Vector4d
 
typedef Eigen::AngleAxisd AngleAxis
 make AngleAxis as alias of Eigen::AngleAxisd
 
template<typename T , size_t R, size_t C>
using Array = Eigen::Array< T, R, C >
 make Array as alias of Eigen::Array (class template)
 
typedef Eigen::Array< double, 6, 1 > Array6
 make Array6 as alias of Eigen::Array<double, 6, 1>
 

Functions

Matrix4 homoTrans (const double &A, const double &alpha, const double &D, const double theta)
 Compute homogeneous transformation matrix for given link properties, and return the matrix. More...
 

Variables

static const double PI = 3.1415926535897932384626433832795
 Constant to present value of pi (more precise). More...
 
static const double RAD2DEG = 57.295779513082320876798154814105
 Constant to present converting from radian to degree. More...
 
static const double DEG2RAD = 0.01745329251994329576923690768489
 Constant to present converting from degree to radian. More...
 
static const double EPSILON = std::numeric_limits<float>::epsilon()
 Constant as critera if some variable close enough to zero. More...
 
static const double GRAVITY = 0.980665
 Constant to present value of gravity. More...
 

Detailed Description

math module namespace

Math module namespace.

Function Documentation

Matrix4 rb::math::homoTrans ( const double &  A,
const double &  alpha,
const double &  D,
const double  theta 
)
inline

Compute homogeneous transformation matrix for given link properties, and return the matrix.

Parameters
AGiven link length.
alphaGiven link twist.
DGiven link offset.
thetaGiven joint angle.
Returns
Homogeneous transformation matrix of given link properties.

Here is the caller graph for this function:

Variable Documentation

const double rb::math::DEG2RAD = 0.01745329251994329576923690768489
static

Constant to present converting from degree to radian.

const double rb::math::EPSILON = std::numeric_limits<float>::epsilon()
static

Constant as critera if some variable close enough to zero.

const double rb::math::GRAVITY = 0.980665
static

Constant to present value of gravity.

const double rb::math::PI = 3.1415926535897932384626433832795
static

Constant to present value of pi (more precise).

const double rb::math::RAD2DEG = 57.295779513082320876798154814105
static

Constant to present converting from radian to degree.