ALChestButton API¶
NAOqi Sensors & LEDs - Overview | API
Event list¶
Events¶
-
Event:callback(std::string eventName, float val, std::string subscriberIdentifier)¶
"ChestButtonPressed"
Raised when the chest button is pressed.
Parameters: - eventName (std::string) – “ChestButtonPressed”
- val – 1.0 if chest button is pressed.
- subscriberIdentifier (std::string) –
-
Event:callback(std::string eventName, std::string subscriberIdentifier)¶
"ALChestButton/SimpleClickOccurred"
Raised when the chest button is pressed, i.e pressed and released.
-
Event:callback(std::string eventName, std::string subscriberIdentifier)¶
"ALChestButton/DoubleClickOccurred"
Raised when the chest button is double-clicked, i.e pressed and released twice.
-
Event:callback(std::string eventName, std::string subscriberIdentifier)¶
"ALChestButton/TripleClickOccurred"
Raised when the chest button is triple-clicked, i.e pressed and released thrice.