Skip to content
This repository has been archived by the owner on Apr 15, 2020. It is now read-only.

Commit

Permalink
add 'ros_message_runtime' package (0.4.12-p0)
Browse files Browse the repository at this point in the history
  • Loading branch information
lsolanka committed May 17, 2018
1 parent 765455a commit de3bc1d
Show file tree
Hide file tree
Showing 7 changed files with 99 additions and 0 deletions.
1 change: 1 addition & 0 deletions cmake/configs/default.cmake
Expand Up @@ -341,6 +341,7 @@ hunter_config(ros_genmsg VERSION 0.5.10-p0)
hunter_config(ros_gennodejs VERSION 2.0.1-p0)
hunter_config(ros_genpy VERSION 0.6.7-p0)
hunter_config(ros_message_generation VERSION 0.4.0-p0)
hunter_config(ros_message_runtime VERSION 0.4.12-p0)
hunter_config(roscpp_core VERSION 0.6.9-p0)
hunter_config(rospack VERSION 2.5.0-p0)
hunter_config(sm VERSION 1.2.1)
Expand Down
31 changes: 31 additions & 0 deletions cmake/projects/ros_message_runtime/hunter.cmake
@@ -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)
24 changes: 24 additions & 0 deletions docs/packages/pkg/ros_message_runtime.rst
@@ -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 }
2 changes: 2 additions & 0 deletions docs/packages/robotics.rst
Expand Up @@ -8,6 +8,7 @@
gennodejs
genpy
message_generation
message_runtime
ros
rospack

Expand All @@ -26,5 +27,6 @@ ROS
* :ref:`pkg.ros_gennodejs` - ROS gennodejs package - ROS JavaScript message definition and serialization generators
* :ref:`pkg.ros_genpy` - ROS genpy package - Python ROS message and service generator
* :ref:`pkg.ros_message_generation` - ROS `message_generation` package
* :ref:`pkg.ros_message_runtime` - ROS `message_runtime` package
* :ref:`pkg.roscpp_core` - ROS C++ core package
* :ref:`pkg.rospack` - ROS rospack package - a command-line tool for retrieving information about ROS packages available on the filesystem
20 changes: 20 additions & 0 deletions examples/ros_message_runtime/CMakeLists.txt
@@ -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 }
10 changes: 10 additions & 0 deletions examples/ros_message_runtime/main.cpp
@@ -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;
}
11 changes: 11 additions & 0 deletions examples/ros_message_runtime/package.xml
@@ -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>

0 comments on commit de3bc1d

Please sign in to comment.