Skip to content

Commit

Permalink
patrol_planner division by zero fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
DinoSage committed Apr 13, 2024
1 parent baf222b commit 451d6a1
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/rktl_planner/launch/patrol_agent.launch.py
Original file line number Diff line number Diff line change
Expand Up @@ -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():
Expand All @@ -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')
]
)
])
Expand Down

0 comments on commit 451d6a1

Please sign in to comment.