Kinova-kortex2_Gen3_G3L

class ControllerNotification

Member values

Member name Data type Description Usage
controller_state oneof:state ControllerState Used to indicate if a controller connection or disconnection event occured You can manipulate the field controller_state as if it were a regular field. To clear the value of controller_state and reset it to the default value for its type, you call the ClearField() method of the Message interface. The message class also has a WhichOneof method that lets you find out which field (if any) in the oneof has been set.
controller_element oneof:state ControllerElementState Used to indicate if a specific button (or axis) was pressed (or moved) You can manipulate the field controller_element as if it were a regular field. To clear the value of controller_element and reset it to the default value for its type, you call the ClearField() method of the Message interface. The message class also has a WhichOneof method that lets you find out which field (if any) in the oneof has been set.
timestamp Timestamp Event timestamp To set timestamp, you simply assign a value directly to a field within timestamp. You can also use the parent message’s HasField() method to check if a message type field value has been set.
user_handle UserProfileHandle User that caused the controller event To set user_handle, you simply assign a value directly to a field within user_handle. You can also use the parent message’s HasField() method to check if a message type field value has been set.
connection Connection Connection that caused the controller event To set connection, you simply assign a value directly to a field within connection. You can also use the parent message’s HasField() method to check if a message type field value has been set.

Parent topic: Base (Python)