This is a collection of helper functions that are used throughout the project. More...
Go to the source code of this file.
Namespaces | |
HybridAStar | |
The namespace that wraps the entire project. | |
Helper | |
The namespace that wraps helper.h. | |
Functions | |
static float | HybridAStar::Helper::normalizeHeading (float t) |
Normalizes a heading given in degrees to (0,360]. More... | |
static float | HybridAStar::Helper::normalizeHeadingRad (float t) |
Normalizes a heading given in rad to (0,2PI]. More... | |
static float | HybridAStar::Helper::toDeg (float t) |
Converts and normalizes a heading given in rad to deg. More... | |
static float | HybridAStar::Helper::toRad (float t) |
Converts and normalizes a heading given in deg to rad. More... | |
static float | HybridAStar::Helper::clamp (float n, float lower, float upper) |
Clamps a number between a lower and an upper bound. More... | |
This is a collection of helper functions that are used throughout the project.