Public Member Functions | Public Attributes | Private Attributes | List of all members
switchbot_ros_server.SwitchBotAction Class Reference

Public Member Functions

def __init__ (self)
 
def execute_cb (self, goal)
 
def get_switchbot_client (self)
 
def print_devices (self)
 
def publish_devices (self)
 
def spin (self)
 

Public Attributes

 bots
 
 pub
 
 published
 
 token
 

Private Attributes

 _as
 

Detailed Description

Control your switchbot with ROS and SwitchBot API

Definition at line 16 of file switchbot_ros_server.py.

Constructor & Destructor Documentation

◆ __init__()

def switchbot_ros_server.SwitchBotAction.__init__ (   self)

Definition at line 20 of file switchbot_ros_server.py.

Member Function Documentation

◆ execute_cb()

def switchbot_ros_server.SwitchBotAction.execute_cb (   self,
  goal 
)

Definition at line 87 of file switchbot_ros_server.py.

◆ get_switchbot_client()

def switchbot_ros_server.SwitchBotAction.get_switchbot_client (   self)

Definition at line 41 of file switchbot_ros_server.py.

◆ print_devices()

def switchbot_ros_server.SwitchBotAction.print_devices (   self)

Definition at line 60 of file switchbot_ros_server.py.

◆ publish_devices()

def switchbot_ros_server.SwitchBotAction.publish_devices (   self)

Definition at line 73 of file switchbot_ros_server.py.

◆ spin()

def switchbot_ros_server.SwitchBotAction.spin (   self)

Definition at line 50 of file switchbot_ros_server.py.

Member Data Documentation

◆ _as

switchbot_ros_server.SwitchBotAction._as
private

Definition at line 33 of file switchbot_ros_server.py.

◆ bots

switchbot_ros_server.SwitchBotAction.bots

Definition at line 30 of file switchbot_ros_server.py.

◆ pub

switchbot_ros_server.SwitchBotAction.pub

Definition at line 38 of file switchbot_ros_server.py.

◆ published

switchbot_ros_server.SwitchBotAction.published

Definition at line 39 of file switchbot_ros_server.py.

◆ token

switchbot_ros_server.SwitchBotAction.token

Definition at line 26 of file switchbot_ros_server.py.


The documentation for this class was generated from the following file:


switchbot_ros
Author(s): Yoshiki Obinata
autogenerated on Sat Jun 24 2023 02:40:43