Class WiimoteNode

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

CallbackReturn on_configure(const rclcpp_lifecycle::State &previous_state) override
CallbackReturn on_activate(const rclcpp_lifecycle::State &previous_state) override
CallbackReturn on_deactivate(const rclcpp_lifecycle::State &previous_state) override
CallbackReturn on_cleanup(const rclcpp_lifecycle::State &previous_state) override
CallbackReturn on_shutdown(const rclcpp_lifecycle::State &previous_state) override
CallbackReturn on_error(const rclcpp_lifecycle::State &previous_state) override
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)