# Copyright 2025 Open Source Robotics Foundation # Distributed under the terms of the BSD license { lib, buildRosPackage, fetchurl, ament-cmake, ament-cmake-gtest, ament-lint-auto, ament-lint-common, angles, boost, builtin-interfaces, diagnostic-msgs, diagnostic-updater, eigen, geographic-msgs, geographiclib, geometry-msgs, launch-ros, launch-testing-ament-cmake, message-filters, nav-msgs, rclcpp, rosidl-default-generators, rosidl-default-runtime, sensor-msgs, std-msgs, std-srvs, tf2, tf2-eigen, tf2-geometry-msgs, tf2-ros, yaml-cpp-vendor }: buildRosPackage { pname = "ros-rolling-robot-localization"; version = "3.9.2-r2"; src = fetchurl { url = "https://github.com/ros2-gbp/robot_localization-release/archive/release/rolling/robot_localization/3.9.2-2.tar.gz"; name = "3.9.2-2.tar.gz"; sha256 = "2e39b5001047cc51a13ff4ba3944ce782892c77e82f2c7d6a0903af85423d16a"; }; buildType = "ament_cmake"; buildInputs = [ ament-cmake rosidl-default-generators ]; checkInputs = [ ament-cmake-gtest ament-lint-auto ament-lint-common launch-ros launch-testing-ament-cmake ]; propagatedBuildInputs = [ angles boost builtin-interfaces diagnostic-msgs diagnostic-updater eigen geographic-msgs geographiclib geometry-msgs message-filters nav-msgs rclcpp rosidl-default-runtime sensor-msgs std-msgs std-srvs tf2 tf2-eigen tf2-geometry-msgs tf2-ros yaml-cpp-vendor ]; nativeBuildInputs = [ ament-cmake builtin-interfaces rosidl-default-generators ]; meta = { description = "Provides nonlinear state estimation through sensor fusion of an abritrary number of sensors."; license = with lib.licenses; [ asl20 ]; }; }