|
Object Hunt
v0.2
Hunts for a not specified object in an unknown environment
|
Contains definitions regarding speed. More...
Classes | |
| struct | Request |
| Speed request. More... | |
| struct | Response |
| Speed response. More... | |
| struct | ResponseMapping |
| Speed response for the mapping process. More... | |
Variables | |
| const int | MEASUREMENT_INTERVAL_MS = 250 |
| The measurement interval. More... | |
| const float | WHEEL_DIAMETER_CM = 6.61 |
| Diameter of the wheels. More... | |
| const float | WHEEL_EXTENT_CM = float(3.141592654 * WHEEL_DIAMETER_CM) |
| Extent of the wheels. More... | |
| const uint8_t | COUNTS_PER_REVOLUTION = 20 |
| Counts per revolution. More... | |
| const float | DISTANCE_PER_COUNT_CM = WHEEL_EXTENT_CM / COUNTS_PER_REVOLUTION |
| Calculated distance per count. More... | |
Contains definitions regarding speed.
Defines requests and responses for the inter-process communication and definitions to calculate the speed.
| const uint8_t Speed::COUNTS_PER_REVOLUTION = 20 |
Counts per revolution.
The number of counts that indicates a full revolution of the respecting wheel.
| const float Speed::DISTANCE_PER_COUNT_CM = WHEEL_EXTENT_CM / COUNTS_PER_REVOLUTION |
Calculated distance per count.
The distance that each count translates to in centimeter.
| const int Speed::MEASUREMENT_INTERVAL_MS = 250 |
The measurement interval.
A dedicated thread will calculate the actual speed in this interval.
| const float Speed::WHEEL_DIAMETER_CM = 6.61 |
Diameter of the wheels.
The diameter of the wheels in centimeter.
| const float Speed::WHEEL_EXTENT_CM = float(3.141592654 * WHEEL_DIAMETER_CM) |
Extent of the wheels.
The extent of the wheels in centimeter.
1.8.13