This commit is contained in:
Björn Ellensohn 2023-06-16 12:01:14 +02:00
parent 730c07e7c4
commit 51e489ebb1

View File

@ -31,15 +31,15 @@ base_command = "ros2 launch bot_mini_bringup"
# Define the commands to launch
launch_commands = [
#"rsp.launch.py",
"rsp.launch.py",
"robot_controller.launch.py",
"robot_joy_teleop.launch.py",
"robot_twist_mux.launch.py",
"robot_lidar.launch.py"
]
# Add the base directory to the commands
commands = [os.path.join(base_command, command) for command in launch_commands]
# Create the commands by joining the base command with each launch command
commands = [f"{base_command} {command}" for command in launch_commands]
# Add the path to the map file
map_file = os.path.join(current_directory, "src", "bot_mini_bringup", "maps", "default_save_map.yaml")