NXPCUP-libary
Library for car's control board on NXPCUP competition based on the Mbed framework.
|
Namespaces | |
alamak | |
detail | |
Classes | |
class | BorderDetector |
class | Buttons |
class | Camera |
class | Encoder |
struct | Image |
class | Motor |
class | MotorControl |
class | ObstacleDetector |
class | ObstacleDetectorWithServo |
class | Servo |
class | SoftPWM |
Typedefs | |
using | ButtonId = int |
Functions | |
template<typename T > | |
T | clamp (T value, T min, T max) |
template<typename T > | |
T | abs (const T &v) |
template<typename T > | |
T | sign (const T &v) |
template<typename T > | |
T | pow (T base, uint8_t exp=2) |
using nxpcup::ButtonId = typedef int |
T nxpcup::abs | ( | const T & | v | ) |
T nxpcup::clamp | ( | T | value, |
T | min, | ||
T | max | ||
) |
T nxpcup::pow | ( | T | base, |
uint8_t | exp = 2 |
||
) |
T nxpcup::sign | ( | const T & | v | ) |