Primo commit Completo
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
prefix=/home/emanuele/Documents/GestioneMacchine/Robot_Incollaggio/Software/roboglue_ros_ws/install
|
||||
|
||||
Name: ur_driver
|
||||
Description: Description of ur_driver
|
||||
Version: 1.2.5
|
||||
Cflags: -I/home/emanuele/Documents/GestioneMacchine/Robot_Incollaggio/Software/roboglue_ros_ws/install/include
|
||||
Libs: -L/home/emanuele/Documents/GestioneMacchine/Robot_Incollaggio/Software/roboglue_ros_ws/install/lib
|
||||
Requires: dynamic_reconfigure
|
||||
+14
@@ -0,0 +1,14 @@
|
||||
# generated from catkin/cmake/template/pkgConfig-version.cmake.in
|
||||
set(PACKAGE_VERSION "1.2.5")
|
||||
|
||||
set(PACKAGE_VERSION_EXACT False)
|
||||
set(PACKAGE_VERSION_COMPATIBLE False)
|
||||
|
||||
if("${PACKAGE_FIND_VERSION}" VERSION_EQUAL "${PACKAGE_VERSION}")
|
||||
set(PACKAGE_VERSION_EXACT True)
|
||||
set(PACKAGE_VERSION_COMPATIBLE True)
|
||||
endif()
|
||||
|
||||
if("${PACKAGE_FIND_VERSION}" VERSION_LESS "${PACKAGE_VERSION}")
|
||||
set(PACKAGE_VERSION_COMPATIBLE True)
|
||||
endif()
|
||||
@@ -0,0 +1,200 @@
|
||||
# generated from catkin/cmake/template/pkgConfig.cmake.in
|
||||
|
||||
# append elements to a list and remove existing duplicates from the list
|
||||
# copied from catkin/cmake/list_append_deduplicate.cmake to keep pkgConfig
|
||||
# self contained
|
||||
macro(_list_append_deduplicate listname)
|
||||
if(NOT "${ARGN}" STREQUAL "")
|
||||
if(${listname})
|
||||
list(REMOVE_ITEM ${listname} ${ARGN})
|
||||
endif()
|
||||
list(APPEND ${listname} ${ARGN})
|
||||
endif()
|
||||
endmacro()
|
||||
|
||||
# append elements to a list if they are not already in the list
|
||||
# copied from catkin/cmake/list_append_unique.cmake to keep pkgConfig
|
||||
# self contained
|
||||
macro(_list_append_unique listname)
|
||||
foreach(_item ${ARGN})
|
||||
list(FIND ${listname} ${_item} _index)
|
||||
if(_index EQUAL -1)
|
||||
list(APPEND ${listname} ${_item})
|
||||
endif()
|
||||
endforeach()
|
||||
endmacro()
|
||||
|
||||
# pack a list of libraries with optional build configuration keywords
|
||||
# copied from catkin/cmake/catkin_libraries.cmake to keep pkgConfig
|
||||
# self contained
|
||||
macro(_pack_libraries_with_build_configuration VAR)
|
||||
set(${VAR} "")
|
||||
set(_argn ${ARGN})
|
||||
list(LENGTH _argn _count)
|
||||
set(_index 0)
|
||||
while(${_index} LESS ${_count})
|
||||
list(GET _argn ${_index} lib)
|
||||
if("${lib}" MATCHES "^(debug|optimized|general)$")
|
||||
math(EXPR _index "${_index} + 1")
|
||||
if(${_index} EQUAL ${_count})
|
||||
message(FATAL_ERROR "_pack_libraries_with_build_configuration() the list of libraries '${ARGN}' ends with '${lib}' which is a build configuration keyword and must be followed by a library")
|
||||
endif()
|
||||
list(GET _argn ${_index} library)
|
||||
list(APPEND ${VAR} "${lib}${CATKIN_BUILD_CONFIGURATION_KEYWORD_SEPARATOR}${library}")
|
||||
else()
|
||||
list(APPEND ${VAR} "${lib}")
|
||||
endif()
|
||||
math(EXPR _index "${_index} + 1")
|
||||
endwhile()
|
||||
endmacro()
|
||||
|
||||
# unpack a list of libraries with optional build configuration keyword prefixes
|
||||
# copied from catkin/cmake/catkin_libraries.cmake to keep pkgConfig
|
||||
# self contained
|
||||
macro(_unpack_libraries_with_build_configuration VAR)
|
||||
set(${VAR} "")
|
||||
foreach(lib ${ARGN})
|
||||
string(REGEX REPLACE "^(debug|optimized|general)${CATKIN_BUILD_CONFIGURATION_KEYWORD_SEPARATOR}(.+)$" "\\1;\\2" lib "${lib}")
|
||||
list(APPEND ${VAR} "${lib}")
|
||||
endforeach()
|
||||
endmacro()
|
||||
|
||||
|
||||
if(ur_driver_CONFIG_INCLUDED)
|
||||
return()
|
||||
endif()
|
||||
set(ur_driver_CONFIG_INCLUDED TRUE)
|
||||
|
||||
# set variables for source/devel/install prefixes
|
||||
if("FALSE" STREQUAL "TRUE")
|
||||
set(ur_driver_SOURCE_PREFIX /home/emanuele/Documents/GestioneMacchine/Robot_Incollaggio/Software/roboglue_ros_ws/src/universal_robot/ur_driver)
|
||||
set(ur_driver_DEVEL_PREFIX /home/emanuele/Documents/GestioneMacchine/Robot_Incollaggio/Software/roboglue_ros_ws/devel)
|
||||
set(ur_driver_INSTALL_PREFIX "")
|
||||
set(ur_driver_PREFIX ${ur_driver_DEVEL_PREFIX})
|
||||
else()
|
||||
set(ur_driver_SOURCE_PREFIX "")
|
||||
set(ur_driver_DEVEL_PREFIX "")
|
||||
set(ur_driver_INSTALL_PREFIX /home/emanuele/Documents/GestioneMacchine/Robot_Incollaggio/Software/roboglue_ros_ws/install)
|
||||
set(ur_driver_PREFIX ${ur_driver_INSTALL_PREFIX})
|
||||
endif()
|
||||
|
||||
# warn when using a deprecated package
|
||||
if(NOT "" STREQUAL "")
|
||||
set(_msg "WARNING: package 'ur_driver' is deprecated")
|
||||
# append custom deprecation text if available
|
||||
if(NOT "" STREQUAL "TRUE")
|
||||
set(_msg "${_msg} ()")
|
||||
endif()
|
||||
message("${_msg}")
|
||||
endif()
|
||||
|
||||
# flag project as catkin-based to distinguish if a find_package()-ed project is a catkin project
|
||||
set(ur_driver_FOUND_CATKIN_PROJECT TRUE)
|
||||
|
||||
if(NOT "include " STREQUAL " ")
|
||||
set(ur_driver_INCLUDE_DIRS "")
|
||||
set(_include_dirs "include")
|
||||
if(NOT " " STREQUAL " ")
|
||||
set(_report "Check the issue tracker '' and consider creating a ticket if the problem has not been reported yet.")
|
||||
elseif(NOT "http://ros.org/wiki/ur_driver " STREQUAL " ")
|
||||
set(_report "Check the website 'http://ros.org/wiki/ur_driver' for information and consider reporting the problem.")
|
||||
else()
|
||||
set(_report "Report the problem to the maintainer 'G.A. vd. Hoorn <g.a.vanderhoorn@tudelft.nl>, Miguel Prada Sarasola <miguel.prada@tecnalia.com>, Nadia Hammoudeh Garcia <nhg@ipa.fhg.de>' and request to fix the problem.")
|
||||
endif()
|
||||
foreach(idir ${_include_dirs})
|
||||
if(IS_ABSOLUTE ${idir} AND IS_DIRECTORY ${idir})
|
||||
set(include ${idir})
|
||||
elseif("${idir} " STREQUAL "include ")
|
||||
get_filename_component(include "${ur_driver_DIR}/../../../include" ABSOLUTE)
|
||||
if(NOT IS_DIRECTORY ${include})
|
||||
message(FATAL_ERROR "Project 'ur_driver' specifies '${idir}' as an include dir, which is not found. It does not exist in '${include}'. ${_report}")
|
||||
endif()
|
||||
else()
|
||||
message(FATAL_ERROR "Project 'ur_driver' specifies '${idir}' as an include dir, which is not found. It does neither exist as an absolute directory nor in '/home/emanuele/Documents/GestioneMacchine/Robot_Incollaggio/Software/roboglue_ros_ws/install/${idir}'. ${_report}")
|
||||
endif()
|
||||
_list_append_unique(ur_driver_INCLUDE_DIRS ${include})
|
||||
endforeach()
|
||||
endif()
|
||||
|
||||
set(libraries "")
|
||||
foreach(library ${libraries})
|
||||
# keep build configuration keywords, target names and absolute libraries as-is
|
||||
if("${library}" MATCHES "^(debug|optimized|general)$")
|
||||
list(APPEND ur_driver_LIBRARIES ${library})
|
||||
elseif(${library} MATCHES "^-l")
|
||||
list(APPEND ur_driver_LIBRARIES ${library})
|
||||
elseif(TARGET ${library})
|
||||
list(APPEND ur_driver_LIBRARIES ${library})
|
||||
elseif(IS_ABSOLUTE ${library})
|
||||
list(APPEND ur_driver_LIBRARIES ${library})
|
||||
else()
|
||||
set(lib_path "")
|
||||
set(lib "${library}-NOTFOUND")
|
||||
# since the path where the library is found is returned we have to iterate over the paths manually
|
||||
foreach(path /home/emanuele/Documents/GestioneMacchine/Robot_Incollaggio/Software/roboglue_ros_ws/install/lib;/home/emanuele/Documents/GestioneMacchine/Robot_Incollaggio/Software/roboglue_ros_ws/devel/lib;/opt/ros/kinetic/lib)
|
||||
find_library(lib ${library}
|
||||
PATHS ${path}
|
||||
NO_DEFAULT_PATH NO_CMAKE_FIND_ROOT_PATH)
|
||||
if(lib)
|
||||
set(lib_path ${path})
|
||||
break()
|
||||
endif()
|
||||
endforeach()
|
||||
if(lib)
|
||||
_list_append_unique(ur_driver_LIBRARY_DIRS ${lib_path})
|
||||
list(APPEND ur_driver_LIBRARIES ${lib})
|
||||
else()
|
||||
# as a fall back for non-catkin libraries try to search globally
|
||||
find_library(lib ${library})
|
||||
if(NOT lib)
|
||||
message(FATAL_ERROR "Project '${PROJECT_NAME}' tried to find library '${library}'. The library is neither a target nor built/installed properly. Did you compile project 'ur_driver'? Did you find_package() it before the subdirectory containing its code is included?")
|
||||
endif()
|
||||
list(APPEND ur_driver_LIBRARIES ${lib})
|
||||
endif()
|
||||
endif()
|
||||
endforeach()
|
||||
|
||||
set(ur_driver_EXPORTED_TARGETS "ur_driver_gencfg")
|
||||
# create dummy targets for exported code generation targets to make life of users easier
|
||||
foreach(t ${ur_driver_EXPORTED_TARGETS})
|
||||
if(NOT TARGET ${t})
|
||||
add_custom_target(${t})
|
||||
endif()
|
||||
endforeach()
|
||||
|
||||
set(depends "dynamic_reconfigure")
|
||||
foreach(depend ${depends})
|
||||
string(REPLACE " " ";" depend_list ${depend})
|
||||
# the package name of the dependency must be kept in a unique variable so that it is not overwritten in recursive calls
|
||||
list(GET depend_list 0 ur_driver_dep)
|
||||
list(LENGTH depend_list count)
|
||||
if(${count} EQUAL 1)
|
||||
# simple dependencies must only be find_package()-ed once
|
||||
if(NOT ${ur_driver_dep}_FOUND)
|
||||
find_package(${ur_driver_dep} REQUIRED NO_MODULE)
|
||||
endif()
|
||||
else()
|
||||
# dependencies with components must be find_package()-ed again
|
||||
list(REMOVE_AT depend_list 0)
|
||||
find_package(${ur_driver_dep} REQUIRED NO_MODULE ${depend_list})
|
||||
endif()
|
||||
_list_append_unique(ur_driver_INCLUDE_DIRS ${${ur_driver_dep}_INCLUDE_DIRS})
|
||||
|
||||
# merge build configuration keywords with library names to correctly deduplicate
|
||||
_pack_libraries_with_build_configuration(ur_driver_LIBRARIES ${ur_driver_LIBRARIES})
|
||||
_pack_libraries_with_build_configuration(_libraries ${${ur_driver_dep}_LIBRARIES})
|
||||
_list_append_deduplicate(ur_driver_LIBRARIES ${_libraries})
|
||||
# undo build configuration keyword merging after deduplication
|
||||
_unpack_libraries_with_build_configuration(ur_driver_LIBRARIES ${ur_driver_LIBRARIES})
|
||||
|
||||
_list_append_unique(ur_driver_LIBRARY_DIRS ${${ur_driver_dep}_LIBRARY_DIRS})
|
||||
list(APPEND ur_driver_EXPORTED_TARGETS ${${ur_driver_dep}_EXPORTED_TARGETS})
|
||||
endforeach()
|
||||
|
||||
set(pkg_cfg_extras "")
|
||||
foreach(extra ${pkg_cfg_extras})
|
||||
if(NOT IS_ABSOLUTE ${extra})
|
||||
set(extra ${ur_driver_DIR}/${extra})
|
||||
endif()
|
||||
include(${extra})
|
||||
endforeach()
|
||||
@@ -0,0 +1 @@
|
||||
set(ORDERED_PATHS "/opt/ros/kinetic/lib")
|
||||
@@ -0,0 +1,16 @@
|
||||
set(_CATKIN_CURRENT_PACKAGE "ur_driver")
|
||||
set(ur_driver_VERSION "1.2.5")
|
||||
set(ur_driver_MAINTAINER "G.A. vd. Hoorn <g.a.vanderhoorn@tudelft.nl>, Miguel Prada Sarasola <miguel.prada@tecnalia.com>, Nadia Hammoudeh Garcia <nhg@ipa.fhg.de>")
|
||||
set(ur_driver_PACKAGE_FORMAT "1")
|
||||
set(ur_driver_BUILD_DEPENDS "dynamic_reconfigure")
|
||||
set(ur_driver_BUILD_EXPORT_DEPENDS "rospy" "actionlib" "control_msgs" "sensor_msgs" "trajectory_msgs" "ur_msgs" "python-lxml" "dynamic_reconfigure")
|
||||
set(ur_driver_BUILDTOOL_DEPENDS "catkin")
|
||||
set(ur_driver_BUILDTOOL_EXPORT_DEPENDS )
|
||||
set(ur_driver_EXEC_DEPENDS "rospy" "actionlib" "control_msgs" "sensor_msgs" "trajectory_msgs" "ur_msgs" "python-lxml" "dynamic_reconfigure")
|
||||
set(ur_driver_RUN_DEPENDS "rospy" "actionlib" "control_msgs" "sensor_msgs" "trajectory_msgs" "ur_msgs" "python-lxml" "dynamic_reconfigure")
|
||||
set(ur_driver_TEST_DEPENDS )
|
||||
set(ur_driver_DOC_DEPENDS )
|
||||
set(ur_driver_URL_WEBSITE "http://ros.org/wiki/ur_driver")
|
||||
set(ur_driver_URL_BUGTRACKER "")
|
||||
set(ur_driver_URL_REPOSITORY "")
|
||||
set(ur_driver_DEPRECATED "")
|
||||
@@ -0,0 +1,8 @@
|
||||
# generated from catkin/cmake/template/pkg.context.pc.in
|
||||
CATKIN_PACKAGE_PREFIX = ""
|
||||
PROJECT_PKG_CONFIG_INCLUDE_DIRS = "/home/emanuele/Documents/GestioneMacchine/Robot_Incollaggio/Software/roboglue_ros_ws/devel/include".split(';') if "/home/emanuele/Documents/GestioneMacchine/Robot_Incollaggio/Software/roboglue_ros_ws/devel/include" != "" else []
|
||||
PROJECT_CATKIN_DEPENDS = "dynamic_reconfigure".replace(';', ' ')
|
||||
PKG_CONFIG_LIBRARIES_WITH_PREFIX = "".split(';') if "" != "" else []
|
||||
PROJECT_NAME = "ur_driver"
|
||||
PROJECT_SPACE_DIR = "/home/emanuele/Documents/GestioneMacchine/Robot_Incollaggio/Software/roboglue_ros_ws/devel"
|
||||
PROJECT_VERSION = "1.2.5"
|
||||
@@ -0,0 +1,8 @@
|
||||
# generated from catkin/cmake/template/pkg.context.pc.in
|
||||
CATKIN_PACKAGE_PREFIX = ""
|
||||
PROJECT_PKG_CONFIG_INCLUDE_DIRS = "/home/emanuele/Documents/GestioneMacchine/Robot_Incollaggio/Software/roboglue_ros_ws/install/include".split(';') if "/home/emanuele/Documents/GestioneMacchine/Robot_Incollaggio/Software/roboglue_ros_ws/install/include" != "" else []
|
||||
PROJECT_CATKIN_DEPENDS = "dynamic_reconfigure".replace(';', ' ')
|
||||
PKG_CONFIG_LIBRARIES_WITH_PREFIX = "".split(';') if "" != "" else []
|
||||
PROJECT_NAME = "ur_driver"
|
||||
PROJECT_SPACE_DIR = "/home/emanuele/Documents/GestioneMacchine/Robot_Incollaggio/Software/roboglue_ros_ws/install"
|
||||
PROJECT_VERSION = "1.2.5"
|
||||
+33
@@ -0,0 +1,33 @@
|
||||
#!/bin/sh
|
||||
|
||||
if [ -n "$DESTDIR" ] ; then
|
||||
case $DESTDIR in
|
||||
/*) # ok
|
||||
;;
|
||||
*)
|
||||
/bin/echo "DESTDIR argument must be absolute... "
|
||||
/bin/echo "otherwise python's distutils will bork things."
|
||||
exit 1
|
||||
esac
|
||||
DESTDIR_ARG="--root=$DESTDIR"
|
||||
fi
|
||||
|
||||
echo_and_run() { echo "+ $@" ; "$@" ; }
|
||||
|
||||
echo_and_run cd "/home/emanuele/Documents/GestioneMacchine/Robot_Incollaggio/Software/roboglue_ros_ws/src/universal_robot/ur_driver"
|
||||
|
||||
# ensure that Python install destination exists
|
||||
echo_and_run mkdir -p "$DESTDIR/home/emanuele/Documents/GestioneMacchine/Robot_Incollaggio/Software/roboglue_ros_ws/install/lib/python2.7/dist-packages"
|
||||
|
||||
# Note that PYTHONPATH is pulled from the environment to support installing
|
||||
# into one location when some dependencies were installed in another
|
||||
# location, #123.
|
||||
echo_and_run /usr/bin/env \
|
||||
PYTHONPATH="/home/emanuele/Documents/GestioneMacchine/Robot_Incollaggio/Software/roboglue_ros_ws/install/lib/python2.7/dist-packages:/home/emanuele/Documents/GestioneMacchine/Robot_Incollaggio/Software/roboglue_ros_ws/build/lib/python2.7/dist-packages:$PYTHONPATH" \
|
||||
CATKIN_BINARY_DIR="/home/emanuele/Documents/GestioneMacchine/Robot_Incollaggio/Software/roboglue_ros_ws/build" \
|
||||
"/usr/bin/python" \
|
||||
"/home/emanuele/Documents/GestioneMacchine/Robot_Incollaggio/Software/roboglue_ros_ws/src/universal_robot/ur_driver/setup.py" \
|
||||
build --build-base "/home/emanuele/Documents/GestioneMacchine/Robot_Incollaggio/Software/roboglue_ros_ws/build/universal_robot/ur_driver" \
|
||||
install \
|
||||
$DESTDIR_ARG \
|
||||
--install-layout=deb --prefix="/home/emanuele/Documents/GestioneMacchine/Robot_Incollaggio/Software/roboglue_ros_ws/install" --install-scripts="/home/emanuele/Documents/GestioneMacchine/Robot_Incollaggio/Software/roboglue_ros_ws/install/bin"
|
||||
@@ -0,0 +1,5 @@
|
||||
execute_process(COMMAND "/home/emanuele/Documents/GestioneMacchine/Robot_Incollaggio/Software/roboglue_ros_ws/build/universal_robot/ur_driver/catkin_generated/python_distutils_install.sh" RESULT_VARIABLE res)
|
||||
|
||||
if(NOT res EQUAL 0)
|
||||
message(FATAL_ERROR "execute_process(/home/emanuele/Documents/GestioneMacchine/Robot_Incollaggio/Software/roboglue_ros_ws/build/universal_robot/ur_driver/catkin_generated/python_distutils_install.sh) returned error code ")
|
||||
endif()
|
||||
@@ -0,0 +1,6 @@
|
||||
set(ur_driver_SETUP_PY_VERSION "1.2.5")
|
||||
set(ur_driver_SETUP_PY_SCRIPTS "")
|
||||
set(ur_driver_SETUP_PY_PACKAGES "ur_driver")
|
||||
set(ur_driver_SETUP_PY_PACKAGE_DIRS "src/ur_driver")
|
||||
set(ur_driver_SETUP_PY_MODULES "")
|
||||
set(ur_driver_SETUP_PY_MODULE_DIRS "")
|
||||
@@ -0,0 +1,30 @@
|
||||
<?xml version="1.0"?>
|
||||
<package>
|
||||
<name>ur_driver</name>
|
||||
<version>1.2.5</version>
|
||||
<description>
|
||||
Driver for the UR5/10 arm based on the Polyscope control scheme.
|
||||
</description>
|
||||
|
||||
<author>Stuart Glaser</author>
|
||||
<author>Shaun Edwards</author>
|
||||
<author>Felix Messmer</author>
|
||||
<maintainer email="g.a.vanderhoorn@tudelft.nl">G.A. vd. Hoorn</maintainer>
|
||||
<maintainer email="miguel.prada@tecnalia.com">Miguel Prada Sarasola</maintainer>
|
||||
<maintainer email="nhg@ipa.fhg.de">Nadia Hammoudeh Garcia</maintainer>
|
||||
|
||||
<license>BSD</license>
|
||||
<url type="website">http://ros.org/wiki/ur_driver</url>
|
||||
|
||||
<buildtool_depend>catkin</buildtool_depend>
|
||||
<build_depend>dynamic_reconfigure</build_depend>
|
||||
|
||||
<run_depend>rospy</run_depend>
|
||||
<run_depend>actionlib</run_depend>
|
||||
<run_depend>control_msgs</run_depend>
|
||||
<run_depend>sensor_msgs</run_depend>
|
||||
<run_depend>trajectory_msgs</run_depend>
|
||||
<run_depend>ur_msgs</run_depend>
|
||||
<run_depend>python-lxml</run_depend>
|
||||
<run_depend>dynamic_reconfigure</run_depend>
|
||||
</package>
|
||||
@@ -0,0 +1,8 @@
|
||||
prefix=@PROJECT_SPACE_DIR
|
||||
|
||||
Name: @(CATKIN_PACKAGE_PREFIX + PROJECT_NAME)
|
||||
Description: Description of @PROJECT_NAME
|
||||
Version: @PROJECT_VERSION
|
||||
Cflags: @(' '.join(['-I%s' % include for include in PROJECT_PKG_CONFIG_INCLUDE_DIRS]))
|
||||
Libs: -L@PROJECT_SPACE_DIR/lib @(' '.join(PKG_CONFIG_LIBRARIES_WITH_PREFIX))
|
||||
Requires: @(PROJECT_CATKIN_DEPENDS)
|
||||
@@ -0,0 +1,13 @@
|
||||
#!/usr/bin/env python
|
||||
|
||||
from distutils.core import setup
|
||||
from catkin_pkg.python_setup import generate_distutils_setup
|
||||
|
||||
d = generate_distutils_setup(
|
||||
## don't do this unless you want a globally visible script
|
||||
# scripts=['bin/myscript'],
|
||||
packages=['ur_driver'],
|
||||
package_dir={'': 'src'}
|
||||
)
|
||||
|
||||
setup(**d)
|
||||
Reference in New Issue
Block a user