Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Path planning visualiser launch #150

Open
wants to merge 3 commits into
base: nightly
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
#Command to launch: ros2 launch path_planning_visualiser path_planning_visualiser.launch.py

from launch import LaunchDescription
from launch_ros.actions import Node

def generate_launch_description():
return LaunchDescription([
Node(
package='path_planning_visualiser',
executable='visualiser2',
name='visualise_trajectories_demo'
),
Node(
package='path_planning_visualiser',
executable='visualiser',
name='visualise_trajectories'
)
])
4 changes: 4 additions & 0 deletions src/visualisation/path_planning_visualiser/setup.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
from setuptools import find_packages, setup
import os
from glob import glob

package_name = 'path_planning_visualiser'

Expand All @@ -10,6 +12,8 @@
('share/ament_index/resource_index/packages',
['resource/' + package_name]),
('share/' + package_name, ['package.xml']),
# launch files
(os.path.join('share', package_name, 'launch'), glob(os.path.join('launch', '*.py*'))),
],
install_requires=['setuptools'],
zip_safe=True,
Expand Down