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

◆ __init__()

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

Definition at line 44 of file bridge.py.

Member Function Documentation

◆ _callback_ros()

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

Definition at line 51 of file bridge.py.

◆ _publish()

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

Definition at line 58 of file bridge.py.

Member Data Documentation

◆ _interval

src.mqtt_bridge.bridge.RosToMqttBridge._interval
private

Definition at line 48 of file bridge.py.

◆ _last_published

src.mqtt_bridge.bridge.RosToMqttBridge._last_published
private

Definition at line 47 of file bridge.py.

◆ _topic_from

src.mqtt_bridge.bridge.RosToMqttBridge._topic_from
private

Definition at line 45 of file bridge.py.

◆ _topic_to

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 Fri Jan 27 2023 03:35:02