summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO35
-rw-r--r--PKGBUILD78
2 files changed, 113 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..68b1d950d9c
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,35 @@
+pkgbase = ros-jade-dwa-local-planner
+ pkgdesc = ROS - This package provides an implementation of the Dynamic Window Approach to local robot navigation on a plane.
+ pkgver = 1.13.1
+ pkgrel = 1
+ url = http://wiki.ros.org/dwa_local_planner
+ arch = any
+ license = BSD
+ makedepends = cmake
+ makedepends = ros-build-tools
+ makedepends = ros-jade-nav-core
+ makedepends = ros-jade-tf
+ makedepends = ros-jade-roscpp
+ makedepends = ros-jade-base-local-planner
+ makedepends = ros-jade-costmap-2d
+ makedepends = ros-jade-pcl-conversions
+ makedepends = ros-jade-catkin
+ makedepends = ros-jade-cmake-modules
+ makedepends = ros-jade-dynamic-reconfigure
+ makedepends = ros-jade-nav-msgs
+ makedepends = ros-jade-pluginlib
+ makedepends = eigen3
+ depends = ros-jade-nav-core
+ depends = ros-jade-tf
+ depends = ros-jade-roscpp
+ depends = ros-jade-base-local-planner
+ depends = ros-jade-costmap-2d
+ depends = ros-jade-dynamic-reconfigure
+ depends = ros-jade-nav-msgs
+ depends = ros-jade-pluginlib
+ depends = eigen3
+ source = ros-jade-dwa-local-planner-1.13.1-0.tar.gz::https://github.com/ros-gbp/navigation-release/archive/release/jade/dwa_local_planner/1.13.1-0.tar.gz
+ sha256sums = 845f9b2871d2828bc99b0555a0cefa87889078bbbe4658d7c8d678202384beec
+
+pkgname = ros-jade-dwa-local-planner
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..5bb2c457292
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,78 @@
+# Script generated with import_catkin_packages.py
+# For more information: https://github.com/bchretien/arch-ros-stacks
+pkgdesc="ROS - This package provides an implementation of the Dynamic Window Approach to local robot navigation on a plane."
+url='http://wiki.ros.org/dwa_local_planner'
+
+pkgname='ros-jade-dwa-local-planner'
+pkgver='1.13.1'
+_pkgver_patch=0
+arch=('any')
+pkgrel=1
+license=('BSD')
+
+ros_makedepends=(ros-jade-nav-core
+ ros-jade-tf
+ ros-jade-roscpp
+ ros-jade-base-local-planner
+ ros-jade-costmap-2d
+ ros-jade-pcl-conversions
+ ros-jade-catkin
+ ros-jade-cmake-modules
+ ros-jade-dynamic-reconfigure
+ ros-jade-nav-msgs
+ ros-jade-pluginlib)
+makedepends=('cmake' 'ros-build-tools'
+ ${ros_makedepends[@]}
+ eigen3)
+
+ros_depends=(ros-jade-nav-core
+ ros-jade-tf
+ ros-jade-roscpp
+ ros-jade-base-local-planner
+ ros-jade-costmap-2d
+ ros-jade-dynamic-reconfigure
+ ros-jade-nav-msgs
+ ros-jade-pluginlib)
+depends=(${ros_depends[@]}
+ eigen3)
+
+# Git version (e.g. for debugging)
+# _tag=release/jade/dwa_local_planner/${pkgver}-${_pkgver_patch}
+# _dir=${pkgname}
+# source=("${_dir}"::"git+https://github.com/ros-gbp/navigation-release.git"#tag=${_tag})
+# sha256sums=('SKIP')
+
+# Tarball version (faster download)
+_dir="navigation-release-release-jade-dwa_local_planner-${pkgver}-${_pkgver_patch}"
+source=("${pkgname}-${pkgver}-${_pkgver_patch}.tar.gz"::"https://github.com/ros-gbp/navigation-release/archive/release/jade/dwa_local_planner/${pkgver}-${_pkgver_patch}.tar.gz")
+sha256sums=('845f9b2871d2828bc99b0555a0cefa87889078bbbe4658d7c8d678202384beec')
+
+build() {
+ # Use ROS environment variables
+ source /usr/share/ros-build-tools/clear-ros-env.sh
+ [ -f /opt/ros/jade/setup.bash ] && source /opt/ros/jade/setup.bash
+
+ # Create build directory
+ [ -d ${srcdir}/build ] || mkdir ${srcdir}/build
+ cd ${srcdir}/build
+
+ # Fix Python2/Python3 conflicts
+ /usr/share/ros-build-tools/fix-python-scripts.sh -v 2 ${srcdir}/${_dir}
+
+ # Build project
+ cmake ${srcdir}/${_dir} \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCATKIN_BUILD_BINARY_PACKAGE=ON \
+ -DCMAKE_INSTALL_PREFIX=/opt/ros/jade \
+ -DPYTHON_EXECUTABLE=/usr/bin/python2 \
+ -DPYTHON_INCLUDE_DIR=/usr/include/python2.7 \
+ -DPYTHON_LIBRARY=/usr/lib/libpython2.7.so \
+ -DPYTHON_BASENAME=-python2.7 \
+ -DSETUPTOOLS_DEB_LAYOUT=OFF
+ make
+}
+
+package() {
+ cd "${srcdir}/build"
+ make DESTDIR="${pkgdir}/" install
+}