cpp_robotics::constants
数学・物理定数
Attributes
Name | |
---|---|
constexpr double | PI 円周率 |
constexpr double | HALF_PI 円周率 / 2 |
constexpr double | TWO_PI 円周率 * 2 |
constexpr double | DEG_TO_RAD degree -> radians |
constexpr double | RAD_TO_DEG radian -> degree |
constexpr double | EULER ネイピア数 |
constexpr double | GRAVITY 重力 |
constexpr double | Nm2gfm |
constexpr double | gfm2Nm |
constexpr double | mNm2gfcm |
constexpr double | gfcm2mNm |
Attributes Documentation
variable PI
constexpr double PI = 3.1415926535897932384626433832795;
円周率
variable HALF_PI
constexpr double HALF_PI = PI / 2.0;
円周率 / 2
variable TWO_PI
constexpr double TWO_PI = PI * 2.0;
円周率 * 2
variable DEG_TO_RAD
constexpr double DEG_TO_RAD = PI / 180.0;
degree -> radians
variable RAD_TO_DEG
constexpr double RAD_TO_DEG = 180.0 / PI;
radian -> degree
variable EULER
constexpr double EULER = 2.718281828459045235360287471352;
ネイピア数
variable GRAVITY
constexpr double GRAVITY = 9.807;
重力
variable Nm2gfm
constexpr double Nm2gfm = (1/GRAVITY);
variable gfm2Nm
constexpr double gfm2Nm = GRAVITY;
variable mNm2gfcm
constexpr double mNm2gfcm = (Nm2gfm * 100);
variable gfcm2mNm
constexpr double gfcm2mNm = (gfm2Nm / 100);
Updated on 2024-05-28 at 06:55:40 +0000