mrs_lib
Various reusable classes, functions and utilities for use in MRS projects
Loading...
Searching...
No Matches
mrs_lib.remappings_custom_config_parser.RemappingsCustomConfigParser Class Reference
+ Inheritance diagram for mrs_lib.remappings_custom_config_parser.RemappingsCustomConfigParser:
+ Collaboration diagram for mrs_lib.remappings_custom_config_parser.RemappingsCustomConfigParser:

Public Member Functions

 __init__ (self, ComposableNode composable_node, LaunchConfiguration custom_config, str prefix='')
 
 parse_custom_config (self, LaunchContext context, str _custom_config_file, str prefix='')
 
 convert_remappings (self, List raw_remappings)
 
 log_remappings (self, LaunchContext context, List raw_remappings, str prefix='')
 
 visit (self, LaunchContext context)
 

Public Attributes

 wrapped_node
 
 custom_config
 
 prefix
 

Detailed Description

Launch component that parses config YAML and adds remappings to a ComposableNode.

Constructor & Destructor Documentation

◆ __init__()

mrs_lib.remappings_custom_config_parser.RemappingsCustomConfigParser.__init__ (   self,
ComposableNode  composable_node,
LaunchConfiguration  custom_config,
str   prefix = '' 
)
Args:
    composable_node: The ComposableNode to wrap
    custom_config: LaunchConfiguration('custom_config') 
    config_namespace: Namespace in config file (e.g., '/uav1/flame_ros')

Member Function Documentation

◆ visit()

mrs_lib.remappings_custom_config_parser.RemappingsCustomConfigParser.visit (   self,
LaunchContext  context 
)
Parse config file and add remappings, then visit wrapped node.

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