DovesLapTimer 4.0.0
GPS-based lap timing Arduino library — go-karts to race cars
Loading...
Searching...
No Matches
CourseConfig Struct Reference

#include <CourseManager.h>

+ Collaboration diagram for CourseConfig:

Public Attributes

bool hasSector2
 
bool hasSector3
 
float lengthFt
 
const char * name
 
double sector2ALat
 
double sector2ALng
 
double sector2BLat
 
double sector2BLng
 
double sector3ALat
 
double sector3ALng
 
double sector3BLat
 
double sector3BLng
 
double startALat
 
double startALng
 
double startBLat
 
double startBLng
 

Detailed Description

CourseManager - orchestrates multiple DovesLapTimer instances + CourseDetector + WaypointLapTimer.

Feeds ALL course timers the same GPS data simultaneously. Once the CourseDetector identifies candidates, validates via raceStarted sanity check. Falls back to WaypointLapTimer ("Lap Anything") if detection fails.

Implements the same updateCurrentTime() / loop() interface as DovesLapTimer, so the caller can feed it via duck typing.

Member Data Documentation

◆ hasSector2

bool CourseConfig::hasSector2

◆ hasSector3

bool CourseConfig::hasSector3

◆ lengthFt

float CourseConfig::lengthFt

◆ name

const char* CourseConfig::name

◆ sector2ALat

double CourseConfig::sector2ALat

◆ sector2ALng

double CourseConfig::sector2ALng

◆ sector2BLat

double CourseConfig::sector2BLat

◆ sector2BLng

double CourseConfig::sector2BLng

◆ sector3ALat

double CourseConfig::sector3ALat

◆ sector3ALng

double CourseConfig::sector3ALng

◆ sector3BLat

double CourseConfig::sector3BLat

◆ sector3BLng

double CourseConfig::sector3BLng

◆ startALat

double CourseConfig::startALat

◆ startALng

double CourseConfig::startALng

◆ startBLat

double CourseConfig::startBLat

◆ startBLng

double CourseConfig::startBLng

The documentation for this struct was generated from the following file: