Class WiimoteNode
Defined in File wiimote_controller.hpp
Inheritance Relationships
Base Type
public rclcpp_lifecycle::LifecycleNode
Class Documentation
-
class WiimoteNode : public rclcpp_lifecycle::LifecycleNode
Public Functions
-
explicit WiimoteNode(const rclcpp::NodeOptions &options)
rclcpp component-compatible constructor
- Parameters:
options –
-
char *get_bluetooth_addr()
-
void set_bluetooth_addr(const char *bt_str)
-
bool pair_wiimote(int flags, int timeout)
-
int unpair_wiimote()
-
void publish()
-
bool wiimote_is_connected()
-
void check_connection()
-
void set_led_state(uint8_t led_state)
-
void set_rumble_state(uint8_t rumble)
-
explicit WiimoteNode(const rclcpp::NodeOptions &options)