|
Namespaces |
| namespace | std |
| namespace | ProjectInterface |
Vision Setup |
A collection of the various stages of vision processing. None of these are absolutely required, but are needed to run included demo behaviors and TekkotsuMon modules
|
|
FilterBankGenerator * | ProjectInterface::defRawCameraGenerator |
| | pointer to generator
|
|
FilterBankGenerator * | ProjectInterface::defInterleavedYUVGenerator |
| | pointer to generator
|
|
JPEGGenerator * | ProjectInterface::defColorJPEGGenerator |
| | pointer to generator
|
|
JPEGGenerator * | ProjectInterface::defGrayscaleJPEGGenerator |
| | pointer to generator
|
|
PNGGenerator * | ProjectInterface::defColorPNGGenerator |
| | pointer to generator
|
|
PNGGenerator * | ProjectInterface::defGrayscalePNGGenerator |
| | pointer to generator
|
|
SegmentedColorGenerator * | ProjectInterface::defSegmentedColorGenerator |
| | pointer to generator
|
|
RLEGenerator * | ProjectInterface::defRLEGenerator |
| | pointer to generator
|
|
RegionGenerator * | ProjectInterface::defRegionGenerator |
| | pointer to generator
|
Vision SIDs |
Default source IDs for the various generators; These are given default values, but you can reassign them if you like.
|
|
unsigned int | ProjectInterface::visRawCameraSID |
| | source id for vision events from the corresponding pipeline stage or object detector
|
|
unsigned int | ProjectInterface::visInterleaveSID |
| | source id for vision events from the corresponding pipeline stage or object detector
|
|
unsigned int | ProjectInterface::visColorJPEGSID |
| | source id for vision events from the corresponding pipeline stage or object detector
|
|
unsigned int | ProjectInterface::visGrayscaleJPEGSID |
| | source id for vision events from the corresponding pipeline stage or object detector
|
|
unsigned int | ProjectInterface::visColorPNGSID |
| | source id for vision events from the corresponding pipeline stage or object detector
|
|
unsigned int | ProjectInterface::visGrayscalePNGSID |
| | source id for vision events from the corresponding pipeline stage or object detector
|
|
unsigned int | ProjectInterface::visSegmentSID |
| | source id for vision events from the corresponding pipeline stage or object detector
|
|
unsigned int | ProjectInterface::visRLESID |
| | source id for vision events from the corresponding pipeline stage or object detector
|
|
unsigned int | ProjectInterface::visRegionSID |
| | source id for vision events from the corresponding pipeline stage or object detector
|
|
unsigned int | ProjectInterface::visPinkBallSID |
| | source id for vision events from the corresponding pipeline stage or object detector
|
|
unsigned int | ProjectInterface::visBlueBallSID |
| | source id for vision events from the corresponding pipeline stage or object detector
|
|
unsigned int | ProjectInterface::visGreenBallSID |
| | source id for vision events from the corresponding pipeline stage or object detector
|
|
unsigned int | ProjectInterface::visYellowBallSID |
| | source id for vision events from the corresponding pipeline stage or object detector
|
|
unsigned int | ProjectInterface::visOrangeSID |
| | source id for vision events from the corresponding pipeline stage or object detector
|
|
unsigned int | ProjectInterface::visHandSID |
| | synonym for visOrangeSID
|
Layer Resolutions |
Allows you to request a particular layer abstractly - this isn't used by the framework, just a suggestion for clarity
|
|
unsigned int | ProjectInterface::doubleLayer |
| | ERS-2xx: 352*288; ERS-7 416*320 (requires non-trivial computation).
|
|
unsigned int | ProjectInterface::fullLayer |
| | ERS-2xx: 176*144; ERS-7 208*160.
|
|
unsigned int | ProjectInterface::halfLayer |
| | ERS-2xx: 88*72; ERS-7 104*80.
|
|
unsigned int | ProjectInterface::quarterLayer |
| | ERS-2xx: 44*36; ERS-7 52*40.
|
|
unsigned int | ProjectInterface::eighthLayer |
| | ERS-2xx: 22*18; ERS-7 26*20 (simply a bigger interleave referencing quarterLayer).
|
|
unsigned int | ProjectInterface::sixteenthLayer |
| | ERS-2xx: 11*9; ERS-7 13*10 (simply a bigger interleave referencing quarterLayer).
|
Functions |
| BehaviorBase & | ProjectInterface::startupBehavior () |
| | REQUIRED: you must define a behavior which will be started when the boot is complete.
|
| bool | ProjectInterface::displayException (const char *file, int line, const char *message, const std::exception *ex) |
| | Displays information about an exception on serr, provides a default value for uncaughtException.
|
| color_index | ProjectInterface::getColorIndex (const std::string &name) |
| | Returns the index corresponding to a color of specified name by calling lookupColorIndexByName().
|
|
color_index | ProjectInterface::getColorIndex (const rgb rgbval) |
| | Returns the index corresponding to an rgb value by calling lookupColorIndexByRgb().
|
| rgb | ProjectInterface::getColorRGB (const std::string &name) |
| | Returns rgb value corresponding to a color of specified name by calling lookupColorRGB(lookupColorIndexByName()).
|
| rgb | ProjectInterface::getColorRGB (color_index cindex) |
| | Returns rgb value corresponding to a color of specified name by calling lookupColorRGB().
|
| const char * | ProjectInterface::getColorName (color_index cindex) |
| | Returns color name corresponding to specified color index by calling lookupColorName().
|
|
unsigned int | ProjectInterface::getNumColors () |
| | Returns the number of colors, obtained from defSegmentedColorGenerator.
|
Variables |
| bool(*) | ProjectInterface::uncaughtException (const char *file, int line, const char *message, const std::exception *ex) |
| | The exception handler for exceptions which have fallen through to base Tekkotsu functions.
|
| color_index(*) | ProjectInterface::lookupColorIndexByName (const std::string &name) |
| | allows you to override how colors are defined -- by default, this will be set to a function which passes the call to defSegmentedColorGenerator
|
|
color_index(*) | ProjectInterface::lookupColorIndexByRgb (const rgb rgbval) |
| | allows you to override how colors are defined -- by default, this will be set to a function which passes the call to defSegmentedColorGenerator
|
| rgb(*) | ProjectInterface::lookupColorRGB (color_index cindex) |
| | allows you to override how colors are defined -- by default, this will be set to a function which passes the call to defSegmentedColorGenerator
|
| const char *(*) | ProjectInterface::lookupColorName (color_index cindex) |
| | allows you to override how colors are defined -- by default, this will be set to a function which passes the call to defSegmentedColorGenerator
|
|
unsigned int(*) | ProjectInterface::lookupNumColors () |
| | returns the number of indexed colors which are currently defined
|