ALMovementDetection API

NAOqi Vision - Overview | API

Namespace : AL

#include <alproxies/almovementdetectionproxy.h>

Method list

class ALMovementDetectionProxy

Events lists

ALMemory Keys list

Methods

bool ALMovementDetectionProxy::setSensitivity(const float& sensitivity)

Sets the value of the optical flow sensitivity for the detection. Please refer to ALMovementDetection for details.

Parameters:
  • sensitivity – Value of the new sensitivity.
Returns:

True if the update succeeded.

void ALMovementDetectionProxy::getSensitivity(const float& sensitivity)
Returns:The current optical flow sensitivity. Please refer to ALMovementDetection for details.

Events

Event: "MovementDetected"
callback(std::string eventName, std::string subscriberIdentifier)

Raised each time a movement is detected.

Note

This event should be prefixed by MovementDetection/ when subscribing to it.

ALMemory Keys

int MovementInfo

Contains the information about the detected movement. Please refer to ALMovementDetection for details.

Full name in ALMemory: MovementDetection/MovementInfo