Allow control over Hokuyo laser when available on Nao's head.
void setOpeningAngle (const AL::ALValue& angle_min_f, const AL::ALValue& angle_max_f)
Set openning angle of the laser
float containing the min value in rad, this value must be upper than -2.35619449
float containing the max value in rad, this value must be lower than 2.092349795
Example in python :
# Set the opening angle at -90/90 degres laser = ALProxy("ALLaser","127.0.0.1",9559) laser.setOpeningAngle(-1.570796327,1.570796327)
void setDetectingLength (const AL::ALValue& length_min_l, const AL::ALValue& length_max_l)
Set detection threshold of the laser
int containing the min length that the laser will detect(mm), this value must be upper than 20 mm
int containing the max length that the laser will detect(mm), this value must be lower than 5600 mm
Example in python :
# Set detection threshold at 500/3000 mm laser = ALProxy("ALLaser","127.0.0.1",9559) laser.setDetectingLength(500,3000)
string version ()
Returns the version of the module.
A string containing the version of the module.
AL::ALValue getMethodHelp (const string& methodName)
Retrieves a method's description.
The name of the method.
A structure containing the method's description.
AL::ALValue getModuleHelp ()
Retrieves the module's description.
A structure describing the module.
string getUsage (const string& name)
Gets the method usage string. This summarise how to use the method.
The name of the method.
A string that summarises the usage of the method.