Package rocon_gateway :: Module ros_parameters
[frames] | no frames]

Module ros_parameters

source code

Functions
 
setup_ros_parameters()
Returns the gateway parameters from the ros param server.
source code
 
generate_rules(param)
Converts a param of the suitable type (see default_blacklist.yaml) into a dictionary of Rule types.
source code
 
generate_remote_rules(param)
Converts a param of the suitable type (default_flips, default_pulls) into a list of RemoteRule objects and a list of target gateways for flip_all/pull_all.
source code
Variables
  __package__ = 'rocon_gateway'
Function Details

setup_ros_parameters()

source code 

Returns the gateway parameters from the ros param server. Most of these should be fairly self explanatory.

generate_rules(param)

source code 

Converts a param of the suitable type (see default_blacklist.yaml) into a dictionary of Rule types.

@return all rules as gateway_msgs.msg.Rule objects in our usual keyed dictionary format @rtype type keyed dictionary of Rule lists

generate_remote_rules(param)

source code 

Converts a param of the suitable type (default_flips, default_pulls) into a list of RemoteRule objects and a list of target gateways for flip_all/pull_all.

@param yaml object @type complicated

@return list of remote rules @return RemoteRule[]