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

Public Member Functions

def __init__
 

Private Member Functions

def _callback_mqtt
 
def _create_ros_message
 

Private Attributes

 _interval
 
 _last_published
 
 _msg_type
 
 _publisher
 
 _queue_size
 
 _topic_from
 
 _topic_to
 

Detailed Description

Bridge from MQTT to ROS topic

bridge MQTT messages on `topic_from` to ROS topic `topic_to`. MQTT messages will be converted to `msg_type`.

Definition at line 63 of file bridge.py.

Constructor & Destructor Documentation

def src.mqtt_bridge.bridge.MqttToRosBridge.__init__ (   self,
  topic_from 
)

Definition at line 69 of file bridge.py.

Member Function Documentation

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

Definition at line 83 of file bridge.py.

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

Definition at line 96 of file bridge.py.

Member Data Documentation

src.mqtt_bridge.bridge.MqttToRosBridge._interval
private

Definition at line 76 of file bridge.py.

src.mqtt_bridge.bridge.MqttToRosBridge._last_published
private

Definition at line 75 of file bridge.py.

src.mqtt_bridge.bridge.MqttToRosBridge._msg_type
private

Definition at line 73 of file bridge.py.

src.mqtt_bridge.bridge.MqttToRosBridge._publisher
private

Definition at line 80 of file bridge.py.

src.mqtt_bridge.bridge.MqttToRosBridge._queue_size
private

Definition at line 74 of file bridge.py.

src.mqtt_bridge.bridge.MqttToRosBridge._topic_from
private

Definition at line 71 of file bridge.py.

src.mqtt_bridge.bridge.MqttToRosBridge._topic_to
private

Definition at line 72 of file bridge.py.


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


mqtt_bridge
Author(s): Junya Hayashi
autogenerated on Mon Feb 15 2021 03:57:51