NAOqi PeoplePerception - Overview | API | Getting started
Namespace : AL
#include <alproxies/albasicawareness>
As any module, this module inherits methods from ALModule API. It also has the following specific methods:
Gets the status (started or not) of the module.
Returns: | Boolean value: true if the module is started, false if it’s stopped or paused. |
---|
Enables/disables detection of the specified type of stimulus.
Parameters: |
|
---|
Gets status enabled/disabled for the detection of the specified type of stimulus.
Parameters: |
|
---|---|
Returns: | true if enabled, false if disabled |
Note
Throws AL::ALError if setting fails.
Sets the engagement mode.
Parameters: |
|
---|
Gets the current engagement mode. For further details, see: Engagement Modes.
Returns: | The engagement mode name. |
---|
Forces the robot to engage a person identified by its PeoplePerception ID.
Parameters: |
|
---|---|
Returns: | true if the robot succeeded to engage the person, else false. |
Sets the current tracking Mode.
Parameters: |
|
---|
Gets the current tracking mode.
Returns: | the tracking mode name. For further details, see: Tracking Modes. |
---|
Sets parameters related to basic awareness features.
Parameters: |
|
---|
Parameters: |
|
---|
Gets parameters related to basic awareness features.
Parameters: |
|
---|---|
Returns: | value of the parameter (ALValue). |
Raised when a stimulus is detected.
Parameters: |
|
---|
Note
To know if a person is detected in the general case, use the event HumanTracked rather than the event StimulusDetected with the value People. For example, if the robot detects a person thanks to a sound stimulus, the robot will raise the event StimulusDetected with the value Sound, then recognize the person and raise the event HumanTracked with a positive ID, but the event StimulusDetected won’t be raised with the value People.
Raised when the robot begins to track a person, when the tracked person is lost, or when the tracked person’s ID is updated.
Parameters: |
|
---|
Raised when the person tracked can no longer be found for some time.