Robotics Library  0.6.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Namespaces | Enumerations | Functions | Variables
Unit.h File Reference
#include "Real.h"
Include dependency graph for Unit.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  rl
namespace  rl::math

Enumerations

enum  rl::math::Unit {
  rl::math::UNIT_METER, rl::math::UNIT_KILOGRAM, rl::math::UNIT_SECOND, rl::math::UNIT_AMPERE,
  rl::math::UNIT_KELVIN, rl::math::UNIT_MOLE, rl::math::UNIT_CANDELA, rl::math::UNIT_RADIAN,
  rl::math::UNIT_HERTZ, rl::math::UNIT_NEWTON, rl::math::UNIT_VOLT, rl::math::UNIT_CELSIUS,
  rl::math::UNIT_METER_PER_SECOND, rl::math::UNIT_METER_PER_SECOND_SQUARED, rl::math::UNIT_RADIAN_PER_SECOND, rl::math::UNIT_NEWTON_SECOND,
  rl::math::UNIT_NEWTON_METER_SECOND, rl::math::UNIT_NEWTON_METER
}

Functions

void rl::math::cartesianToPolar (const Real &x, const Real &y, Real &r, Real &theta)
void rl::math::cartesianToSpherical (const Real &x, const Real &y, const Real &z, Real &rho, Real &psi, Real &theta)
void rl::math::polarToCartesian (const Real &r, const Real &theta, Real &x, Real &y)
void rl::math::sphericalToCartesian (const Real &rho, const Real &psi, const Real &theta, Real &x, Real &y, Real &z)

Variables

static const Real rl::math::DEG2RAD = 0.017453292519943295769236907684886f
static const Real rl::math::GRAVITY = 9.80665f
static const Real rl::math::RAD2DEG = 57.295779513082320876798154814105f