Commit 81825356 authored by Oleg Dzhimiev's avatar Oleg Dzhimiev
Browse files

initial

parent 13f32ea7
Loading
Loading
Loading
Loading

CMakeLists.txt

0 → 100644
+24 −0
Original line number Diff line number Diff line
cmake_minimum_required(VERSION 3.5)

project(elphel-interfaces)

# Default to C++14
if(NOT CMAKE_CXX_STANDARD)
  set(CMAKE_CXX_STANDARD 14)
endif()
if(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_CXX_COMPILER_ID MATCHES "Clang")
  # we dont use add_compile_options with pedantic in message packages
  # because the Python C extensions dont comply with it
  set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wextra -Wpedantic")
endif()

find_package(ament_cmake REQUIRED)
find_package(rosidl_default_generators REQUIRED)

rosidl_generate_interfaces(${PROJECT_NAME}
  "srv/Strings.srv"
)

#install(FILES mapping_rules.yaml DESTINATION share/${PROJECT_NAME})

ament_package()

package.xml

0 → 100644
+16 −0
Original line number Diff line number Diff line
<?xml version="1.0"?>
<?xml-model href="http://download.ros.org/schema/package_format3.xsd" schematypens="http://www.w3.org/2001/XMLSchema"?>
<package format="3">
  <name>elphel_interfaces</name>
  <version>1.0.0</version>
  <description>Contains message and service definitions.</description>
  <maintainer email="oleg@elphel.com">Oleg Dzhimiev</maintainer>
  <license>GPL-3.0-or-later</license>
  <buildtool_depend>ament_cmake</buildtool_depend>
  <buildtool_depend>rosidl_default_generators</buildtool_depend>
  <exec_depend>rosidl_default_runtime</exec_depend>
  <member_of_group>rosidl_interface_packages</member_of_group>
  <export>
    <build_type>ament_cmake</build_type>
  </export>
</package>

srv/Strings.srv

0 → 100644
+3 −0
Original line number Diff line number Diff line
string request
---
string response