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 | |
Control your switchbot with ROS and SwitchBot API
Definition at line 16 of file switchbot_ros_server.py.
| def switchbot_ros_server.SwitchBotAction.__init__ | ( | self | ) |
Definition at line 20 of file switchbot_ros_server.py.
| def switchbot_ros_server.SwitchBotAction.execute_cb | ( | self, | |
| goal | |||
| ) |
Definition at line 87 of file switchbot_ros_server.py.
| def switchbot_ros_server.SwitchBotAction.get_switchbot_client | ( | self | ) |
Definition at line 41 of file switchbot_ros_server.py.
| def switchbot_ros_server.SwitchBotAction.print_devices | ( | self | ) |
Definition at line 60 of file switchbot_ros_server.py.
| def switchbot_ros_server.SwitchBotAction.publish_devices | ( | self | ) |
Definition at line 73 of file switchbot_ros_server.py.
| def switchbot_ros_server.SwitchBotAction.spin | ( | self | ) |
Definition at line 50 of file switchbot_ros_server.py.
|
private |
Definition at line 33 of file switchbot_ros_server.py.
| switchbot_ros_server.SwitchBotAction.bots |
Definition at line 30 of file switchbot_ros_server.py.
| switchbot_ros_server.SwitchBotAction.pub |
Definition at line 38 of file switchbot_ros_server.py.
| switchbot_ros_server.SwitchBotAction.published |
Definition at line 39 of file switchbot_ros_server.py.
| switchbot_ros_server.SwitchBotAction.token |
Definition at line 26 of file switchbot_ros_server.py.