From 11ff8728275ee46e8504a9876590365497da60d0 Mon Sep 17 00:00:00 2001 From: Mehul Goel Date: Tue, 15 Oct 2024 21:25:08 -0700 Subject: [PATCH] added launch files --- rb_ws/src/buggy/launch/sim_2d_single.launch | 4 ---- rb_ws/src/buggy/launch/sim_2d_single.xml | 6 ++++++ rb_ws/src/buggy/package.xml | 1 + rb_ws/src/buggy/setup.py | 4 ++++ 4 files changed, 11 insertions(+), 4 deletions(-) delete mode 100755 rb_ws/src/buggy/launch/sim_2d_single.launch create mode 100755 rb_ws/src/buggy/launch/sim_2d_single.xml diff --git a/rb_ws/src/buggy/launch/sim_2d_single.launch b/rb_ws/src/buggy/launch/sim_2d_single.launch deleted file mode 100755 index 1072bd7..0000000 --- a/rb_ws/src/buggy/launch/sim_2d_single.launch +++ /dev/null @@ -1,4 +0,0 @@ - - - - diff --git a/rb_ws/src/buggy/launch/sim_2d_single.xml b/rb_ws/src/buggy/launch/sim_2d_single.xml new file mode 100755 index 0000000..e0b5846 --- /dev/null +++ b/rb_ws/src/buggy/launch/sim_2d_single.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/rb_ws/src/buggy/package.xml b/rb_ws/src/buggy/package.xml index b487ac8..e1471e2 100644 --- a/rb_ws/src/buggy/package.xml +++ b/rb_ws/src/buggy/package.xml @@ -11,6 +11,7 @@ ament_flake8 ament_pep257 python3-pytest + ros2launch ament_python diff --git a/rb_ws/src/buggy/setup.py b/rb_ws/src/buggy/setup.py index 8c81bb5..a103b29 100644 --- a/rb_ws/src/buggy/setup.py +++ b/rb_ws/src/buggy/setup.py @@ -1,4 +1,7 @@ from setuptools import find_packages, setup +from glob import glob + +import os package_name = 'buggy' @@ -10,6 +13,7 @@ ('share/ament_index/resource_index/packages', ['resource/' + package_name]), ('share/' + package_name, ['package.xml']), + (os.path.join("share", package_name), glob("launch/*.xml")), ], install_requires=['setuptools'], zip_safe=True,