This module works with Linux Infrared Remote Control (LIRC) in order to emit/receive IR remotes keys or to emit/receive IR information to/from an other Nao.
void initReception (const int& RepeatThreshold)
Init IR reception (connect as a client to the LIRC daemon).
Give the keep-pressing threshold after which the repetition of a key is taken into consideration.
void sendRemoteKey (const string& Remote, const string& Key)
Simulate a remote control (Nao as a remote control).
IR remote control name.
IR remote control key name.
void send32 (const int& Octet1, const int& Octet2, const int& Octet3, const int& Octet4)
Send 4 octets by IR.
Octet 1 to send through IR.
Octet 2 to send through IR.
Octet 3 to send through IR.
Octet 4 to send through IR.
void confRemoteRecordSave ()
Rewrite the LIRC daemon configuration file (lircd.conf) with everyremotes configuration concatenated, and reload it in LIRC daemons
void confRemoteRecordStart (const string& Rm_name)
Start remote record process.
Name of the remote control to reccord.
string confRemoteRecordNext ()
Called when the user click on NEXT.
Returns the last message given by irrecord (lirc program to record IR remote control).
string confRemoteRecordAddKey (const string& Keyname)
Called during polling in order to update further information.
Name of the next remote control key to reccord.
Returns the last message given by irrecord (LIRC program to record IR remote controls).
string confRemoteRecordGetStatus ()
Called when the user validate a new key name.
Returns the last message given by irrecord (LIRC program to record IR remote controls).
string confRemoteRecordCancel ()
Kill irrecord (LIRC program to record IR remote controls).
Returns "#BEGIN#" to tell the web page to start from the beginning.
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.