ALChestButton API

NAOqi Sensors - Overview | API


Events

Event: "ChestButtonPressed"
callback(std::string eventName, float val, std::string subscriberIdentifier)

Raised when the chest button is pressed.

Parameters:
  • eventName (std::string) – “ChestButtonPressed”
  • val – 1.0 if chest button is pressed.
  • subscriberIdentifier (std::string) –
Event: "ALChestButton/SimpleClickOccurred"
callback(std::string eventName, std::string subscriberIdentifier)

Raised when the chest button is clicked.

Event: "ALChestButton/DoubleClickOccurred"
callback(std::string eventName, std::string subscriberIdentifier)

Raised when the chest button is double clicked.

Event: "ALChestButton/TripleClickOccurred"
callback(std::string eventName, std::string subscriberIdentifier)

Raised when the chest button is triple clicked.