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 12 of file rosbridge.py.

Constructor & Destructor Documentation

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

Definition at line 13 of file rosbridge.py.

Member Function Documentation

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

Definition at line 87 of file rosbridge.py.

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

Definition at line 84 of file rosbridge.py.

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

Definition at line 50 of file rosbridge.py.

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

Definition at line 81 of file rosbridge.py.

def mir_driver.rosbridge.RosbridgeSetup.is_connected (   self)

Definition at line 95 of file rosbridge.py.

def mir_driver.rosbridge.RosbridgeSetup.is_errored (   self)

Definition at line 98 of file rosbridge.py.

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

Definition at line 101 of file rosbridge.py.

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

Definition at line 20 of file rosbridge.py.

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

Definition at line 74 of file rosbridge.py.

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

Definition at line 24 of file rosbridge.py.

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

Definition at line 32 of file rosbridge.py.

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

Definition at line 46 of file rosbridge.py.

Member Data Documentation

mir_driver.rosbridge.RosbridgeSetup.callbacks

Definition at line 14 of file rosbridge.py.

mir_driver.rosbridge.RosbridgeSetup.connection

Definition at line 17 of file rosbridge.py.

mir_driver.rosbridge.RosbridgeSetup.resp

Definition at line 16 of file rosbridge.py.

mir_driver.rosbridge.RosbridgeSetup.service_callbacks

Definition at line 15 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 May 8 2019 02:38:53