Go to the source code of this file.
Classes | |
| class | ignition::math::Angle |
| An angle and related functions. More... | |
Namespaces | |
| ignition | |
| ignition::math | |
| Math classes and function useful in robot applications. | |
Macros | |
| #define | IGN_DTOR(d) ((d) * IGN_PI / 180) |
| Converts degrees to radians. More... | |
| #define | IGN_NORMALIZE(a) (atan2(sin(a), cos(a))) |
| Macro that normalizes an angle in the range -Pi to Pi. More... | |
| #define | IGN_RTOD(r) ((r) * 180 / IGN_PI) |
| Macro that converts radians to degrees. More... | |
| #define IGN_DTOR | ( | d | ) | ((d) * IGN_PI / 180) |
Converts degrees to radians.
| [in] | degrees |
| #define IGN_NORMALIZE | ( | a | ) | (atan2(sin(a), cos(a))) |
Macro that normalizes an angle in the range -Pi to Pi.
| [in] | angle |
| #define IGN_RTOD | ( | r | ) | ((r) * 180 / IGN_PI) |
Macro that converts radians to degrees.
| [in] | radians |