wiimote_node::WiimoteListeners Class Reference
List of all members.
Listen for request to rumble and LED blinking.
Subscribes to topics /rumble and /leds, listening for RumbleControl
and LEDControl messages.
Parameters: The switch_mode field is either
-1.0 to turn rumble on, zero to turn it off, or a
positive float. If switch_mode is such a positive number,
it is taken to be the repeat count for an on/off rumble
pattern (see next parameter)
The pulse_pattern is a float32[MAX_RUMBLE_PATTERN_LENGTH],
which contains fractional seconds that rumble is to be
on or off.
Definition at line 719 of file wiimote_node.py.
Member Function Documentation
Member Data Documentation
The documentation for this class was generated from the following file: