Skip to content

Commit

Permalink
added launch files
Browse files Browse the repository at this point in the history
  • Loading branch information
mehulgoel873 committed Oct 16, 2024
1 parent c55cd63 commit 11ff872
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 4 deletions.
4 changes: 0 additions & 4 deletions rb_ws/src/buggy/launch/sim_2d_single.launch

This file was deleted.

6 changes: 6 additions & 0 deletions rb_ws/src/buggy/launch/sim_2d_single.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<launch>
<node pkg="foxglove_bridge" exec="foxglove_bridge" name="foxglove" namespace="SC"/>
<node pkg="buggy" exec="hello_world" name="hello_world" namespace="SC"/>
<!-- <node name="foxglove" pkg="foxglove_bridge" type="foxglove_bridge" /> -->
<!-- <node name="hello_world" pkg="buggy" type="hello_world" /> -->
</launch>
1 change: 1 addition & 0 deletions rb_ws/src/buggy/package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
<test_depend>ament_flake8</test_depend>
<test_depend>ament_pep257</test_depend>
<test_depend>python3-pytest</test_depend>
<exec_depend>ros2launch</exec_depend>

<export>
<build_type>ament_python</build_type>
Expand Down
4 changes: 4 additions & 0 deletions rb_ws/src/buggy/setup.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
from setuptools import find_packages, setup
from glob import glob

import os

package_name = 'buggy'

Expand All @@ -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,
Expand Down

0 comments on commit 11ff872

Please sign in to comment.