summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorclynamen2014-09-10 23:29:08 +0200
committerclynamen2014-09-10 23:29:08 +0200
commitce8c38ea02a41214264c93452abe8d80405e5ca8 (patch)
tree6da116e94da84d7c5939681cf2ce94371fd6bf24
downloadaur-ce8c38ea02a41214264c93452abe8d80405e5ca8.tar.gz
add navigation packages
-rw-r--r--.SRCINFO36
-rw-r--r--PKGBUILD71
2 files changed, 107 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..0f973441684
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,36 @@
+pkgbase = ros-indigo-dwa-local-planner
+ pkgdesc = ROS - This package provides an implementation of the Dynamic Window Approach to local robot navigation on a plane.
+ pkgver = 1.11.11
+ pkgrel = 1
+ url = http://wiki.ros.org/dwa_local_planner
+ arch = any
+ license = BSD
+ makedepends = cmake
+ makedepends = git
+ makedepends = ros-build-tools
+ makedepends = ros-indigo-nav-core
+ makedepends = ros-indigo-tf
+ makedepends = ros-indigo-roscpp
+ makedepends = ros-indigo-base-local-planner
+ makedepends = ros-indigo-costmap-2d
+ makedepends = ros-indigo-pcl-conversions
+ makedepends = ros-indigo-catkin
+ makedepends = ros-indigo-cmake-modules
+ makedepends = ros-indigo-dynamic-reconfigure
+ makedepends = ros-indigo-nav-msgs
+ makedepends = ros-indigo-pluginlib
+ makedepends = eigen3
+ depends = ros-indigo-nav-core
+ depends = ros-indigo-tf
+ depends = ros-indigo-roscpp
+ depends = ros-indigo-base-local-planner
+ depends = ros-indigo-costmap-2d
+ depends = ros-indigo-dynamic-reconfigure
+ depends = ros-indigo-nav-msgs
+ depends = ros-indigo-pluginlib
+ depends = eigen3
+ source = dwa_local_planner::git+https://github.com/ros-gbp/navigation-release.git#tag=release/indigo/dwa_local_planner/1.11.11-0
+ md5sums = SKIP
+
+pkgname = ros-indigo-dwa-local-planner
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..c67e998db6b
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,71 @@
+# 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-indigo-dwa-local-planner'
+pkgver='1.11.11'
+_pkgver_patch=0
+arch=('any')
+pkgrel=1
+license=('BSD')
+
+ros_makedepends=(ros-indigo-nav-core
+ ros-indigo-tf
+ ros-indigo-roscpp
+ ros-indigo-base-local-planner
+ ros-indigo-costmap-2d
+ ros-indigo-pcl-conversions
+ ros-indigo-catkin
+ ros-indigo-cmake-modules
+ ros-indigo-dynamic-reconfigure
+ ros-indigo-nav-msgs
+ ros-indigo-pluginlib)
+makedepends=('cmake' 'git' 'ros-build-tools'
+ ${ros_makedepends[@]}
+ eigen3)
+
+ros_depends=(ros-indigo-nav-core
+ ros-indigo-tf
+ ros-indigo-roscpp
+ ros-indigo-base-local-planner
+ ros-indigo-costmap-2d
+ ros-indigo-dynamic-reconfigure
+ ros-indigo-nav-msgs
+ ros-indigo-pluginlib)
+depends=(${ros_depends[@]}
+ eigen3)
+
+_tag=release/indigo/dwa_local_planner/${pkgver}-${_pkgver_patch}
+_dir=dwa_local_planner
+source=("${_dir}"::"git+https://github.com/ros-gbp/navigation-release.git"#tag=${_tag})
+md5sums=('SKIP')
+
+build() {
+ # Use ROS environment variables
+ source /usr/share/ros-build-tools/clear-ros-env.sh
+ [ -f /opt/ros/indigo/setup.bash ] && source /opt/ros/indigo/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/indigo \
+ -DPYTHON_EXECUTABLE=/usr/bin/python2 \
+ -DPYTHON_INCLUDE_DIR=/usr/include/python2.7 \
+ -DPYTHON_LIBRARY=/usr/lib/libpython2.7.so \
+ -DSETUPTOOLS_DEB_LAYOUT=OFF
+ make
+}
+
+package() {
+ cd "${srcdir}/build"
+ make DESTDIR="${pkgdir}/" install
+}