mirror of
https://github.com/lopsided98/nix-ros-overlay.git
synced 2025-07-14 06:00:38 +03:00
29 lines
1.5 KiB
Nix
29 lines
1.5 KiB
Nix
|
|
# Copyright 2025 Open Source Robotics Foundation
|
|
# Distributed under the terms of the BSD license
|
|
|
|
{ lib, buildRosPackage, fetchurl, ament-cmake, ament-cmake-lint-cmake, ament-cmake-xmllint, ament-lint-auto, cmake, mola-relocalization, mp2p-icp, mrpt-libgui, mrpt-libros-bridge, mrpt-libslam, mrpt-msgs, mrpt-msgs-bridge, mrpt-tutorials, nav-msgs, pose-cov-ops, rclcpp, sensor-msgs, std-msgs, tf2, tf2-geometry-msgs }:
|
|
buildRosPackage {
|
|
pname = "ros-humble-mrpt-pf-localization";
|
|
version = "2.2.0-r1";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/ros2-gbp/mrpt_navigation-release/archive/release/humble/mrpt_pf_localization/2.2.0-1.tar.gz";
|
|
name = "2.2.0-1.tar.gz";
|
|
sha256 = "7f60e5498ca2dc7e26b6ada5f5dcf8b5454597ffd8b0a71f9e4b566ee8b33a79";
|
|
};
|
|
|
|
buildType = "ament_cmake";
|
|
buildInputs = [ ament-cmake cmake ];
|
|
checkInputs = [ mrpt-tutorials ];
|
|
propagatedBuildInputs = [ ament-cmake-lint-cmake ament-cmake-xmllint ament-lint-auto mola-relocalization mp2p-icp mrpt-libgui mrpt-libros-bridge mrpt-libslam mrpt-msgs mrpt-msgs-bridge nav-msgs pose-cov-ops rclcpp sensor-msgs std-msgs tf2 tf2-geometry-msgs ];
|
|
nativeBuildInputs = [ ament-cmake cmake ];
|
|
|
|
meta = {
|
|
description = "Package for robot 2D self-localization using dynamic or static (MRPT or ROS) maps.
|
|
The interface is similar to amcl (https://wiki.ros.org/amcl)
|
|
but supports different particle-filter algorithms, several grid maps at
|
|
different heights, range-only localization, etc.";
|
|
license = with lib.licenses; [ bsdOriginal ];
|
|
};
|
|
}
|