RobotArmLib 0.0.6
Robot Arm Library [WIP]
Loading...
Searching...
No Matches
unit.h
Go to the documentation of this file.
1
7#ifndef RB_UNIT_H_
8#define RB_UNIT_H_
9#include <limits>
10
11namespace rb
12{
13namespace math
14{
16 static const double PI = 3.1415926535897932384626433832795;
17
19 static const double RAD2DEG = 57.295779513082320876798154814105;
20
22 static const double DEG2RAD = 0.01745329251994329576923690768489;
23
25 static const double EPSILON = std::numeric_limits<float>::epsilon();
26
28 static const double GRAVITY = 0.980665;
29}
30}
31
32#endif // RB_UNIT_H_
static const double EPSILON
Constant as critera if some variable close enough to zero.
Definition unit.h:25
static const double RAD2DEG
Constant to present converting from radian to degree.
Definition unit.h:19
static const double PI
Constant to present value of pi (more precise).
Definition unit.h:16
static const double DEG2RAD
Constant to present converting from degree to radian.
Definition unit.h:22
static const double GRAVITY
Constant to present value of gravity.
Definition unit.h:28
Robot Arm Library namespace.
Definition artic.cpp:13