2019-09-04 17:11:04 -04:00
|
|
|
|
|
|
|
# Copyright 2019 Open Source Robotics Foundation
|
|
|
|
# Distributed under the terms of the BSD license
|
|
|
|
|
|
|
|
{ lib, buildRosPackage, fetchurl, ament-cmake, nav2-voxel-grid, nav2-common, nav2-lifecycle-manager, geometry-msgs, nav2-map-server, ament-cmake-pytest, ament-cmake-gtest, launch, message-filters, nav2-util, tf2-sensor-msgs, rclcpp, rclcpp-lifecycle, tf2-geometry-msgs, tf2-ros, nav-msgs, std-msgs, laser-geometry, visualization-msgs, pluginlib, ament-lint-common, launch-testing, sensor-msgs, nav2-msgs, tf2, ament-lint-auto, map-msgs }:
|
2019-09-06 12:16:22 -04:00
|
|
|
buildRosPackage {
|
2019-09-04 17:11:04 -04:00
|
|
|
pname = "ros-dashing-nav2-costmap-2d";
|
2019-11-07 17:17:35 -05:00
|
|
|
version = "0.2.6-r1";
|
2019-09-04 17:11:04 -04:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-11-07 17:17:35 -05:00
|
|
|
url = "https://github.com/SteveMacenski/navigation2-release/archive/release/dashing/nav2_costmap_2d/0.2.6-1.tar.gz";
|
|
|
|
name = "0.2.6-1.tar.gz";
|
|
|
|
sha256 = "387faa441ff7f0c98d091c30508c40084dba15991cd1bd5165005d38932afea7";
|
2019-09-04 17:11:04 -04:00
|
|
|
};
|
|
|
|
|
|
|
|
buildType = "ament_cmake";
|
|
|
|
buildInputs = [ nav2-voxel-grid nav2-common geometry-msgs message-filters nav2-util tf2-sensor-msgs rclcpp rclcpp-lifecycle tf2-geometry-msgs tf2-ros nav-msgs std-msgs visualization-msgs laser-geometry pluginlib sensor-msgs nav2-msgs tf2 map-msgs ];
|
|
|
|
checkInputs = [ nav2-map-server ament-cmake-pytest ament-lint-common launch-testing ament-cmake-gtest launch nav2-lifecycle-manager ament-lint-auto ];
|
|
|
|
propagatedBuildInputs = [ rclcpp-lifecycle tf2-geometry-msgs pluginlib nav2-voxel-grid sensor-msgs nav2-msgs message-filters nav2-util tf2-ros tf2-sensor-msgs tf2 nav-msgs rclcpp visualization-msgs std-msgs laser-geometry geometry-msgs map-msgs ];
|
|
|
|
nativeBuildInputs = [ ament-cmake ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = ''This package provides an implementation of a 2D costmap that takes in sensor
|
|
|
|
data from the world, builds a 2D or 3D occupancy grid of the data (depending
|
|
|
|
on whether a voxel based implementation is used), and inflates costs in a
|
|
|
|
2D costmap based on the occupancy grid and a user specified inflation radius.
|
|
|
|
This package also provides support for map_server based initialization of a
|
|
|
|
costmap, rolling window based costmaps, and parameter based subscription to
|
|
|
|
and configuration of sensor topics.'';
|
2019-09-28 00:32:55 -04:00
|
|
|
license = with lib.licenses; [ bsdOriginal asl20 ];
|
2019-09-04 17:11:04 -04:00
|
|
|
};
|
|
|
|
}
|