Overview

This module give the estimated Nao PoseDetects.
.A MicroEvent is generated when the robot pose changed. A temporization of 500ms is apply before generated this MicroEvent.
The ALMemory Key is robotPoseChanged, its a string corresponding to the actual robot Pose.
Also some fast access Memory key are available :
robotPose An integer in relation with the actual pose(use getPoseNames() to have a relation between int and string)
robotPoseSince A float corresponding to the time in second since the actual Pose is active.

Methods

AL::ALValue getPoseNames ()

Get the full list of pose possibly return by this module.

Returns

A ALValue array of string containing the possible Poses.

AL::ALValue getActualPoseAndTime ()

Get the actual robot pose and the time since this pose was activate.

Returns

A ALValue array of size 2. With first a string of the robot pose and
then a float with the time in second since this pose is activated.


Methods inherited from ALModule

void exit ()

Exits and unregisters the module.

string version ()

Returns the version of the module.

Returns

A string containing the version of the module.

bool ping ()

Just a ping. Always returns true

Returns

returns true

vector<string> getMethodList ()

Retrieves the module's method list.

Returns

An array of method names.

AL::ALValue getMethodHelp (const string& methodName)

Retrieves a method's description.

methodName

The name of the method.

Returns

A structure containing the method's description.

AL::ALValue getModuleHelp ()

Retrieves the module's description.

Returns

A structure describing the module.

string getBrokerName ()

Gets the name of the parent broker.

Returns

The name of the parent broker.

string getUsage (const string& name)

Gets the method usage string. This summarise how to use the method.

name

The name of the method.

Returns

A string that summarises the usage of the method.


Copyright © 2010 Aldebaran Robotics - All rights reserved