diff --git a/rosbot_xl_gazebo/test/test_multirobot_diff_drive_simulation.py b/rosbot_xl_gazebo/test/test_multirobot_diff_drive_simulation.py index 2cf1792..c5e00ba 100644 --- a/rosbot_xl_gazebo/test/test_multirobot_diff_drive_simulation.py +++ b/rosbot_xl_gazebo/test/test_multirobot_diff_drive_simulation.py @@ -38,9 +38,12 @@ def generate_test_description(): "launch", "rosbot_xl_gazebo", "simulation.launch.py", - f'world:={get_package_share_directory("husarion_gz_worlds")}/worlds/empty_with_plugins.sdf', + ( + f'world:={get_package_share_directory("husarion_office_gz")}' + "/worlds/empty_with_plugins.sdf" + ), "robots:=robot1={y: -4.0}; robot2={y: 0.0};", - "headless:=False", + "headless:=True", ], output="screen", ) diff --git a/rosbot_xl_gazebo/test/test_multirobot_mecanum_simulation.py b/rosbot_xl_gazebo/test/test_multirobot_mecanum_simulation.py index 4ef32e1..620fed5 100644 --- a/rosbot_xl_gazebo/test/test_multirobot_mecanum_simulation.py +++ b/rosbot_xl_gazebo/test/test_multirobot_mecanum_simulation.py @@ -19,9 +19,9 @@ import launch_pytest import pytest import rclpy +from ament_index_python.packages import get_package_share_directory from launch import LaunchDescription from launch.actions import ExecuteProcess -from ament_index_python.packages import get_package_share_directory from launch_testing.actions import ReadyToTest from launch_testing.util import KeepAliveProc from rclpy.executors import SingleThreadedExecutor @@ -38,7 +38,10 @@ def generate_test_description(): "launch", "rosbot_xl_gazebo", "simulation.launch.py", - f'world:={get_package_share_directory("husarion_gz_worlds")}/worlds/empty_with_plugins.sdf', + ( + f'world:={get_package_share_directory("husarion_office_gz")}' + "/worlds/empty_with_plugins.sdf" + ), "robots:=robot1={y: -4.0}; robot2={y: 0.0};", "mecanum:=True", "headless:=True",