Package rocon_utilities :: Module gateways
[frames] | no frames]

Module gateways

source code

Functions
 
create_gateway_remote_rule(gateway, rule) source code
 
create_gateway_rule(name, connection_type, node_name='')
Quickly hack a gateway rule.
source code
 
gateway_basename(gateway_name)
Strips the 16 byte hash (in hex format) from a gateway name, leaving the base name.
source code
Variables
  __package__ = 'rocon_utilities'
Function Details

create_gateway_rule(name, connection_type, node_name='')

source code 

Quickly hack a gateway rule.

Parameters:
  • name - connection name (e.g. /chatter) @type string
  • connection_type - one of pub, sub, etc. @type gateway_msgs.ConnectionType,XXX constants

gateway_basename(gateway_name)

source code 

Strips the 16 byte hash (in hex format) from a gateway name, leaving the base name. Note, 16 hex values represents 32 characters

Parameters:
  • gateway_name - base_name + 16 byte hex formatted hash @type str @return base name without the hash @rtype str