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

#include <WaypointLapTimer.h>

+ Collaboration diagram for WaypointLapTimer:

Public Member Functions

bool areSectorLinesConfigured () const
 
float getBestLapDistance () const
 
int getBestLapNumber () const
 
unsigned long getBestLapTime () const
 
int getBestSector1LapNumber () const
 
unsigned long getBestSector1Time () const
 
int getBestSector2LapNumber () const
 
unsigned long getBestSector2Time () const
 
int getBestSector3LapNumber () const
 
unsigned long getBestSector3Time () const
 
bool getCrossing () const
 
float getCurrentLapDistance () const
 
unsigned long getCurrentLapSector1Time () const
 
unsigned long getCurrentLapSector2Time () const
 
unsigned long getCurrentLapSector3Time () const
 
unsigned long getCurrentLapTime () const
 
int getCurrentSector () const
 
int getDirection () const
 
int getLaps () const
 
float getLastLapDistance () const
 
unsigned long getLastLapTime () const
 
unsigned long getOptimalLapTime () const
 
float getPaceDifference () const
 
bool getRaceStarted () const
 
float getTotalDistanceTraveled () const
 
double getWaypointLat () const
 
double getWaypointLng () const
 
bool hasWaypoint () const
 
bool isDirectionResolved () const
 
int loop (double currentLat, double currentLng, float currentAltitudeMeters, float currentSpeedKnots)
 
void reset ()
 
void setProximityMeters (float meters)
 
void setSpeedThresholdMph (float mph)
 
void updateCurrentTime (unsigned long currentTimeMilliseconds)
 
 WaypointLapTimer (Stream *debugSerial=NULL)
 

Constructor & Destructor Documentation

◆ WaypointLapTimer()

WaypointLapTimer::WaypointLapTimer ( Stream *  debugSerial = NULL)

Member Function Documentation

◆ areSectorLinesConfigured()

bool WaypointLapTimer::areSectorLinesConfigured ( ) const
inline

◆ getBestLapDistance()

float WaypointLapTimer::getBestLapDistance ( ) const

◆ getBestLapNumber()

int WaypointLapTimer::getBestLapNumber ( ) const

◆ getBestLapTime()

unsigned long WaypointLapTimer::getBestLapTime ( ) const

◆ getBestSector1LapNumber()

int WaypointLapTimer::getBestSector1LapNumber ( ) const
inline

◆ getBestSector1Time()

unsigned long WaypointLapTimer::getBestSector1Time ( ) const
inline

◆ getBestSector2LapNumber()

int WaypointLapTimer::getBestSector2LapNumber ( ) const
inline

◆ getBestSector2Time()

unsigned long WaypointLapTimer::getBestSector2Time ( ) const
inline

◆ getBestSector3LapNumber()

int WaypointLapTimer::getBestSector3LapNumber ( ) const
inline

◆ getBestSector3Time()

unsigned long WaypointLapTimer::getBestSector3Time ( ) const
inline

◆ getCrossing()

bool WaypointLapTimer::getCrossing ( ) const

◆ getCurrentLapDistance()

float WaypointLapTimer::getCurrentLapDistance ( ) const

◆ getCurrentLapSector1Time()

unsigned long WaypointLapTimer::getCurrentLapSector1Time ( ) const
inline

◆ getCurrentLapSector2Time()

unsigned long WaypointLapTimer::getCurrentLapSector2Time ( ) const
inline

◆ getCurrentLapSector3Time()

unsigned long WaypointLapTimer::getCurrentLapSector3Time ( ) const
inline

◆ getCurrentLapTime()

unsigned long WaypointLapTimer::getCurrentLapTime ( ) const

◆ getCurrentSector()

int WaypointLapTimer::getCurrentSector ( ) const
inline

◆ getDirection()

int WaypointLapTimer::getDirection ( ) const
inline

◆ getLaps()

int WaypointLapTimer::getLaps ( ) const

◆ getLastLapDistance()

float WaypointLapTimer::getLastLapDistance ( ) const

◆ getLastLapTime()

unsigned long WaypointLapTimer::getLastLapTime ( ) const

◆ getOptimalLapTime()

unsigned long WaypointLapTimer::getOptimalLapTime ( ) const
inline

◆ getPaceDifference()

float WaypointLapTimer::getPaceDifference ( ) const

◆ getRaceStarted()

bool WaypointLapTimer::getRaceStarted ( ) const

◆ getTotalDistanceTraveled()

float WaypointLapTimer::getTotalDistanceTraveled ( ) const

◆ getWaypointLat()

double WaypointLapTimer::getWaypointLat ( ) const

◆ getWaypointLng()

double WaypointLapTimer::getWaypointLng ( ) const

◆ hasWaypoint()

bool WaypointLapTimer::hasWaypoint ( ) const

◆ isDirectionResolved()

bool WaypointLapTimer::isDirectionResolved ( ) const
inline

◆ loop()

int WaypointLapTimer::loop ( double  currentLat,
double  currentLng,
float  currentAltitudeMeters,
float  currentSpeedKnots 
)

◆ reset()

void WaypointLapTimer::reset ( )

◆ setProximityMeters()

void WaypointLapTimer::setProximityMeters ( float  meters)

◆ setSpeedThresholdMph()

void WaypointLapTimer::setSpeedThresholdMph ( float  mph)

◆ updateCurrentTime()

void WaypointLapTimer::updateCurrentTime ( unsigned long  currentTimeMilliseconds)

The documentation for this class was generated from the following files: