This repository has been archived by the owner on Apr 15, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 654
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 #1933 from kgeorgiev93/pr.tf
Add 'tf' package
- Loading branch information
Showing
6 changed files
with
95 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,31 @@ | ||
# Copyright (c) 2016-2019, Ruslan Baratov | ||
# All rights reserved. | ||
|
||
# !!! DO NOT PLACE HEADER GUARDS HERE !!! | ||
|
||
include(hunter_add_version) | ||
include(hunter_cacheable) | ||
include(hunter_download) | ||
include(hunter_pick_scheme) | ||
include(hunter_cmake_args) | ||
|
||
hunter_add_version( | ||
PACKAGE_NAME | ||
tf | ||
VERSION | ||
1.12.0-p0 | ||
URL | ||
"https://github.com/hunter-packages/tf/archive/v1.12.0-p0.tar.gz" | ||
SHA1 | ||
349b34bc9fe31e2f372d52e8b0b03002e229cc2c | ||
) | ||
|
||
hunter_cmake_args( | ||
tf | ||
CMAKE_ARGS | ||
CATKIN_ENABLE_TESTING:BOOL=OFF | ||
) | ||
|
||
hunter_pick_scheme(DEFAULT url_sha1_cmake) | ||
hunter_cacheable(tf) | ||
hunter_download(PACKAGE_NAME tf) |
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 |
---|---|---|
@@ -0,0 +1,22 @@ | ||
.. spelling:: | ||
|
||
tf | ||
ros | ||
|
||
.. index:: ROS ; tf | ||
|
||
.. _pkg.tf: | ||
|
||
tf | ||
== | ||
|
||
- `Official <https://github.com/ros/geometry>`__ | ||
- `Hunterized <https://github.com/hunter-packages/tf>`__ | ||
- `Example <https://github.com/ruslo/hunter/blob/master/examples/tf/CMakeLists.txt>`__ | ||
- Added by `Krasimir Georgiev <https://github.com/kgeorgiev93>`__ (`pr-1933 <https://github.com/ruslo/hunter/pull/1933>`__) | ||
- Contribution partially as part of work at `SeeByte Ltd. <http://www.seebyte.com>`__ | ||
|
||
.. literalinclude:: /../examples/tf/CMakeLists.txt | ||
:language: cmake | ||
:start-after: # DOCUMENTATION_START { | ||
:end-before: # DOCUMENTATION_END } |
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 |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# Copyright (c) 2016-2017, Ruslan Baratov | ||
# All rights reserved. | ||
|
||
cmake_minimum_required(VERSION 3.0) | ||
|
||
# Emulate HunterGate: | ||
# * https://github.com/hunter-packages/gate | ||
include("../common.cmake") | ||
|
||
project(download_tf) | ||
|
||
# DOCUMENTATION_START { | ||
|
||
hunter_add_package(tf) | ||
find_package(catkin CONFIG REQUIRED COMPONENTS tf) | ||
|
||
catkin_package() | ||
|
||
add_executable(main main.cpp) | ||
target_link_libraries(main ${catkin_LIBRARIES}) | ||
# DOCUMENTATION_END } |
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 |
---|---|---|
@@ -0,0 +1,9 @@ | ||
#include <iostream> | ||
#include "tf/tf.h" | ||
|
||
int main() { | ||
ros::Time::init(); | ||
ros::Duration(3).sleep(); | ||
std::cout << "Done" << std::endl; | ||
return 0; | ||
} |
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 |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<package format="2"> | ||
<name>download_tf</name> | ||
<version>0.0.0</version> | ||
<description> | ||
This package provides foo capability. | ||
</description> | ||
<maintainer email="[email protected]">Krasimir Georgiev</maintainer> | ||
<license>BSD</license> | ||
|
||
<buildtool_depend>catkin</buildtool_depend> | ||
</package> |