mirror of
https://github.com/lopsided98/nix-ros-overlay.git
synced 2025-06-12 02:34:50 +03:00
26 lines
1.4 KiB
Nix
26 lines
1.4 KiB
Nix
|
|
# Copyright 2025 Open Source Robotics Foundation
|
|
# Distributed under the terms of the BSD license
|
|
|
|
{ lib, buildRosPackage, fetchurl, ament-cmake-auto, ament-lint-auto, ament-lint-common, geometry-msgs, message-filters, nav-msgs, octomap, octomap-msgs, octomap-ros, pcl, pcl-conversions, pcl-ros, rclcpp, rclcpp-components, sensor-msgs, std-msgs, std-srvs, tf2, tf2-eigen, tf2-geometry-msgs, tf2-ros, visualization-msgs }:
|
|
buildRosPackage {
|
|
pname = "ros-humble-octomap-server";
|
|
version = "2.3.0-r1";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/ros2-gbp/octomap_mapping-release/archive/release/humble/octomap_server/2.3.0-1.tar.gz";
|
|
name = "2.3.0-1.tar.gz";
|
|
sha256 = "a26e5a9b54ce25e3c4f4afaa8077f9a7740e9bf82d437cb097abef2804fd4ec4";
|
|
};
|
|
|
|
buildType = "ament_cmake";
|
|
buildInputs = [ ament-cmake-auto ];
|
|
checkInputs = [ ament-lint-auto ament-lint-common ];
|
|
propagatedBuildInputs = [ geometry-msgs message-filters nav-msgs octomap octomap-msgs octomap-ros pcl pcl-conversions pcl-ros rclcpp rclcpp-components sensor-msgs std-msgs std-srvs tf2 tf2-eigen tf2-geometry-msgs tf2-ros visualization-msgs ];
|
|
nativeBuildInputs = [ ament-cmake-auto ];
|
|
|
|
meta = {
|
|
description = "octomap_server loads a 3D map (as Octree-based OctoMap) and distributes it to other nodes in a compact binary format. It also allows to incrementally build 3D OctoMaps, and provides map saving in the node octomap_saver.";
|
|
license = with lib.licenses; [ bsdOriginal ];
|
|
};
|
|
}
|