Skip to content

Commit

Permalink
Fix CI bs part 2
Browse files Browse the repository at this point in the history
  • Loading branch information
davidcalderon03 committed Jul 30, 2023
1 parent d9f6f09 commit 4960999
Showing 1 changed file with 14 additions and 11 deletions.
25 changes: 14 additions & 11 deletions urc_gazebo/launch/spawn_walli.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from launch import LaunchDescription
from launch_ros.actions import Node
from launch.actions import ExecuteProcess, RegisterEventHandler
from launch.actions import ExecuteProcess, RegisterEventHandler, DeclareLaunchArgument
from launch.event_handlers import OnProcessExit
from ament_index_python.packages import get_package_share_directory
import os
Expand Down Expand Up @@ -87,7 +87,7 @@ def generate_launch_description():
output='screen',
parameters=[os.path.join(pkg_share, 'config/ekf.yaml'),
{'use_sim_time': LaunchConfiguration('use_sim_time')}
]
]
)

load_joint_state_controller = ExecuteProcess(
Expand Down Expand Up @@ -129,15 +129,18 @@ def generate_launch_description():
),


launch.actions.DeclareLaunchArgument(name='gui', default_value='True',
description='Flag to enable joint_state_publisher_gui'),
launch.actions.DeclareLaunchArgument(name='model', default_value=default_model_path,
description='Absolute path to robot urdf file'),
launch.actions.DeclareLaunchArgument(name='rvizconfig',
default_value=default_rviz_config_path,
description='Absolute path to rviz config file'),
launch.actions.DeclareLaunchArgument(name='use_sim_time', default_value='True',
description='Flag to enable use_sim_time'),
DeclareLaunchArgument(name='gui',
default_value='True',
description='Flag to enable joint_state_publisher_gui'),
DeclareLaunchArgument(name='model',
default_value=default_model_path,
description='Absolute path to robot urdf file'),
DeclareLaunchArgument(name='rvizconfig',
default_value=default_rviz_config_path,
description='Absolute path to rviz config file'),
DeclareLaunchArgument(name='use_sim_time',
default_value='True',
description='Flag to enable use_sim_time'),
robot_state_publisher_node,
joint_state_publisher_node,
joint_state_publisher_gui_node,
Expand Down

0 comments on commit 4960999

Please sign in to comment.