From e6270e9b7be6c00b30be1fda1681216a8562370c Mon Sep 17 00:00:00 2001
From: jcrm1 <52137472+jcrm1@users.noreply.github.com>
Date: Sun, 18 Feb 2024 19:21:58 +0000
Subject: [PATCH] include ros2launch in rktl_launch
---
src/rktl_launch/package.xml | 3 ++-
src/rktl_launch/setup.py | 3 +++
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/src/rktl_launch/package.xml b/src/rktl_launch/package.xml
index ccabe4d0..c8cebcec 100644
--- a/src/rktl_launch/package.xml
+++ b/src/rktl_launch/package.xml
@@ -17,12 +17,13 @@
ament_flake8
ament_pep257
python3-pytest
- rktl_perception
+
rktl_game
rktl_planner
rktl_sim
rktl_control
rqt_gui
+ ros2launch
ament_python
diff --git a/src/rktl_launch/setup.py b/src/rktl_launch/setup.py
index 521bfcbc..6fe4995c 100644
--- a/src/rktl_launch/setup.py
+++ b/src/rktl_launch/setup.py
@@ -1,3 +1,5 @@
+import os
+from glob import glob
from setuptools import find_packages, setup
package_name = 'rktl_launch'
@@ -10,6 +12,7 @@
('share/ament_index/resource_index/packages',
['resource/' + package_name]),
('share/' + package_name, ['package.xml']),
+ (os.path.join('share', package_name, 'launch'), glob(os.path.join('launch', '*launch.[pxy][yma]*'))),
],
install_requires=['setuptools'],
zip_safe=True,