Skip to content

Commit

Permalink
do not use fixed path
Browse files Browse the repository at this point in the history
Signed-off-by: Daisuke Sato <[email protected]>
  • Loading branch information
daisukes committed Nov 20, 2024
1 parent 785d407 commit 843f7a0
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion cabot_base/launch/cabot3.launch.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,9 @@ def has_flag(flag_name):
allow_substs=True,
),
]
helios_config_file = PathJoinSubstitution([
pkg_dir, 'config', 'helios', 'helios.yaml'
])

odrive_can_pkg_dir = get_package_share_directory('odrive_can')
odrive_model = LaunchConfiguration('odrive_model')
Expand Down Expand Up @@ -328,7 +331,7 @@ def has_flag(flag_name):
package='rslidar_sdk',
executable='rslidar_sdk_node',
parameters=[
{'config_path': '/home/developer/driver_ws/install/cabot_base/share/cabot_base/config/helios/helios.yaml'},
{'config_path': helios_config_file},
{'rslidar_points': 'pandar'},
{'use_sim_time': use_sim_time}
],
Expand Down

0 comments on commit 843f7a0

Please sign in to comment.