Public Member Functions | |
OsvrHdkLedIdentifier (const PatternStringList &PATTERNS) | |
Give it a list of patterns to use. There is a string for each LED, and each is encoded with '*' meaning that the LED is bright and '.' that it is dim at this point in time. All patterns must have the same length. | |
ZeroBasedBeaconId | getId (ZeroBasedBeaconId currentId, BrightnessList &brightnesses, bool &lastBright, bool blobsKeepId) const override |
Determine an ID based on a list of brightnesses This truncates the passed-in list to only as many elements as are in the pattern list, to keep it from growing too large and wasting time and space. More... | |
OsvrHdkLedIdentifier (const PatternStringList &PATTERNS) | |
Give it a list of patterns to use. There is a string for each LED, and each is encoded with '*' meaning that the LED is bright and '.' that it is dim at this point in time. All patterns must have the same length. | |
int | getId (int currentId, BrightnessList &brightnesses, bool &lastBright, bool blobsKeepId) const override |
Determine an ID based on a list of brightnesses This truncates the passed-in list to only as many elements as are in the pattern list, to keep it from growing too large and wasting time and space. More... | |
![]() | |
virtual | ~LedIdentifier () |
Virtual destructor;. | |
virtual | ~LedIdentifier () |
Virtual destructor;. | |
Definition at line 40 of file HDKLedIdentifier.h.
|
overridevirtual |
Determine an ID based on a list of brightnesses This truncates the passed-in list to only as many elements as are in the pattern list, to keep it from growing too large and wasting time and space.
Skip turned-off patterns.
Implements osvr::vbtracker::LedIdentifier.
Definition at line 92 of file HDKLedIdentifier.cpp.
|
overridevirtual |
Determine an ID based on a list of brightnesses This truncates the passed-in list to only as many elements as are in the pattern list, to keep it from growing too large and wasting time and space.
Skip turned-off patterns.
Implements osvr::vbtracker::LedIdentifier.
Definition at line 91 of file HDKLedIdentifier.cpp.