diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-06-20 14:45:01 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-06-20 14:45:01 +0100 |
commit | 34dea8e38f88007799629d0a56b12dec480b1d21 (patch) | |
tree | 6790873994b58030360328cf5897d934b3b03d16 /dev-ros/costmap_2d/costmap_2d-1.17.0-r2.ebuild | |
parent | 7932d472a02d4c016ff7dff4b7a5479ab9d1883d (diff) |
gentoo resync : 20.06.2021
Diffstat (limited to 'dev-ros/costmap_2d/costmap_2d-1.17.0-r2.ebuild')
-rw-r--r-- | dev-ros/costmap_2d/costmap_2d-1.17.0-r2.ebuild | 68 |
1 files changed, 68 insertions, 0 deletions
diff --git a/dev-ros/costmap_2d/costmap_2d-1.17.0-r2.ebuild b/dev-ros/costmap_2d/costmap_2d-1.17.0-r2.ebuild new file mode 100644 index 000000000000..73c327abe943 --- /dev/null +++ b/dev-ros/costmap_2d/costmap_2d-1.17.0-r2.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +ROS_REPO_URI="https://github.com/ros-planning/navigation" +ROS_SUBDIR=${PN} +KEYWORDS="~amd64 ~arm" +CATKIN_HAS_MESSAGES=yes +CATKIN_MESSAGES_TRANSITIVE_DEPS="dev-ros/std_msgs dev-ros/geometry_msgs dev-ros/map_msgs" + +inherit ros-catkin + +DESCRIPTION="Creates a 2D costmap from sensor data" +LICENSE="BSD" +SLOT="0" +IUSE="" +REQUIRED_USE="ros_messages_cxx" +DATA="simple_driving_test_indexed.bag willow-full-0.025.pgm" +for i in ${DATA}; do + SRC_URI="${SRC_URI} + http://download.ros.org/data/costmap_2d/${i} -> ${P}-${i}" +done + +RDEPEND=" + dev-ros/dynamic_reconfigure[${PYTHON_SINGLE_USEDEP}] + dev-ros/laser_geometry + dev-ros/message_filters + >=dev-ros/pluginlib-1.13.0-r1 + dev-ros/roscpp + dev-ros/tf2 + dev-ros/tf2_ros + dev-ros/voxel_grid + + dev-libs/boost:=[threads(+)] + dev-libs/tinyxml2:= + dev-libs/console_bridge:= +" +DEPEND="${RDEPEND} + dev-cpp/eigen:3 + dev-ros/nav_msgs[${CATKIN_MESSAGES_CXX_USEDEP}] + dev-ros/sensor_msgs[${CATKIN_MESSAGES_CXX_USEDEP}] + dev-ros/visualization_msgs[${CATKIN_MESSAGES_CXX_USEDEP}] + dev-ros/tf2_geometry_msgs[${CATKIN_MESSAGES_CXX_USEDEP}] + dev-ros/tf2_sensor_msgs + test? ( + dev-ros/map_server + dev-ros/rosbag + dev-ros/rostest[${PYTHON_SINGLE_USEDEP}] + dev-cpp/gtest + dev-ros/rosunit + )" +BDEPEND=" + dev-ros/cmake_modules +" + +src_prepare() { + ros-catkin_src_prepare + for i in ${DATA}; do + cp "${DISTDIR}/${P}-${i}" "${S}/${i}" || die + done + sed -e "s#http://download.ros.org/data/costmap_2d/#file://${S}/#" -i CMakeLists.txt || die +} + +src_test() { + export ROS_PACKAGE_PATH="${S}:${ROS_PACKAGE_PATH}" + export CATKIN_PREFIX_PATH="${BUILD_DIR}/devel/:${CATKIN_PREFIX_PATH}" + ros-catkin_src_test +} |