Typedefs | Functions | Variables
create::util Namespace Reference

Typedefs

typedef unsigned long long timestamp_t

Functions

static timestamp_t getTimestamp ()
float normalizeAngle (const float &angle)
bool willFloatOverflow (const float a, const float b)

Variables

static const float EPS = 0.0001
static const float IN_PLACE_RADIUS = 0.001
static const float MAX_RADIUS = 2.0
static const float PI = 3.14159
static const float STRAIGHT_RADIUS = 32.768
static const uint8_t STREAM_HEADER = 19
static const float TWO_PI = 6.28318
static const uint32_t V_3_MAX_ENCODER_TICKS = 65535
static const float V_3_TICKS_PER_REV = 508.8

Typedef Documentation

typedef unsigned long long create::util::timestamp_t

Definition at line 58 of file util.h.


Function Documentation

Get a timestamp for the current time in micro-seconds.

Definition at line 64 of file util.h.

float create::util::normalizeAngle ( const float &  angle) [inline]

Definition at line 53 of file util.h.

bool create::util::willFloatOverflow ( const float  a,
const float  b 
) [inline]

Definition at line 70 of file util.h.


Variable Documentation

const float create::util::EPS = 0.0001 [static]

Definition at line 51 of file util.h.

const float create::util::IN_PLACE_RADIUS = 0.001 [static]

Definition at line 48 of file util.h.

const float create::util::MAX_RADIUS = 2.0 [static]

Definition at line 46 of file util.h.

const float create::util::PI = 3.14159 [static]

Definition at line 49 of file util.h.

const float create::util::STRAIGHT_RADIUS = 32.768 [static]

Definition at line 47 of file util.h.

const uint8_t create::util::STREAM_HEADER = 19 [static]

Definition at line 43 of file util.h.

const float create::util::TWO_PI = 6.28318 [static]

Definition at line 50 of file util.h.

const uint32_t create::util::V_3_MAX_ENCODER_TICKS = 65535 [static]

Definition at line 45 of file util.h.

const float create::util::V_3_TICKS_PER_REV = 508.8 [static]

Definition at line 44 of file util.h.



libcreate
Author(s): Jacob Perron
autogenerated on Sat Nov 26 2016 03:41:46