From 27fcbd49b2b86df4254db901d529dc939a72c6ef Mon Sep 17 00:00:00 2001 From: mhubii Date: Sun, 20 Oct 2024 17:38:35 +0100 Subject: [PATCH] added default values for sys cfg --- lbr_bringup/lbr_bringup/description.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/lbr_bringup/lbr_bringup/description.py b/lbr_bringup/lbr_bringup/description.py index 90b92836..161bf12e 100644 --- a/lbr_bringup/lbr_bringup/description.py +++ b/lbr_bringup/lbr_bringup/description.py @@ -27,8 +27,12 @@ def param_robot_description( Union[LaunchConfiguration, str] ] = PathJoinSubstitution( [ - FindPackageShare(LaunchConfiguration("sys_cfg_pkg")), - LaunchConfiguration("sys_cfg"), + FindPackageShare( + LaunchConfiguration("sys_cfg_pkg", default="lbr_description") + ), + LaunchConfiguration( + "sys_cfg", default="ros2_control/lbr_system_config.yaml" + ), ] ), ) -> Dict[str, str]: