#include <CourseDetector.h>
◆ CourseDetector()
| CourseDetector::CourseDetector |
( |
| ) |
|
CourseDetector - detects which course layout the driver is on. Ported from js/lib/course-detector.js
◆ acceptCandidate()
| void CourseDetector::acceptCandidate |
( |
int |
index | ) |
|
◆ getDetectedCourseIndex()
| int CourseDetector::getDetectedCourseIndex |
( |
| ) |
const |
◆ getRankedMatchCount()
| int CourseDetector::getRankedMatchCount |
( |
| ) |
const |
◆ getRankedMatches()
◆ getState()
| int CourseDetector::getState |
( |
| ) |
const |
◆ getWaypointLat()
| double CourseDetector::getWaypointLat |
( |
| ) |
const |
◆ getWaypointLng()
| double CourseDetector::getWaypointLng |
( |
| ) |
const |
◆ hasWaypoint()
| bool CourseDetector::hasWaypoint |
( |
| ) |
const |
◆ init()
| void CourseDetector::init |
( |
CourseInfo * |
courses, |
|
|
int |
count |
|
) |
| |
◆ isDetected()
| bool CourseDetector::isDetected |
( |
| ) |
const |
◆ rejectAllCandidates()
| void CourseDetector::rejectAllCandidates |
( |
float |
currentOdometer | ) |
|
◆ reset()
| void CourseDetector::reset |
( |
| ) |
|
◆ setDetectionProximityMeters()
| void CourseDetector::setDetectionProximityMeters |
( |
float |
meters | ) |
|
◆ setSpeedThresholdMph()
| void CourseDetector::setSpeedThresholdMph |
( |
float |
mph | ) |
|
◆ update()
| void CourseDetector::update |
( |
double |
lat, |
|
|
double |
lng, |
|
|
float |
speedKmh, |
|
|
float |
totalOdometer |
|
) |
| |
The documentation for this class was generated from the following files: