diff --git a/launch/perception.launch.py b/launch/perception.launch.py index 3e3bfa2a..af7562a9 100644 --- a/launch/perception.launch.py +++ b/launch/perception.launch.py @@ -14,25 +14,25 @@ def generate_launch_description(): container = ComposableNodeContainer( - name='perception', - namespace='', - package='rclcpp_components', - executable='component_container', + name="perception", + namespace="", + package="rclcpp_components", + executable="component_container", composable_node_descriptions=[ ComposableNode( - package='mrover', - plugin='mrover::object_detector_component', - name='object_detector_component', + package="mrover", + plugin="mrover::object_detector_component", + name="object_detector_component", parameters=[Path(get_package_share_directory("mrover"), "config", "object_detector.yaml")], - ), + ), ComposableNode( - package='mrover', - plugin='mrover::zed_wrapper_component', - name='zed_wrapper_component', + package="mrover", + plugin="mrover::zed_wrapper_component", + name="zed_wrapper_component", parameters=[Path(get_package_share_directory("mrover"), "config", "zed.yaml")], - ) + ), ], - output='screen', + output="screen", ) return launch.LaunchDescription([container]) diff --git a/perception/object_detector/object_detector.cpp b/perception/object_detector/object_detector.cpp index 37135a7c..1da154c6 100644 --- a/perception/object_detector/object_detector.cpp +++ b/perception/object_detector/object_detector.cpp @@ -65,7 +65,6 @@ namespace mrover { } // namespace mrover - #include "rclcpp_components/register_node_macro.hpp" RCLCPP_COMPONENTS_REGISTER_NODE(mrover::StereoObjectDetector) RCLCPP_COMPONENTS_REGISTER_NODE(mrover::ImageObjectDetector)