From 451d6a12c8e1cd8d40ff85f4595228fa57153547 Mon Sep 17 00:00:00 2001 From: DinoSage Date: Sat, 13 Apr 2024 19:58:53 +0000 Subject: [PATCH] patrol_planner division by zero fixed --- src/rktl_planner/launch/patrol_agent.launch.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/rktl_planner/launch/patrol_agent.launch.py b/src/rktl_planner/launch/patrol_agent.launch.py index a8354944..0f32b210 100644 --- a/src/rktl_planner/launch/patrol_agent.launch.py +++ b/src/rktl_planner/launch/patrol_agent.launch.py @@ -2,7 +2,7 @@ import launch_ros.actions from launch.substitutions import PathJoinSubstitution from ament_index_python.packages import get_package_share_directory - +import os def generate_launch_description(): @@ -18,7 +18,9 @@ def generate_launch_description(): name='patrol_planner', output='screen', parameters=[ - get_package_share_directory('rktl_planner') + '/config/patrol_planner.yaml' + get_package_share_directory('rktl_planner') + '/config/patrol_planner.yaml', + os.path.join(get_package_share_directory( + 'rktl_launch'), 'config', 'global_params.yaml') ] ) ])