From caa54960dd6febab1c82f7b63b93a38616339cda Mon Sep 17 00:00:00 2001 From: CihatAltiparmak Date: Thu, 4 Jul 2024 03:45:52 +0300 Subject: [PATCH] Remove mongo_db_warehouse stuff in launch/scenario_perception_pipeline_benchmark.launch.py - See ( https://github.com/CihatAltiparmak/moveit_middleware_benchmark/pull/5#discussion_r1663749042 ) - See ( https://github.com/CihatAltiparmak/moveit_middleware_benchmark/pull/5#discussion_r1663744156 ) --- ...io_perception_pipeline_benchmark.launch.py | 20 ------------------- 1 file changed, 20 deletions(-) diff --git a/launch/scenario_perception_pipeline_benchmark.launch.py b/launch/scenario_perception_pipeline_benchmark.launch.py index 5b8f403..4ccb486 100644 --- a/launch/scenario_perception_pipeline_benchmark.launch.py +++ b/launch/scenario_perception_pipeline_benchmark.launch.py @@ -17,10 +17,6 @@ def generate_launch_description(): - db_arg = DeclareLaunchArgument( - "db", default_value="False", description="Database flag" - ) - ros2_control_hardware_type = DeclareLaunchArgument( "ros2_control_hardware_type", default_value="mock_components", @@ -120,20 +116,6 @@ def generate_launch_description(): arguments=["panda_hand_controller", "-c", "/controller_manager"], ) - # Warehouse mongodb server - db_config = LaunchConfiguration("db") - mongodb_server_node = Node( - package="warehouse_ros_mongo", - executable="mongo_wrapper_ros.py", - parameters=[ - {"warehouse_port": 33829}, - {"warehouse_host": "localhost"}, - {"warehouse_plugin": "warehouse_ros_mongo::MongoDatabaseConnection"}, - ], - output="screen", - condition=IfCondition(db_config), - ) - benchmark_main_node = Node( name="benchmark_main", package="moveit_middleware_benchmark", @@ -154,7 +136,6 @@ def generate_launch_description(): return LaunchDescription( [ - db_arg, ros2_control_hardware_type, static_tf_node, robot_state_publisher, @@ -163,7 +144,6 @@ def generate_launch_description(): joint_state_broadcaster_spawner, panda_arm_controller_spawner, panda_hand_controller_spawner, - mongodb_server_node, # for https://github.com/ros-controls/ros2_controllers/issues/981 RegisterEventHandler( OnProcessExit(