src/planning/costmap_generator_nodes/launch/costmap_generator_node.launch.py
def generate_launch_description():
    """Launch costmap_generator node with default configuration."""
    # -------------------------------- Nodes-----------------------------------
    costmap_generator_node = launch_ros.actions.Node(
        package='costmap_generator_nodes',
        executable='costmap_generator_node_exe',
        name='costmap_generator_node',
        namespace='planning',
        output='screen',
        parameters=[
            "{}/param/defaults.param.yaml".format(
                ament_index_python.get_package_share_directory(
                    "costmap_generator_nodes"
                )
            ),
        ],
        remappings=[
            ('~/client/HAD_Map_Service', '/had_maps/HAD_Map_Service')
        ]
    )

    ld = launch.LaunchDescription([costmap_generator_node])
    return ld
Launch costmap_generator node with default configuration.
Launch costmap_generator node with default configuration.
Launch costmap_generator node with default configuration .
def generate_launch_description():
    costmap_generator_node = launch_ros.actions.Node(
        package='costmap_generator_nodes',
        executable='costmap_generator_node_exe',
        name='costmap_generator_node',
        namespace='planning',
        output='screen',
        parameters=[
            "{}/param/defaults.param.yaml".format(
                ament_index_python.get_package_share_directory(
                    "costmap_generator_nodes"
                )
            ),
        ],
        remappings=[
            ('~/client/HAD_Map_Service', '/had_maps/HAD_Map_Service')
        ]
    )
    ld = launch.LaunchDescription([costmap_generator_node])
    return ld
def generate_launch_description ( ) : costmap_generator_node = launch_ros . actions . Node ( package = 'costmap_generator_nodes' , executable = 'costmap_generator_node_exe' , name = 'costmap_generator_node' , namespace = 'planning' , output = 'screen' , parameters = [ "{}/param/defaults.param.yaml" . format ( ament_index_python . get_package_share_directory ( "costmap_generator_nodes" ) ) , ] , remappings = [ ( '~/client/HAD_Map_Service' , '/had_maps/HAD_Map_Service' ) ] ) ld = launch . LaunchDescription ( [ costmap_generator_node ] ) return ld
Launch costmap_generator node with default configuration.
Launch costmap_generator node with default configuration .
"""Launch costmap_generator node with default configuration.""" # -------------------------------- Nodes-----------------------------------