NAOqi Core - Overview | ALExtractor API | ALVisionExtractor API
Any ALExtractor inherits methods from ALModule API. It also has the following specific methods:
There are two overloads of this function:
Subscribes to the extractor with given period and precision values. If not yet started by another subscriber, starts processing data periodically and publishes data in ALMemory (either as memory keys or events).
Parameters: |
|
---|
Subscribes to the extractor with default period (30) and precision (1).
Parameters: |
|
---|
Unsubscribes a given subscriber from the extractor.
Parameters: |
|
---|
Updates the extractor period for a given subscriber if relevant.
Parameters: |
|
---|
Updates the extractor precision for a given subscriber if relevant.
Parameters: |
|
---|
Gets the current period of the extractor.
Returns: | Smallest period required by all the subscribers. |
---|
Gets the current precision of the extractor.
Returns: | Highest precision required by all the subscribers. |
---|
Gets the current period of a given extractor.
Parameters: |
|
---|---|
Returns: | Current period. |
Gets the current precision of a given extractor.
Parameters: |
|
---|---|
Returns: | Current precision. |
Gets the list of parameters for all the current subscribers (name, period and precision).
Returns: | Array of the form [ [name_1, period_1, precision_1], [name_2, period_2, precision_2] ... ]. |
---|
Gets the list of ALMemory keys modified by the extractor.
Returns: | vector of names [ memoryKey_1, memoryKey_2 ... ]. |
---|