Skip to content
Snippets Groups Projects
Commit 61a55ed6 authored by Guilhem Saurel's avatar Guilhem Saurel
Browse files

[wip/{ → py-}roscontrol-sot] Update to v0.2.0

Changes since v0.1.0:
- Python 3 compatibility

Packaging changes:
- removed patch-aa, applied upstream
- use jrl-cmakemodules
- require c++11
- add patch-aa
parent c0e30efd
No related branches found
No related tags found
No related merge requests found
......@@ -96,6 +96,7 @@ SUBDIR+= py-parametric-curves
SUBDIR+= py-qpoases
SUBDIR+= py-qt-gepetto-pythonqt
SUBDIR+= py-quadprog
SUBDIR+= py-roscontrol-sot
SUBDIR+= py-skeleton-model
SUBDIR+= py-solo-pybullet
SUBDIR+= py-sot-application-v3
......@@ -112,7 +113,6 @@ SUBDIR+= py-talos-rbprm
SUBDIR+= py-tsid
SUBDIR+= pyrene-motions
SUBDIR+= roralink
SUBDIR+= roscontrol-sot
SUBDIR+= ros-baxter-common
SUBDIR+= ros-moveit
SUBDIR+= ros-moveit-msgs
......
......@@ -28,6 +28,7 @@ CONFLICTS= talos-ros-controllers
# over system ros packages.
# http://wiki.ros.org/catkin/what
CMAKE_PREFIX_PATH+= ${PREFIX}
CMAKE_PREFIX_PATH+= /opt/ros/melodic
include ../../devel/boost-headers/depend.mk
include ../../devel/boost-libs/depend.mk
......
File moved
# robotpkg Makefile for: wip/roscontrol_sot
# robotpkg Makefile for: wip/py36-roscontrol-sot
# Created: Guilhem Saurel on Tue, 5 Nov 2019
#
VERSION= 0.1.0
PKGBASE= roscontrol-sot
PKGNAME= ${PKGBASE}-${VERSION}
ROSNAME= $(subst -,_,${PKGBASE})
ORG= stack-of-tasks
VERSION= 0.2.0
NAME= roscontrol-sot
PKGNAME= ${PKGTAG.python-}${NAME}-${VERSION}
ROSNAME= $(subst -,_,${NAME})
DISTNAME= ${ROSNAME}-${VERSION}
WRKSRC= ${WRKDIR}/${ROSNAME}-${VERSION}
DIST_SUBDIR= ${PKGBASE}
PKGREVISION= 1
DIST_SUBDIR= ${NAME}
CATEGORIES= wip
#MASTER_SITES= ${MASTER_SITE_OPENROBOTS:=roscontrol_sot/}
HOMEPAGE= ${MASTER_SITE_GITHUB:=stack-of-tasks/${ROSNAME}}
MASTER_SITES= ${MASTER_SITE_OPENROBOTS:=${ROSNAME}/}
MASTER_REPOSITORY= ${MASTER_REPOSITORY_GITHUB}/stack-of-tasks/${ROSNAME}
CHECKOUT_VCS_OPTS= --recursive
COMMENT= This ROS package binds together the ROS control framework with the dynamic-graph real-time control architecture.
LICENSE= 2-clause-bsd
......@@ -29,15 +25,15 @@ CMAKE_ARGS+= -DCXX_DISABLE_WERROR=yes
# man pages location
CMAKE_ARGS+= -DMANDIR=${PREFIX}/${PKGMANDIR}
# library location
CMAKE_ARGS+= -DCMAKE_INSTALL_LIBDIR=lib
# Allows to have robotpkg ros packages with the highest priority
# over system ros packages.
# http://wiki.ros.org/catkin/what
CMAKE_PREFIX_PATH+= ${PREFIX}
CMAKE_PREFIX_PATH+= ${PREFIX}
USE_PYTHON= true
include ../../devel/jrl-cmakemodules/Makefile.common
include ../../sysutils/ros-rospack/depend.mk
include ../../motion/dynamic-graph-bridge-msgs/depend.mk
include ../../wip/py-dynamic-graph-bridge-v3/depend.mk
......@@ -80,6 +76,6 @@ include ../../pkgtools/pkg-config/depend.mk
include ../../mk/sysdep/bullet.mk
include ../../mk/sysdep/python.mk
include ../../mk/language/c.mk
include ../../mk/language/c++.mk
include ../../mk/language/c++11.mk
include ../../mk/sysdep/cmake.mk
include ../../mk/robotpkg.mk
......@@ -8,7 +8,7 @@ lib/libsot-test-controller.so
lib/libsot-test-device.so
lib/pkgconfig/roscontrol_sot.pc
${PYTHON_SITELIB}/dynamic_graph/sot/test/sot_test_device/__init__.py
${PYTHON_SITELIB}/dynamic_graph/sot/test/sot_test_device/wrap${PYTHON_EXT_SUFFIX}
${PYTHON_SITELIB}/dynamic_graph/sot/test/sot_test_device/wrap.so
share/roscontrol_sot/cmake/roscontrol_sotConfig-version.cmake
share/roscontrol_sot/cmake/roscontrol_sotConfig.cmake
share/roscontrol_sot/config/roscontrol_sot_controller_plugins.xml
......
# robotpkg depend.mk for: wip/py36-roscontrol-sot
# Created: Guilhem Saurel on Tue, 5 Nov 2019
#
DEPEND_DEPTH:= ${DEPEND_DEPTH}+
PY_ROSCONTROL_SOT_DEPEND_MK:= ${PY_ROSCONTROL_SOT_DEPEND_MK}+
ifeq (+,$(DEPEND_DEPTH))
DEPEND_PKG+= py-roscontrol-sot
endif
ifeq (+,$(PY_ROSCONTROL_SOT_DEPEND_MK)) # --------------------------------------
DEPEND_USE+= py-roscontrol-sot
ROS_DEPEND_USE+= py-roscontrol-sot
DEPEND_ABI.py-roscontrol-sot?= ${PKGTAG.python-}roscontrol-sot>=0.2.0
DEPEND_DIR.py-roscontrol-sot?= ../../wip/py-roscontrol-sot
SYSTEM_SEARCH.py-roscontrol-sot=\
'include/roscontrol/sot/config.hh' \
'lib/librcsot_controller.so' \
'${PYTHON_SYSLIBSEARCH}/dynamic_graph/sot/test/sot_test_device/__init__.py' \
'lib/pkgconfig/roscontrol_sot.pc:/Version/s/[^0-9.]//gp' \
'share/controller_interface/cmake/controller_interfaceConfig.cmake'
# headers leak the ros dependency ...
include ../../middleware/ros-comm/depend.mk
include ../../mk/sysdep/python.mk
endif # PY_ROSCONTROL_SOT_DEPEND_MK --------------------------------------------
DEPEND_DEPTH:= ${DEPEND_DEPTH:+=}
SHA1 (roscontrol-sot/roscontrol_sot-0.2.0.tar.gz) = dcc37d0e59a7671a77a72de0b8d51c247b9fabb8
RMD160 (roscontrol-sot/roscontrol_sot-0.2.0.tar.gz) = 58879b0ba88bf3eda431a6e34df2956c68df18df
Size (roscontrol-sot/roscontrol_sot-0.2.0.tar.gz) = 1285602 bytes
SHA1 (patch-aa) = 3826bb4e8794bdc8af94306d2637377d8eeacd11
fix version for catkin, as it overrides the .pc
--- package.xml.orig 2019-11-05 21:52:59.000000000 +0100
+++ package.xml 2019-11-12 14:32:27.848246273 +0100
@@ -1,7 +1,7 @@
<?xml version="1.0"?>
<package>
<name>roscontrol_sot</name>
- <version>0.1.0</version>
+ <version>0.2.0</version>
<description>Wrapping the Stack-of-tasks framework in ros-control</description>
<!-- Maintainer email -->
# robotpkg Makefile for: wip/dynamic-graph-bridge
#
DEPEND_DEPTH:= ${DEPEND_DEPTH}+
ROSCONTROL_SOT_DEPEND_MK:= ${ROSCONTROL_SOT_DEPEND_MK}+
ifeq (+,$(DEPEND_DEPTH))
DEPEND_PKG+= roscontrol-sot
endif
ifeq (+,$(ROSCONTROL_SOT_DEPEND_MK)) # --------------------------------------
DEPEND_USE+= roscontrol-sot
ROS_DEPEND_USE+= roscontrol-sot
DEPEND_ABI.ros+= ros>=groovy
DEPEND_ABI.roscontrol-sot?= roscontrol-sot>=0.0.3
DEPEND_DIR.roscontrol-sot?= ../../wip/roscontrol-sot
DEPEND_ABI.roscontrol-sot.groovy?= roscontrol-sot>=0.0.3
DEPEND_ABI.roscontrol-sot.hydro?= roscontrol-sot>=0.0.3
SYSTEM_SEARCH.roscontrol-sot=\
'include/roscontrol/sot/config.hh' \
'lib/librcsot_controller.so' \
'lib/pkgconfig/roscontrol_sot.pc:/Version/s/[^0-9.]//gp' \
'share/controller_interface/cmake/controller_interfaceConfig.cmake'
# headers leak the ros dependency ...
include ../../middleware/ros-comm/depend.mk
include ../../mk/sysdep/python.mk
endif # ROS_REALTIMETOOLS_DEPEND_MK --------------------------------------------
DEPEND_DEPTH:= ${DEPEND_DEPTH:+=}
SHA1 (roscontrol-sot/roscontrol_sot-0.1.0.tar.gz) = 76143a98396369ab8e5ea6ff8f54e64b7e6d0265
RMD160 (roscontrol-sot/roscontrol_sot-0.1.0.tar.gz) = 2202fa977745faff51772be35d6ddaab3a82771e
Size (roscontrol-sot/roscontrol_sot-0.1.0.tar.gz) = 1265429 bytes
SHA1 (patch-aa) = caf3d236c6669f99220139ccf071b42a4faa5336
--- tests/sot-test-controller.cpp.orig 2019-08-26 08:45:34.000000000 +0200
+++ tests/sot-test-controller.cpp 2019-10-09 13:30:06.505324824 +0200
@@ -8,6 +8,8 @@
*
*/
+#include <pinocchio/fwd.hpp>
+
#include <sot/core/debug.hh>
#include <sot/core/exception-abstract.hh>
#include <dynamic_graph_bridge/ros_init.hh>
......@@ -63,8 +63,7 @@ displaytalosmetapkg:
endif
include ../../wip/roscontrol-sot/depend.mk
include ../../wip/py-roscontrol-sot/depend.mk
include ../../mk/language/c++.mk
include ../../mk/language/c.mk
include ../../mk/robotpkg.mk
......@@ -61,8 +61,7 @@ displaytiagometapkg:
endif
include ../../wip/roscontrol-sot/depend.mk
include ../../wip/py-roscontrol-sot/depend.mk
include ../../mk/language/c++.mk
include ../../mk/language/c.mk
include ../../mk/robotpkg.mk
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment