This repository has been archived by the owner on Apr 15, 2020. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add 'ros_message_runtime' package (0.4.12-p0)
- Loading branch information
Showing
7 changed files
with
99 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) 2017, Lukas Solanka | ||
# All rights reserved. | ||
|
||
# !!! DO NOT PLACE HEADER GUARDS HERE !!! | ||
|
||
include(hunter_add_version) | ||
include(hunter_cacheable) | ||
include(hunter_cmake_args) | ||
include(hunter_download) | ||
include(hunter_pick_scheme) | ||
|
||
hunter_add_version( | ||
PACKAGE_NAME | ||
ros_message_runtime | ||
VERSION | ||
0.4.12-p0 | ||
URL | ||
"https://github.com/hunter-packages/ros_message_runtime/archive/v0.4.12-p0.tar.gz" | ||
SHA1 | ||
"54be9c1294b298388fc975fae73d5d155ca7e290" | ||
) | ||
|
||
hunter_cmake_args( | ||
ros_message_runtime | ||
CMAKE_ARGS | ||
CATKIN_ENABLE_TESTING:BOOL=OFF | ||
) | ||
|
||
hunter_pick_scheme(DEFAULT url_sha1_cmake) | ||
hunter_cacheable(ros_message_runtime) | ||
hunter_download(PACKAGE_NAME ros_message_runtime) |
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,24 @@ | ||
.. spelling:: | ||
|
||
message_runtime | ||
ros_message_runtime | ||
ros | ||
|
||
.. index:: ROS ; ros_message_runtime | ||
|
||
.. _pkg.ros_message_runtime: | ||
|
||
ros_message_runtime | ||
=================== | ||
|
||
- `Official <https://github.com/ros/message_runtime>`__ | ||
- `Hunterized <https://github.com/hunter-packages/ros_message_runtime>`__ | ||
- `Example <https://github.com/ruslo/hunter/blob/master/examples/ros_message_runtime/CMakeLists.txt>`__ | ||
- Added by | ||
- `Lukas Solanka <https://github.com/lsolanka>`__ (`pr-N <https://github.com/ruslo/hunter/pull/N>`__) | ||
- Contribution partially as part of work at `SeeByte Ltd. <http://www.seebyte.com>`__ | ||
|
||
.. literalinclude:: /../examples/ros_message_runtime/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
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,20 @@ | ||
# 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_ros_message_runtime) | ||
|
||
# DOCUMENTATION_START { | ||
hunter_add_package(ros_message_runtime) | ||
find_package(catkin CONFIG REQUIRED COMPONENTS message_runtime) | ||
|
||
catkin_package() | ||
|
||
add_executable(main main.cpp) | ||
target_link_libraries(main ros::rostime) | ||
# 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,10 @@ | ||
#include <iostream> | ||
#include <ros/time.h> | ||
#include <ros/duration.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_ros_message_runtime</name> | ||
<version>0.0.0</version> | ||
<description> | ||
This package provides foo capability. | ||
</description> | ||
<maintainer email="lsolanka@gmail.com">Lukas Solanka</maintainer> | ||
<license>BSD</license> | ||
|
||
<buildtool_depend>catkin</buildtool_depend> | ||
</package> |