summaryrefslogtreecommitdiff
path: root/dev-ros/depthimage_to_laserscan
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-ros/depthimage_to_laserscan
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-ros/depthimage_to_laserscan')
-rw-r--r--dev-ros/depthimage_to_laserscan/Manifest6
-rw-r--r--dev-ros/depthimage_to_laserscan/depthimage_to_laserscan-1.0.7-r1.ebuild27
-rw-r--r--dev-ros/depthimage_to_laserscan/depthimage_to_laserscan-9999.ebuild26
-rw-r--r--dev-ros/depthimage_to_laserscan/files/isnan.patch13
-rw-r--r--dev-ros/depthimage_to_laserscan/metadata.xml11
5 files changed, 83 insertions, 0 deletions
diff --git a/dev-ros/depthimage_to_laserscan/Manifest b/dev-ros/depthimage_to_laserscan/Manifest
new file mode 100644
index 000000000000..317725a6f847
--- /dev/null
+++ b/dev-ros/depthimage_to_laserscan/Manifest
@@ -0,0 +1,6 @@
+AUX isnan.patch 672 SHA256 84761fb9b494f39d7e07a452fdc8c4cea66ae73b98c5457e22d0fdf784c55c26 SHA512 c4993894868cbfbd66374b4062f43e7d58ef8e3d725024b06146144809cd059d6a01ba502626876089847688a58f1f069f8dfb788e657ac7c1a79e9cb8200a7b WHIRLPOOL 36d3a46d7e427100501d235a7d3e74c043f2460bc3c3180866d898bfae3d055871d1596b51f498481e1e1a8357846b584d4ef54d03eef8a684a62267fd9488a1
+DIST depthimage_to_laserscan-1.0.7.tar.gz 12121 SHA256 3aa236f81cfd26e55718edfb50ef837a59b57169cb20a5b24f9a4e99602a09e8 SHA512 4da5fa446d574dbb44c2924dd760f160e527e68d7df119e5d9e74d85efd3473ee31845e8565b0d023d2cf22c945b3b5c56b12a04facd4e38dc3dd1235dad73e9 WHIRLPOOL a6c848acefa9ce95612167911d2f67afa0ae3e208559648939d4bcd7813a6ebd79e287dae46140c6b080a6b036cfff3bf2e70c494f248fd23d3f61d60fe825cd
+EBUILD depthimage_to_laserscan-1.0.7-r1.ebuild 676 SHA256 0f669b6bd338a627a4aab4ce1c1e82aa5ae5ddf468b2a275be83efd6feee4b15 SHA512 f233a55f59d754572cda0ce7ead6a9f578551da99415e4c16821b32973cbc45a632941c8568776075a673e230dcf3e44fe11b2a3e01aa76d8e29bf15cdd89fd7 WHIRLPOOL 25de7a64d48594de003ccb7690c8a8be3ffef787a0884abefc086ad3a7533054bd6828f93e89506b36d4418332afcd1a079767cfa35f792034d7d04d62a492ff
+EBUILD depthimage_to_laserscan-9999.ebuild 638 SHA256 716e46dd10af035f5c9b0bb7729273f164b6a2a61853dd00ab70ba0105f5e2ff SHA512 6f768b96275b04d12ec15f13205d715d5244e796703e56fae64eb09ab4f1d6a616cda5d225dc9889fc55145df400b3f3ac6ea5c8d7de313e5707a967f65e4767 WHIRLPOOL f80a633029ca6c2665dea4280eb23b6606754200db76a9e40b4877dc21263c3b4c04da2604eeed2ccf94e2e1a4af90ba26797bc898d13f5619cd2af8c3902020
+MISC ChangeLog 1755 SHA256 49d1bb58f8e72949d27b54d4d773e9aae98a1e1cc5b56032a2203174af5e9879 SHA512 6d1dee5f0f9df36227d0ce114dc2e2362c90d48c93e9bd8894aad0c9507eea7afad34072f6661cfbc58f713d284579c01e9c625c064d5100f73f884f02931410 WHIRLPOOL fb762814e6310437cb2a96a6b36c5672b666c374a6491d4da093e21bd9b0bc20a35b7c1d69dfcd2c7ce4e20641f66bff9be80843771c813b2b33b235fc5e4313
+MISC metadata.xml 352 SHA256 57d97f1c7ebe1873bc1832e8502fd7f8bf86891ad53becac827e9a65a6d3276f SHA512 3eafc06a8ac658f3f29903c2f23b88b53b2dd5b1a70fecb8788a4027646c5367a3d0384179c0ca1e75e58a8081ce53c00ae6def249f48a7fc7c2ea0365408d2c WHIRLPOOL e8731b4403743491a4247d13b7513a0bcb53d23ac723ebc152f4a27c31d20ae278988e26aa2a8d80e0d6467201d40e7036735d73dcd073f27c3c866827e30f3b
diff --git a/dev-ros/depthimage_to_laserscan/depthimage_to_laserscan-1.0.7-r1.ebuild b/dev-ros/depthimage_to_laserscan/depthimage_to_laserscan-1.0.7-r1.ebuild
new file mode 100644
index 000000000000..b900bfd13f72
--- /dev/null
+++ b/dev-ros/depthimage_to_laserscan/depthimage_to_laserscan-1.0.7-r1.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+ROS_REPO_URI="https://github.com/ros-perception/depthimage_to_laserscan"
+KEYWORDS="~amd64 ~arm"
+PYTHON_COMPAT=( python2_7 )
+
+inherit ros-catkin
+
+DESCRIPTION="Converts a depth image to a laser scan for use with navigation and localization"
+LICENSE="BSD"
+SLOT="0"
+IUSE=""
+
+RDEPEND="
+ dev-ros/roscpp
+ media-libs/opencv:=
+ dev-ros/dynamic_reconfigure[${PYTHON_USEDEP}]
+ dev-ros/image_geometry
+ dev-ros/image_transport
+ dev-ros/nodelet
+ dev-ros/sensor_msgs[${CATKIN_MESSAGES_CXX_USEDEP}]
+ dev-libs/boost:=
+"
+DEPEND="${RDEPEND}"
+PATCHES=( "${FILESDIR}/isnan.patch" )
diff --git a/dev-ros/depthimage_to_laserscan/depthimage_to_laserscan-9999.ebuild b/dev-ros/depthimage_to_laserscan/depthimage_to_laserscan-9999.ebuild
new file mode 100644
index 000000000000..41810a661ed0
--- /dev/null
+++ b/dev-ros/depthimage_to_laserscan/depthimage_to_laserscan-9999.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+ROS_REPO_URI="https://github.com/ros-perception/depthimage_to_laserscan"
+KEYWORDS="~amd64 ~arm"
+PYTHON_COMPAT=( python2_7 )
+
+inherit ros-catkin
+
+DESCRIPTION="Converts a depth image to a laser scan for use with navigation and localization"
+LICENSE="BSD"
+SLOT="0"
+IUSE=""
+
+RDEPEND="
+ dev-ros/roscpp
+ media-libs/opencv:=
+ dev-ros/dynamic_reconfigure[${PYTHON_USEDEP}]
+ dev-ros/image_geometry
+ dev-ros/image_transport
+ dev-ros/nodelet
+ dev-ros/sensor_msgs[${CATKIN_MESSAGES_CXX_USEDEP}]
+ dev-libs/boost:=
+"
+DEPEND="${RDEPEND}"
diff --git a/dev-ros/depthimage_to_laserscan/files/isnan.patch b/dev-ros/depthimage_to_laserscan/files/isnan.patch
new file mode 100644
index 000000000000..11254904e945
--- /dev/null
+++ b/dev-ros/depthimage_to_laserscan/files/isnan.patch
@@ -0,0 +1,13 @@
+Index: depthimage_to_laserscan-1.0.7/src/DepthImageToLaserScan.cpp
+===================================================================
+--- depthimage_to_laserscan-1.0.7.orig/src/DepthImageToLaserScan.cpp
++++ depthimage_to_laserscan-1.0.7/src/DepthImageToLaserScan.cpp
+@@ -59,7 +59,7 @@ bool DepthImageToLaserScan::use_point(co
+
+ // Infs are preferable over NaNs (more information)
+ if(!new_finite && !old_finite){ // Both are not NaN or Inf.
+- if(!isnan(new_value)){ // new is not NaN, so use it's +-Inf value.
++ if(!std::isnan(new_value)){ // new is not NaN, so use it's +-Inf value.
+ return true;
+ }
+ return false; // Do not replace old_value
diff --git a/dev-ros/depthimage_to_laserscan/metadata.xml b/dev-ros/depthimage_to_laserscan/metadata.xml
new file mode 100644
index 000000000000..4b338e1e4325
--- /dev/null
+++ b/dev-ros/depthimage_to_laserscan/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>ros@gentoo.org</email>
+ <name>Gentoo ROS Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">ros-perception/depthimage_to_laserscan</remote-id>
+ </upstream>
+</pkgmetadata>