From ca1bfb581db142eb032711bf395b4df3f4a0e7d2 Mon Sep 17 00:00:00 2001 From: RonaldsonBellande Date: Fri, 3 May 2024 01:24:10 -0400 Subject: [PATCH] latest pushes --- .../launch/bellande_step_api_2d.launch.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ros_web_api_bellande_step/launch/bellande_step_api_2d.launch.py b/ros_web_api_bellande_step/launch/bellande_step_api_2d.launch.py index b13fc23..3b3bdcc 100644 --- a/ros_web_api_bellande_step/launch/bellande_step_api_2d.launch.py +++ b/ros_web_api_bellande_step/launch/bellande_step_api_2d.launch.py @@ -1,6 +1,7 @@ import os import sys import subprocess +from launch import LaunchDescription from launch_ros.actions import Node from launch.actions import DeclareLaunchArgument from launch.substitutions import LaunchConfiguration @@ -11,7 +12,7 @@ def ros1_launch_description(): args = sys.argv[1:] # Construct the ROS 1 launch command - roslaunch_command = ["roslaunch", "ros_web_api_bellande_step", "bellande_step_api_2d.launch"] + args + roslaunch_command = ["roslaunch", "ros_web_api_bellande_step", "bellande_step_api_2d.py"] + args # Execute the launch command subprocess.call(roslaunch_command)