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

Commit 9ab19f2

Browse files
Krasimir Georgievruslo
authored andcommitted
Add 'ros_comm' package
1 parent efe4e7d commit 9ab19f2

File tree

6 files changed

+104
-0
lines changed

6 files changed

+104
-0
lines changed

cmake/configs/default.cmake

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -432,6 +432,7 @@ hunter_default_version(recastnavigation VERSION 1.4-p0)
432432
hunter_default_version(renderproto VERSION 0.11.1)
433433
hunter_default_version(rocksdb VERSION 5.14.2)
434434
hunter_default_version(ros VERSION 1.14.6-p0)
435+
hunter_default_version(ros_comm VERSION 1.14.3-p1)
435436
hunter_default_version(ros_comm_msgs VERSION 1.11.2-p0)
436437
hunter_default_version(ros_common_msgs VERSION 1.12.7-p0)
437438
hunter_default_version(ros_console_bridge VERSION 0.4.3-p0)
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# Copyright (c) 2016-2019, Ruslan Baratov
2+
# All rights reserved.
3+
4+
# !!! DO NOT PLACE HEADER GUARDS HERE !!!
5+
6+
include(hunter_add_version)
7+
include(hunter_cacheable)
8+
include(hunter_download)
9+
include(hunter_pick_scheme)
10+
include(hunter_cmake_args)
11+
12+
hunter_add_version(
13+
PACKAGE_NAME
14+
ros_comm
15+
VERSION
16+
1.14.3-p1
17+
URL
18+
"https://github.com/hunter-packages/ros_comm/archive/v1.14.3-p1.tar.gz"
19+
SHA1
20+
132f614a7ce4d5765ecdba8cc31c7f3504ef046f
21+
)
22+
23+
hunter_cmake_args(
24+
ros_comm
25+
CMAKE_ARGS
26+
CATKIN_ENABLE_TESTING:BOOL=OFF
27+
)
28+
29+
hunter_pick_scheme(DEFAULT url_sha1_cmake)
30+
hunter_cacheable(ros_comm)
31+
hunter_download(PACKAGE_NAME ros_comm)

docs/packages/pkg/ros_comm.rst

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
.. spelling::
2+
3+
ros_comm
4+
ros
5+
6+
.. index:: ROS ; ros_comm
7+
8+
.. _pkg.ros_comm:
9+
10+
ros_comm
11+
========
12+
13+
- `Official <https://github.com/ros/ros_comm>`__
14+
- `Hunterized <https://github.com/hunter-packages/ros_comm>`__
15+
- `Example <https://github.com/ruslo/hunter/blob/master/examples/ros_comm/CMakeLists.txt>`__
16+
- Added by `Krasimir Georgiev <https://github.com/kgeorgiev93>`__ (`pr-N <https://github.com/ruslo/hunter/pull/N>`__)
17+
- Contribution partially as part of work at `SeeByte Ltd. <http://www.seebyte.com>`__
18+
19+
.. literalinclude:: /../examples/ros_comm/CMakeLists.txt
20+
:language: cmake
21+
:start-after: # DOCUMENTATION_START {
22+
:end-before: # DOCUMENTATION_END }

examples/ros_comm/CMakeLists.txt

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# Copyright (c) 2016-2017, Ruslan Baratov
2+
# All rights reserved.
3+
4+
cmake_minimum_required(VERSION 3.0)
5+
6+
# Emulate HunterGate:
7+
# * https://github.com/hunter-packages/gate
8+
include("../common.cmake")
9+
10+
project(download_ros_comm)
11+
12+
# DOCUMENTATION_START {
13+
14+
hunter_add_package(ros_comm)
15+
find_package(catkin CONFIG REQUIRED COMPONENTS roscpp
16+
rosbag rosbag_storage topic_tools message_filters roslz4 xmlrpcpp)
17+
18+
catkin_package()
19+
20+
add_executable(main main.cpp)
21+
target_link_libraries(main ${catkin_LIBRARIES})
22+
# DOCUMENTATION_END }

examples/ros_comm/main.cpp

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
#include <iostream>
2+
#include "ros/ros.h"
3+
#include "ros/callback_queue_interface.h"
4+
#include "rosbag/player.h"
5+
#include "rosbag/bag.h"
6+
#include "rosbag/bag_player.h"
7+
#include "topic_tools/shape_shifter.h"
8+
#include "message_filters/time_synchronizer.h"
9+
#include "roslz4/lz4s.h"
10+
#include "xmlrpcpp/XmlRpc.h"
11+
12+
int main() {
13+
ros::Time::init();
14+
ros::Duration(3).sleep();
15+
std::cout << "Done" << std::endl;
16+
return 0;
17+
}

examples/ros_comm/package.xml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<package format="2">
2+
<name>download_ros_comm</name>
3+
<version>0.0.0</version>
4+
<description>
5+
This package provides foo capability.
6+
</description>
7+
<maintainer email="[email protected]">Krasimir Georgiev</maintainer>
8+
<license>BSD</license>
9+
10+
<buildtool_depend>catkin</buildtool_depend>
11+
</package>

0 commit comments

Comments
 (0)