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

Public Member Functions

def __init__
 

Private Member Functions

def _callback_ros
 
def _publish
 

Private Attributes

 _interval
 
 _last_published
 
 _topic_from
 
 _topic_to
 

Detailed Description

Bridge from ROS topic to MQTT

bridge ROS messages on `topic_from` to MQTT topic `topic_to`. expect `msg_type` ROS message type.

Definition at line 38 of file bridge.py.

Constructor & Destructor Documentation

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

Definition at line 44 of file bridge.py.

Member Function Documentation

def src.mqtt_bridge.bridge.RosToMqttBridge._callback_ros (   self,
  msg 
)
private

Definition at line 51 of file bridge.py.

def src.mqtt_bridge.bridge.RosToMqttBridge._publish (   self,
  msg 
)
private

Definition at line 58 of file bridge.py.

Member Data Documentation

src.mqtt_bridge.bridge.RosToMqttBridge._interval
private

Definition at line 48 of file bridge.py.

src.mqtt_bridge.bridge.RosToMqttBridge._last_published
private

Definition at line 47 of file bridge.py.

src.mqtt_bridge.bridge.RosToMqttBridge._topic_from
private

Definition at line 45 of file bridge.py.

src.mqtt_bridge.bridge.RosToMqttBridge._topic_to
private

Definition at line 46 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