Skip to content

Commit

Permalink
Added visualizer to group action
Browse files Browse the repository at this point in the history
  • Loading branch information
sixfootsix50 committed Feb 18, 2024
1 parent e3e93e2 commit a5b7590
Showing 1 changed file with 8 additions and 10 deletions.
18 changes: 8 additions & 10 deletions src/rktl_launch/launch/rocket_league_sim.launch.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,14 @@ def generate_launch_description():
)
],
condition=launch.conditions.LaunchConfigurationEquals('sim_mode', 'realistic')
)

),
launch.actions.IncludeLaunchDescription(
launch.launch_description_sources.PythonLaunchDescriptionSource(
os.path.join(get_package_share_directory(
'rktl_sim'), 'launch', 'visualizer.launch.py')
),
condition=launch.conditions.LaunchConfigurationEquals('render', 'true')
),
],
condition=launch.conditions.LaunchConfigurationEquals('sim_mode', 'realistic')
),
Expand Down Expand Up @@ -81,14 +87,6 @@ def generate_launch_description():
arguments='--perspective-file ' + os.path.join(get_package_share_directory(
'rktl_launch'), 'rqt','rktl.perspective')
),
launch.actions.IncludeLaunchDescription(
launch.launch_description_sources.PythonLaunchDescriptionSource(
os.path.join(get_package_share_directory(
'rktl_sim'), 'launch', 'visualizer.launch.py')
),
namespace='truth',
condition=launch.conditions.LaunchConfigurationEquals('render', 'true')
),
launch.actions.IncludeLaunchDescription(
launch.launch_description_sources.PythonLaunchDescriptionSource(
os.path.join(get_package_share_directory(
Expand Down

0 comments on commit a5b7590

Please sign in to comment.