Public Member Functions | Public Attributes | List of all members
mir_driver.rosbridge.RosbridgeSetup Class Reference

Public Member Functions

def __init__ (self, host, port)
 
def addCallback (self, topic, callback)
 
def addServiceCallback (self, id, callback)
 
def callService (self, serviceName, callback=None, msg=None)
 
def generate_id (self, chars=16)
 
def is_connected (self)
 
def is_errored (self)
 
def onMessageReceived (self, message)
 
def publish (self, topic, obj)
 
def send (self, obj)
 
def subscribe (self, topic, callback, throttle_rate=-1)
 
def unhook (self, callback)
 
def unsubscribe (self, topic)
 

Public Attributes

 callbacks
 
 connection
 
 resp
 
 service_callbacks
 

Detailed Description

Definition at line 40 of file rosbridge.py.

Constructor & Destructor Documentation

◆ __init__()

def mir_driver.rosbridge.RosbridgeSetup.__init__ (   self,
  host,
  port 
)

Definition at line 41 of file rosbridge.py.

Member Function Documentation

◆ addCallback()

def mir_driver.rosbridge.RosbridgeSetup.addCallback (   self,
  topic,
  callback 
)

Definition at line 116 of file rosbridge.py.

◆ addServiceCallback()

def mir_driver.rosbridge.RosbridgeSetup.addServiceCallback (   self,
  id,
  callback 
)

Definition at line 113 of file rosbridge.py.

◆ callService()

def mir_driver.rosbridge.RosbridgeSetup.callService (   self,
  serviceName,
  callback = None,
  msg = None 
)

Definition at line 78 of file rosbridge.py.

◆ generate_id()

def mir_driver.rosbridge.RosbridgeSetup.generate_id (   self,
  chars = 16 
)

Definition at line 110 of file rosbridge.py.

◆ is_connected()

def mir_driver.rosbridge.RosbridgeSetup.is_connected (   self)

Definition at line 124 of file rosbridge.py.

◆ is_errored()

def mir_driver.rosbridge.RosbridgeSetup.is_errored (   self)

Definition at line 127 of file rosbridge.py.

◆ onMessageReceived()

def mir_driver.rosbridge.RosbridgeSetup.onMessageReceived (   self,
  message 
)

Definition at line 130 of file rosbridge.py.

◆ publish()

def mir_driver.rosbridge.RosbridgeSetup.publish (   self,
  topic,
  obj 
)

Definition at line 48 of file rosbridge.py.

◆ send()

def mir_driver.rosbridge.RosbridgeSetup.send (   self,
  obj 
)

Definition at line 103 of file rosbridge.py.

◆ subscribe()

def mir_driver.rosbridge.RosbridgeSetup.subscribe (   self,
  topic,
  callback,
  throttle_rate = -1 
)

Definition at line 52 of file rosbridge.py.

◆ unhook()

def mir_driver.rosbridge.RosbridgeSetup.unhook (   self,
  callback 
)

Definition at line 60 of file rosbridge.py.

◆ unsubscribe()

def mir_driver.rosbridge.RosbridgeSetup.unsubscribe (   self,
  topic 
)

Definition at line 74 of file rosbridge.py.

Member Data Documentation

◆ callbacks

mir_driver.rosbridge.RosbridgeSetup.callbacks

Definition at line 42 of file rosbridge.py.

◆ connection

mir_driver.rosbridge.RosbridgeSetup.connection

Definition at line 45 of file rosbridge.py.

◆ resp

mir_driver.rosbridge.RosbridgeSetup.resp

Definition at line 44 of file rosbridge.py.

◆ service_callbacks

mir_driver.rosbridge.RosbridgeSetup.service_callbacks

Definition at line 43 of file rosbridge.py.


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


mir_driver
Author(s): Martin Günther
autogenerated on Wed Nov 13 2024 03:34:54