Public Member Functions | Private Member Functions | Private Attributes | List of all members
mqtt_bridge.bridge.MqttToRosBridge Class Reference
Inheritance diagram for mqtt_bridge.bridge.MqttToRosBridge:
Inheritance graph
[legend]

Public Member Functions

def __init__ (self, topic_from, topic_to, msg_type, frequency=None, queue_size=10)
 

Private Member Functions

def _callback_mqtt (self, client, userdata, mqtt_msg)
 
def _create_ros_message (self, mqtt_msg)
 

Private Attributes

 _interval
 
 _last_published
 
 _msg_type
 
 _publisher
 
 _queue_size
 
 _topic_from
 
 _topic_to
 

Detailed Description

Definition at line 80 of file bridge.py.

Constructor & Destructor Documentation

def mqtt_bridge.bridge.MqttToRosBridge.__init__ (   self,
  topic_from,
  topic_to,
  msg_type,
  frequency = None,
  queue_size = 10 
)

Definition at line 91 of file bridge.py.

Member Function Documentation

def mqtt_bridge.bridge.MqttToRosBridge._callback_mqtt (   self,
  client,
  userdata,
  mqtt_msg 
)
private

Definition at line 104 of file bridge.py.

def mqtt_bridge.bridge.MqttToRosBridge._create_ros_message (   self,
  mqtt_msg 
)
private

Definition at line 122 of file bridge.py.

Member Data Documentation

mqtt_bridge.bridge.MqttToRosBridge._interval
private

Definition at line 97 of file bridge.py.

mqtt_bridge.bridge.MqttToRosBridge._last_published
private

Definition at line 96 of file bridge.py.

mqtt_bridge.bridge.MqttToRosBridge._msg_type
private

Definition at line 94 of file bridge.py.

mqtt_bridge.bridge.MqttToRosBridge._publisher
private

Definition at line 101 of file bridge.py.

mqtt_bridge.bridge.MqttToRosBridge._queue_size
private

Definition at line 95 of file bridge.py.

mqtt_bridge.bridge.MqttToRosBridge._topic_from
private

Definition at line 92 of file bridge.py.

mqtt_bridge.bridge.MqttToRosBridge._topic_to
private

Definition at line 93 of file bridge.py.


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


mqtt_bridge
Author(s): Junya Hayashi
autogenerated on Thu Jun 6 2019 19:18:59