![]() |
Khangai Robot Play - Naive
01
THe naive play of the Khangai Robot
|
#include "freewheel.h"
Macros | |
| #define | PI (3.14159) |
| #define | DISTANCE_RATIO(PPR, RADIUS) (2.0*(PI)*(RADIUS)/((PPR))) |
Functions | |
| void | Enc_HandleCount (struct Enc *enc) |
| float | Enc_get_DeltaDist (struct Enc *enc) |
Variables | |
| int32_t | gYCount = 0 |
| int32_t | gXCount = 0 |
| #define DISTANCE_RATIO | ( | PPR, | |
| RADIUS | |||
| ) | (2.0*(PI)*(RADIUS)/((PPR))) |
| #define PI (3.14159) |
| float Enc_get_DeltaDist | ( | struct Enc * | enc | ) |
| void Enc_HandleCount | ( | struct Enc * | enc | ) |
| int32_t gXCount = 0 |
| int32_t gYCount = 0 |