ALBodyTemperature API

NAOqi Sensors & LEDs - Overview | API


Namespace : AL


           
            #include <alproxies/albodytemperatureproxy.h>

           
          

Method list

As any module, this module inherits methods from ALModule API .

Events

Event: "HotDeviceDetected"
callback ( std::string eventName , AL::ALValue hotDevices , std::string subscriberIdentifier )

Raised when at least one device (joint, actuator, sensor) has a high temperature.

Parameters:
  • eventName ( std::string ) – “HotDeviceDetected”
  • hotJoints – the list of devices with high temperature.
  • subscriberIdentifier ( std::string ) –
Event: "TemperatureStatusChanged"
callback ( std::string eventName , AL::ALValue temperatureStatus , std::string subscriberIdentifier )

Raised when the temperature status has changed.

Parameters:
  • eventName ( std::string ) – “TemperatureStatusChanged”
  • temperatureStatus

    Return an AL::ALValue with the current worst temperature status accross all the devices, in the following form:

    [ int Temperature status , [vector<string> The list of devices in failure] ].

    • Temperature status 0( NORMAL ), 1( HIGH ), 2( VERY HIGH ) or 3( CRITICAL ).
    • The list of devices currently at this status: could be a chain name, sensor name or actuator name. If status is 0 ( NORMAL ), the list is irrelevant.
  • subscriberIdentifier ( std::string ) –