-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #10 from collaborative-robotics/rc-1.3.0
rc 1.3.0
- Loading branch information
Showing
11 changed files
with
308 additions
and
60 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,29 @@ | ||
cmake_minimum_required (VERSION 3.1) | ||
project (crtk_python_client VERSION 1.2.0) | ||
|
||
## Find catkin macros and libraries | ||
## if COMPONENTS list like find_package(catkin REQUIRED COMPONENTS xyz) | ||
## is used, also find other catkin packages | ||
find_package (catkin REQUIRED COMPONENTS | ||
rospy | ||
) | ||
|
||
## The catkin_package macro generates cmake config files for your package | ||
## Declare things to be passed to dependent projects | ||
## INCLUDE_DIRS: uncomment this if you package contains header files | ||
## LIBRARIES: libraries you create in this project that dependent projects also need | ||
## CATKIN_DEPENDS: catkin_packages dependent projects also need | ||
## DEPENDS: system dependencies of this project that dependent projects also need | ||
catkin_package ( | ||
# INCLUDE_DIRS include | ||
# LIBRARIES my_pkg | ||
CATKIN_DEPENDS rospy | ||
# DEPENDS system_lib | ||
) | ||
|
||
## Mark executable scripts (Python etc.) for installation | ||
## in contrast to setup.py, you can choose the destination | ||
# install(PROGRAMS | ||
# scripts/my_python_script | ||
# DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION} | ||
# ) | ||
|
||
catkin_python_setup () | ||
cmake_minimum_required (VERSION 3.10) | ||
project (crtk_python_client VERSION 1.3.0) | ||
|
||
# first test for ROS1 | ||
find_package (catkin QUIET | ||
COMPONENTS rospy) | ||
|
||
if (catkin_FOUND) | ||
|
||
catkin_package (CATKIN_DEPENDS rospy) | ||
catkin_python_setup () | ||
|
||
else (catkin_FOUND) | ||
|
||
# look for ROS2 | ||
find_package (ament_cmake QUIET) | ||
if (ament_cmake_FOUND) | ||
find_package (ament_cmake_python REQUIRED) | ||
ament_python_install_package (crtk | ||
PACKAGE_DIR ${crtk_python_client_SOURCE_DIR}/src/crtk) | ||
|
||
file (GLOB crtk_SCRIPTS scripts/*.py) | ||
install (PROGRAMS ${crtk_SCRIPTS} | ||
DESTINATION lib/${PROJECT_NAME}) | ||
|
||
ament_package () | ||
endif (ament_cmake_FOUND) | ||
|
||
endif (catkin_FOUND) |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,25 @@ | ||
<?xml version="1.0"?> | ||
<package> | ||
<package format="3"> | ||
<name>crtk_python_client</name> | ||
<version>1.2.0</version> | ||
<version>1.3.0</version> | ||
<description>crtk Python client</description> | ||
|
||
<maintainer email="[email protected]">Anton Deguet</maintainer> | ||
<maintainer email="[email protected]">Adnan Munawar</maintainer> | ||
<license>MIT</license> | ||
|
||
<buildtool_depend>catkin</buildtool_depend> | ||
<build_depend>rospy</build_depend> | ||
<run_depend>rospy</run_depend> | ||
<buildtool_depend condition="$ROS_VERSION == 1">catkin</buildtool_depend> | ||
<build_depend condition="$ROS_VERSION == 1">rospy</build_depend> | ||
<exec_depend condition="$ROS_VERSION == 1">rospy</exec_depend> | ||
<exec_depend condition="$ROS_VERSION == 1">crtk_msgs</exec_depend> | ||
|
||
<buildtool_depend condition="$ROS_VERSION == 2">ament_cmake</buildtool_depend> | ||
<buildtool_depend condition="$ROS_VERSION == 2">ament_cmake_python</buildtool_depend> | ||
<depend condition="$ROS_VERSION == 2">rclpy</depend> | ||
<depend condition="$ROS_VERSION == 2">crtk_msgs</depend> | ||
|
||
<!-- The export tag contains other, unspecified, tags --> | ||
<export> | ||
<build_type condition="$ROS_VERSION == 1">catkin</build_type> | ||
<build_type condition="$ROS_VERSION == 2">ament_cmake</build_type> | ||
</export> | ||
|
||
</package> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,7 +20,6 @@ | |
import crtk | ||
import math | ||
import PyKDL | ||
import rospy | ||
import sys | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
Oops, something went wrong.