Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge branch 'master' of github.com:moesenle/arch-ros-stacks

  • Loading branch information...
commit 8542427a630f33fa1d59ace90bdbc75fa502f49f 2 parents d6c63eb + d842d2c
@moesenle authored
View
32 electric/joystick_drivers/PKGBUILD
@@ -0,0 +1,32 @@
+
+pkgdesc='Fill me.'
+url='http://www.ros.org/'
+
+pkgname='ros-electric-joystick-drivers'
+pkgver='1.6.4'
+arch=('i686' 'x86_64')
+pkgrel=1
+license=('BSD')
+makedepends=('ros-build-tools')
+
+#TODO: Fill in ROS stack dependencies and rosdep dependencies
+depends=(ros-electric-common-msgs ros-electric-common-rosdeps ros-electric-diagnostics ros-electric-ros ros-electric-ros-comm bluez)
+
+source=("https://code.ros.org/svn/release/download/stacks/joystick_drivers/joystick_drivers-1.6.4/joystick_drivers-1.6.4.tar.bz2"
+ 'joystick_drivers.patch')
+md5sums=('7a1e86085a296f90560bfadc308c1be7'
+ 'a50e5c2c704d9595536f72222b2d7bb2')
+
+source /usr/share/ros-build-tools/stack-install-tools.sh
+source /opt/ros/electric/setup.bash
+
+build() {
+ export ROS_PACKAGE_PATH=${srcdir}/stacks:$ROS_PACKAGE_PATH
+
+ mkdir -p ${srcdir}/stacks
+ [ -L ${srcdir}/stacks/joystick_drivers ] || ln -sf ../joystick_drivers-${pkgver} ${srcdir}/stacks/joystick_drivers
+ cd $srcdir/stacks; patch -p0 -i "$srcdir/joystick_drivers.patch"
+ rosmake --no-rosdep -i joystick_drivers
+ install_ros_stack ${srcdir}/stacks/joystick_drivers /opt/ros/electric/stacks/joystick_drivers
+}
+
View
76 electric/joystick_drivers/joystick_drivers.patch
@@ -0,0 +1,76 @@
+diff -Naur joystick_drivers-1.6.4/joy/test/test_joy_msg_migration.py joystick_drivers/joy/test/test_joy_msg_migration.py
+--- joystick_drivers-1.6.4/joy/test/test_joy_msg_migration.py 2011-10-24 01:38:46.000000000 +0200
++++ joystick_drivers/joy/test/test_joy_msg_migration.py 2012-05-02 18:44:31.566773877 +0200
+@@ -1,4 +1,4 @@
+-#!/usr/bin/env python
++#!/usr/bin/env python2
+ # Software License Agreement (BSD License)
+ #
+ # Copyright (c) 2008, Willow Garage, Inc.
+diff -Naur joystick_drivers-1.6.4/wiimote/nodes/ledTester.py joystick_drivers/wiimote/nodes/ledTester.py
+--- joystick_drivers-1.6.4/wiimote/nodes/ledTester.py 2011-10-24 01:38:46.000000000 +0200
++++ joystick_drivers/wiimote/nodes/ledTester.py 2012-05-02 18:44:31.550107199 +0200
+@@ -1,4 +1,4 @@
+-#!/usr/bin/env python
++#!/usr/bin/env python2
+
+ import roslib; roslib.load_manifest('wiimote')
+ import rospy
+diff -Naur joystick_drivers-1.6.4/wiimote/nodes/rumbleTester.py joystick_drivers/wiimote/nodes/rumbleTester.py
+--- joystick_drivers-1.6.4/wiimote/nodes/rumbleTester.py 2011-10-24 01:38:46.000000000 +0200
++++ joystick_drivers/wiimote/nodes/rumbleTester.py 2012-05-02 18:44:31.556773877 +0200
+@@ -1,4 +1,4 @@
+-#!/usr/bin/env python
++#!/usr/bin/env python2
+
+ # Test rumbler. Expect:
+ #
+diff -Naur joystick_drivers-1.6.4/wiimote/nodes/wiimote_node.py joystick_drivers/wiimote/nodes/wiimote_node.py
+--- joystick_drivers-1.6.4/wiimote/nodes/wiimote_node.py 2011-10-24 01:38:46.000000000 +0200
++++ joystick_drivers/wiimote/nodes/wiimote_node.py 2012-05-02 18:44:31.556773877 +0200
+@@ -27,7 +27,7 @@
+ # Added calibrated nunchuk information, changed /joy to /wiijoy
+ # Only publish on /wiimote/nunchuk if attached
+ ################################################################################
+-#!/usr/bin/env python
++#!/usr/bin/env python2
+
+ """The wiimote_node broadcasts four topics, and listens to messages that control
+ the Wiimote stick's rumble (vibration) and LEDs. Transmitted topics (@100Hz):
+diff -Naur joystick_drivers-1.6.4/wiimote/src/wiimote/WIIMote.py joystick_drivers/wiimote/src/wiimote/WIIMote.py
+--- joystick_drivers-1.6.4/wiimote/src/wiimote/WIIMote.py 2011-10-24 01:38:46.000000000 +0200
++++ joystick_drivers/wiimote/src/wiimote/WIIMote.py 2012-05-02 18:44:31.563440545 +0200
+@@ -1,4 +1,4 @@
+-#!/usr/bin/env python
++#!/usr/bin/env python2
+ ################################################################################
+ #
+ # File: WIIMote.py
+diff -Naur joystick_drivers-1.6.4/cwiid/cwiid-201.patch joystick_drivers/cwiid/cwiid-201.patch
+--- joystick_drivers-1.6.4/cwiid/cwiid-201.patch 2011-10-24 01:38:46.000000000 +0200
++++ joystick_drivers/cwiid/cwiid-201.patch 2012-05-02 18:53:35.186775796 +0200
+@@ -58,3 +58,24 @@
+ LDFLAGS += -L@top_builddir@/libcwiid -rdynamic
+ INST_DIR = @bindir@
+
++diff -ur configure.ac configure.ac.new 2012-05-02 18:52:28 johannes pts/6
++--- configure.ac 2008-06-24 21:43:05.000000000 +0200
+++++ configure.ac.new 2012-05-02 18:52:16.240108850 +0200
++@@ -47,7 +47,7 @@
++ [case $withval in
++ yes)
++ REQUIRE_PYTHON=1
++- PYTHON_NAME=python
+++ PYTHON_NAME=python2
++ ;;
++ no)
++ REQUIRE_PYTHON=
++@@ -58,7 +58,7 @@
++ PYTHON_NAME=$withval
++ ;;
++ esac],
++- [REQUIRE_PYTHON=1; PYTHON_NAME=python])
+++ [REQUIRE_PYTHON=1; PYTHON_NAME=python2])
++ if test $REQUIRE_PYTHON; then
++ AC_CHECK_PROGS([PYTHON],$PYTHON_NAME)
++ if test $REQUIRE_PYTHON -a ! $PYTHON; then
View
32 electric/slam_gmapping/PKGBUILD
@@ -0,0 +1,32 @@
+
+pkgdesc='Fill me.'
+url='http://www.ros.org/'
+
+pkgname='ros-electric-slam-gmapping'
+pkgver='1.2.5'
+arch=('i686' 'x86_64')
+pkgrel=1
+license=('BSD')
+makedepends=('ros-build-tools')
+
+#TODO: Fill in ROS stack dependencies and rosdep dependencies
+depends=(ros-electric-common-msgs ros-electric-geometry ros-electric-navigation ros-electric-ros ros-electric-ros-comm)
+
+source=("https://code.ros.org/svn/release/download/stacks/slam_gmapping/slam_gmapping-1.2.5/slam_gmapping-1.2.5.tar.bz2"
+ 'slam_gmapping.patch')
+md5sums=('ce1ec4b2ac70bfe081d4f7f924f5721d'
+ '56a297968fdd538d465bb6415547cc26')
+
+source /usr/share/ros-build-tools/stack-install-tools.sh
+source /opt/ros/electric/setup.bash
+
+build() {
+ export ROS_PACKAGE_PATH=${srcdir}/stacks:$ROS_PACKAGE_PATH
+
+ mkdir -p ${srcdir}/stacks
+ [ -L ${srcdir}/stacks/slam_gmapping ] || ln -sf ../slam_gmapping-${pkgver} ${srcdir}/stacks/slam_gmapping
+ cd $srcdir/stacks; patch -p0 -i "$srcdir/slam_gmapping.patch"
+ rosmake --no-rosdep -i slam_gmapping
+ install_ros_stack ${srcdir}/stacks/slam_gmapping /opt/ros/electric/stacks/slam_gmapping
+}
+
View
27 electric/slam_gmapping/slam_gmapping.patch
@@ -0,0 +1,27 @@
+diff -Naur slam_gmapping-1.2.5/gmapping/test/test_map.py slam_gmapping/gmapping/test/test_map.py
+--- slam_gmapping-1.2.5/gmapping/test/test_map.py 2012-01-12 23:59:10.000000000 +0100
++++ slam_gmapping/gmapping/test/test_map.py 2012-05-02 17:49:32.133428976 +0200
+@@ -1,4 +1,4 @@
+-#!/usr/bin/env python
++#!/usr/bin/env python2
+ # Software License Agreement (BSD License)
+ #
+ # Copyright (c) 2008, Willow Garage, Inc.
+diff -Naur slam_gmapping-1.2.5/gmapping/gmapping-r39.patch slam_gmapping/gmapping/gmapping-r39.patch
+--- slam_gmapping-1.2.5/gmapping/gmapping-r39.patch 2012-01-12 23:59:10.000000000 +0100
++++ slam_gmapping/gmapping/gmapping-r39.patch 2012-05-02 18:35:02.063438529 +0200
+@@ -609,3 +609,14 @@
+ #include <iostream>
+ #include <assert.h>
+ #include <sys/types.h>
++diff -ur .gridfastslam/gfs2rec.cpp ../../gmapping_export/gridfastslam/gfs2rec.cpp
++--- ./gridfastslam/gfs2rec.cpp 2012-05-02 18:32:17.263437944 +0200
+++++ ../../gmapping_export/gridfastslam/gfs2rec.cpp 2012-05-02 17:46:58.790095124 +0200
++@@ -145,7 +145,6 @@
++ virtual void read(istream& is){
++ is >> dim;
++ for (unsigned int i=0; i< dim; i++){
++- unsigned int i;
++ is >> i;
++ indexes.push_back(i);
++ }
View
32 electric/turtlebot_apps/PKGBUILD
@@ -0,0 +1,32 @@
+
+pkgdesc='Fill me.'
+url='http://www.ros.org/'
+
+pkgname='ros-electric-turtlebot-apps'
+pkgver='0.9.2'
+arch=('i686' 'x86_64')
+pkgrel=1
+license=('BSD')
+makedepends=('ros-build-tools')
+
+#TODO: Fill in ROS stack dependencies and rosdep dependencies
+depends=(ros-electric-ros ros-electric-slam-gmapping ros-electric-joystick-drivers)
+
+source=("https://code.ros.org/svn/release/download/stacks/turtlebot_apps/turtlebot_apps-0.9.2/turtlebot_apps-0.9.2.tar.bz2"
+ 'turtlebot_apps.patch')
+md5sums=('943931e64e6583159a789d27af37e03e'
+ '53fe1b8fc35c3f5304681c5963701b7d')
+
+source /usr/share/ros-build-tools/stack-install-tools.sh
+source /opt/ros/electric/setup.bash
+
+build() {
+ export ROS_PACKAGE_PATH=${srcdir}/stacks:$ROS_PACKAGE_PATH
+
+ mkdir -p ${srcdir}/stacks
+ [ -L ${srcdir}/stacks/turtlebot_apps ] || ln -sf ../turtlebot_apps-${pkgver} ${srcdir}/stacks/turtlebot_apps
+ cd $srcdir/stacks; patch -p0 -i "$srcdir/turtlebot_apps.patch"
+ rosmake --no-rosdep -i turtlebot_apps
+ install_ros_stack ${srcdir}/stacks/turtlebot_apps /opt/ros/electric/stacks/turtlebot_apps
+}
+
View
27 electric/turtlebot_apps/turtlebot_apps.patch
@@ -0,0 +1,27 @@
+diff -Naur turtlebot_apps-0.9.2/turtlebot_actions/test/fiducial_standalone_test/test_client.py turtlebot_apps/turtlebot_actions/test/fiducial_standalone_test/test_client.py
+--- turtlebot_apps-0.9.2/turtlebot_actions/test/fiducial_standalone_test/test_client.py 2012-02-23 03:03:36.000000000 +0100
++++ turtlebot_apps/turtlebot_actions/test/fiducial_standalone_test/test_client.py 2012-05-02 17:34:43.083425744 +0200
+@@ -1,4 +1,4 @@
+-#!/usr/bin/env python
++#!/usr/bin/env python2
+ import roslib
+ roslib.load_manifest('turtlebot_actions')
+
+diff -Naur turtlebot_apps-0.9.2/turtlebot_follower/cfg/Follower.cfg turtlebot_apps/turtlebot_follower/cfg/Follower.cfg
+--- turtlebot_apps-0.9.2/turtlebot_follower/cfg/Follower.cfg 2012-02-23 03:03:36.000000000 +0100
++++ turtlebot_apps/turtlebot_follower/cfg/Follower.cfg 2012-05-02 17:34:43.083425744 +0200
+@@ -1,4 +1,4 @@
+-#! /usr/bin/env python
++#! /usr/bin/env python2
+ # Software License Agreement (BSD License)
+ #
+ # Copyright (c) 2009, Willow Garage, Inc.
+diff -Naur turtlebot_apps-0.9.2/turtlebot_teleop/bin/turtlebot_teleop_key turtlebot_apps/turtlebot_teleop/bin/turtlebot_teleop_key
+--- turtlebot_apps-0.9.2/turtlebot_teleop/bin/turtlebot_teleop_key 2012-02-23 03:03:36.000000000 +0100
++++ turtlebot_apps/turtlebot_teleop/bin/turtlebot_teleop_key 2012-05-02 17:34:43.080092412 +0200
+@@ -1,4 +1,4 @@
+-#!/usr/bin/env python
++#!/usr/bin/env python2
+
+ # Copyright (c) 2011, Willow Garage, Inc.
+ # All rights reserved.
Please sign in to comment.
Something went wrong with that request. Please try again.