#include <Arduino.h>
#include "DovesLapTimer.h"
#include "GeoMath.h"
Go to the source code of this file.
◆ WLT_STATE_DRIVING
| #define WLT_STATE_DRIVING 2 |
◆ WLT_STATE_IDLE
WaypointLapTimer - universal fallback lap timer ("Lap Anything" mode).
Uses single-point proximity detection instead of crossing lines. Algorithm:
- Wait for speed >= 20 mph, drop a waypoint
- Drive away (min distance traveled)
- On return to waypoint proximity, buffer approach points
- On exit from proximity, use closest-approach point's time for lap split
- Repeat for subsequent laps
Duck-typed to match DovesLapTimer's public API so the display/logger can use either timer interchangeably.
◆ WLT_STATE_IN_PROXIMITY
| #define WLT_STATE_IN_PROXIMITY 3 |
◆ WLT_STATE_WAITING_SPEED
| #define WLT_STATE_WAITING_SPEED 1 |