Unverified Commit 18e56cba authored by Denis Štogl's avatar Denis Štogl
Browse files

Added skeletons for the packages

parent b021e7f7
cmake_minimum_required(VERSION 3.5)
project(ros2_control_demo_communication_gazebo)
# Default to C99
if(NOT CMAKE_C_STANDARD)
set(CMAKE_C_STANDARD 99)
endif()
# 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")
add_compile_options(-Wall -Wextra -Wpedantic)
endif()
# find dependencies
find_package(ament_cmake REQUIRED)
# uncomment the following section in order to fill in
# further dependencies manually.
# find_package(<dependency> REQUIRED)
install(DIRECTORY include/
DESTINATION include)
if(BUILD_TESTING)
find_package(ament_lint_auto REQUIRED)
# the following line skips the linter which checks for copyrights
# uncomment the line when a copyright and license is not present in all source files
#set(ament_cmake_copyright_FOUND TRUE)
# the following line skips cpplint (only works in a git repo)
# uncomment the line when this package is not in a git repo
#set(ament_cmake_cpplint_FOUND TRUE)
ament_lint_auto_find_test_dependencies()
endif()
ament_export_libraries(${PROJECT_NAME})
ament_export_include_directories(include)
ament_package()
// Copyright 2017 Open Source Robotics Foundation, Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
/* This header must be included by all rclcpp headers which declare symbols
* which are defined in the rclcpp library. When not building the rclcpp
* library, i.e. when using the headers in other package's code, the contents
* of this header change the visibility of certain symbols which the rclcpp
* library cannot have, but the consuming code must have inorder to link.
*/
#ifndef ROS2_CONTROL_DEMO_COMMUNICATION_GAZEBO__VISIBILITY_CONTROL_H_
#define ROS2_CONTROL_DEMO_COMMUNICATION_GAZEBO__VISIBILITY_CONTROL_H_
// This logic was borrowed (then namespaced) from the examples on the gcc wiki:
// https://gcc.gnu.org/wiki/Visibility
#if defined _WIN32 || defined __CYGWIN__
#ifdef __GNUC__
#define ROS2_CONTROL_DEMO_COMMUNICATION_GAZEBO_EXPORT __attribute__((dllexport))
#define ROS2_CONTROL_DEMO_COMMUNICATION_GAZEBO_IMPORT __attribute__((dllimport))
#else
#define ROS2_CONTROL_DEMO_COMMUNICATION_GAZEBO_EXPORT __declspec(dllexport)
#define ROS2_CONTROL_DEMO_COMMUNICATION_GAZEBO_IMPORT __declspec(dllimport)
#endif
#ifdef ROS2_CONTROL_DEMO_COMMUNICATION_GAZEBO_BUILDING_DLL
#define ROS2_CONTROL_DEMO_COMMUNICATION_GAZEBO_PUBLIC ROS2_CONTROL_DEMO_COMMUNICATION_GAZEBO_EXPORT
#else
#define ROS2_CONTROL_DEMO_COMMUNICATION_GAZEBO_PUBLIC ROS2_CONTROL_DEMO_COMMUNICATION_GAZEBO_IMPORT
#endif
#define ROS2_CONTROL_DEMO_COMMUNICATION_GAZEBO_PUBLIC_TYPE \
ROS2_CONTROL_DEMO_COMMUNICATION_GAZEBO_PUBLIC
#define ROS2_CONTROL_DEMO_COMMUNICATION_GAZEBO_LOCAL
#else
#define ROS2_CONTROL_DEMO_COMMUNICATION_GAZEBO_EXPORT \
__attribute__((visibility("default")))
#define ROS2_CONTROL_DEMO_COMMUNICATION_GAZEBO_IMPORT
#if __GNUC__ >= 4
#define ROS2_CONTROL_DEMO_COMMUNICATION_GAZEBO_PUBLIC \
__attribute__((visibility("default")))
#define ROS2_CONTROL_DEMO_COMMUNICATION_GAZEBO_LOCAL __attribute__((visibility("hidden")))
#else
#define ROS2_CONTROL_DEMO_COMMUNICATION_GAZEBO_PUBLIC
#define ROS2_CONTROL_DEMO_COMMUNICATION_GAZEBO_LOCAL
#endif
#define ROS2_CONTROL_DEMO_COMMUNICATION_GAZEBO_PUBLIC_TYPE
#endif
#endif // ROS2_CONTROL_DEMO_COMMUNICATION_GAZEBO__VISIBILITY_CONTROL_H_
<?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>ros2_control_demo_communication_gazebo</name>
<version>0.0.0</version>
<description>Demo package of ROS2 Control Gazebo communication interface. This interface is used with `demo_robot` from package `ros2_control_demo_robot`.</description>
<author email="ostasse@laas.fr">Olivier Stasse</author>
<author email="denis@stogl.de">Denis Štogl</author>
<maintainer email="ostasse@laas.fr">Olivier Stasse</maintainer>
<maintainer email="denis@stogl.de">Denis Štogl</maintainer>
<license>Apache License 2.0</license>
<buildtool_depend>ament_cmake</buildtool_depend>
<test_depend>ament_lint_auto</test_depend>
<test_depend>ament_lint_common</test_depend>
<export>
<build_type>ament_cmake</build_type>
</export>
</package>
cmake_minimum_required(VERSION 3.5)
project(ros2_control_demo_communication_headless)
# Default to C99
if(NOT CMAKE_C_STANDARD)
set(CMAKE_C_STANDARD 99)
endif()
# 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")
add_compile_options(-Wall -Wextra -Wpedantic)
endif()
# find dependencies
find_package(ament_cmake REQUIRED)
# uncomment the following section in order to fill in
# further dependencies manually.
# find_package(<dependency> REQUIRED)
install(DIRECTORY include/
DESTINATION include)
if(BUILD_TESTING)
find_package(ament_lint_auto REQUIRED)
# the following line skips the linter which checks for copyrights
# uncomment the line when a copyright and license is not present in all source files
#set(ament_cmake_copyright_FOUND TRUE)
# the following line skips cpplint (only works in a git repo)
# uncomment the line when this package is not in a git repo
#set(ament_cmake_cpplint_FOUND TRUE)
ament_lint_auto_find_test_dependencies()
endif()
ament_export_libraries(${PROJECT_NAME})
ament_export_include_directories(include)
ament_package()
// Copyright 2017 Open Source Robotics Foundation, Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
/* This header must be included by all rclcpp headers which declare symbols
* which are defined in the rclcpp library. When not building the rclcpp
* library, i.e. when using the headers in other package's code, the contents
* of this header change the visibility of certain symbols which the rclcpp
* library cannot have, but the consuming code must have inorder to link.
*/
#ifndef ROS2_CONTROL_DEMO_COMMUNICATION_HEADLESS__VISIBILITY_CONTROL_H_
#define ROS2_CONTROL_DEMO_COMMUNICATION_HEADLESS__VISIBILITY_CONTROL_H_
// This logic was borrowed (then namespaced) from the examples on the gcc wiki:
// https://gcc.gnu.org/wiki/Visibility
#if defined _WIN32 || defined __CYGWIN__
#ifdef __GNUC__
#define ROS2_CONTROL_DEMO_COMMUNICATION_HEADLESS_EXPORT __attribute__((dllexport))
#define ROS2_CONTROL_DEMO_COMMUNICATION_HEADLESS_IMPORT __attribute__((dllimport))
#else
#define ROS2_CONTROL_DEMO_COMMUNICATION_HEADLESS_EXPORT __declspec(dllexport)
#define ROS2_CONTROL_DEMO_COMMUNICATION_HEADLESS_IMPORT __declspec(dllimport)
#endif
#ifdef ROS2_CONTROL_DEMO_COMMUNICATION_HEADLESS_BUILDING_DLL
#define ROS2_CONTROL_DEMO_COMMUNICATION_HEADLESS_PUBLIC ROS2_CONTROL_DEMO_COMMUNICATION_HEADLESS_EXPORT
#else
#define ROS2_CONTROL_DEMO_COMMUNICATION_HEADLESS_PUBLIC ROS2_CONTROL_DEMO_COMMUNICATION_HEADLESS_IMPORT
#endif
#define ROS2_CONTROL_DEMO_COMMUNICATION_HEADLESS_PUBLIC_TYPE \
ROS2_CONTROL_DEMO_COMMUNICATION_HEADLESS_PUBLIC
#define ROS2_CONTROL_DEMO_COMMUNICATION_HEADLESS_LOCAL
#else
#define ROS2_CONTROL_DEMO_COMMUNICATION_HEADLESS_EXPORT \
__attribute__((visibility("default")))
#define ROS2_CONTROL_DEMO_COMMUNICATION_HEADLESS_IMPORT
#if __GNUC__ >= 4
#define ROS2_CONTROL_DEMO_COMMUNICATION_HEADLESS_PUBLIC \
__attribute__((visibility("default")))
#define ROS2_CONTROL_DEMO_COMMUNICATION_HEADLESS_LOCAL __attribute__((visibility("hidden")))
#else
#define ROS2_CONTROL_DEMO_COMMUNICATION_HEADLESS_PUBLIC
#define ROS2_CONTROL_DEMO_COMMUNICATION_HEADLESS_LOCAL
#endif
#define ROS2_CONTROL_DEMO_COMMUNICATION_HEADLESS_PUBLIC_TYPE
#endif
#endif // ROS2_CONTROL_DEMO_COMMUNICATION_HEADLESS__VISIBILITY_CONTROL_H_
<?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>ros2_control_demo_communication_headless</name>
<version>0.0.0</version>
<description>Demo package of ROS2 Control Demo communication interface. This interface is used as an example on how to define a communication interface for your robot. The package is used for `demo_robot` from package `ros2_control_demo_robot`.</description>
<author email="ostasse@laas.fr">Olivier Stasse</author>
<author email="denis@stogl.de">Denis Štogl</author>
<maintainer email="ostasse@laas.fr">Olivier Stasse</maintainer>
<maintainer email="denis@stogl.de">Denis Štogl</maintainer>
<license>Apache License 2.0</license>
<buildtool_depend>ament_cmake</buildtool_depend>
<test_depend>ament_lint_auto</test_depend>
<test_depend>ament_lint_common</test_depend>
<export>
<build_type>ament_cmake</build_type>
</export>
</package>
cmake_minimum_required(VERSION 3.5)
project(ros2_control_demo_hardware)
# Default to C99
if(NOT CMAKE_C_STANDARD)
set(CMAKE_C_STANDARD 99)
endif()
# 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")
add_compile_options(-Wall -Wextra -Wpedantic)
endif()
# find dependencies
find_package(ament_cmake REQUIRED)
# uncomment the following section in order to fill in
# further dependencies manually.
# find_package(<dependency> REQUIRED)
install(DIRECTORY include/
DESTINATION include)
if(BUILD_TESTING)
find_package(ament_lint_auto REQUIRED)
# the following line skips the linter which checks for copyrights
# uncomment the line when a copyright and license is not present in all source files
#set(ament_cmake_copyright_FOUND TRUE)
# the following line skips cpplint (only works in a git repo)
# uncomment the line when this package is not in a git repo
#set(ament_cmake_cpplint_FOUND TRUE)
ament_lint_auto_find_test_dependencies()
endif()
ament_export_libraries(${PROJECT_NAME})
ament_export_include_directories(include)
ament_package()
// Copyright 2017 Open Source Robotics Foundation, Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
/* This header must be included by all rclcpp headers which declare symbols
* which are defined in the rclcpp library. When not building the rclcpp
* library, i.e. when using the headers in other package's code, the contents
* of this header change the visibility of certain symbols which the rclcpp
* library cannot have, but the consuming code must have inorder to link.
*/
#ifndef ROS2_CONTROL_DEMO_HEADLESS__VISIBILITY_CONTROL_H_
#define ROS2_CONTROL_DEMO_HEADLESS__VISIBILITY_CONTROL_H_
// This logic was borrowed (then namespaced) from the examples on the gcc wiki:
// https://gcc.gnu.org/wiki/Visibility
#if defined _WIN32 || defined __CYGWIN__
#ifdef __GNUC__
#define ROS2_CONTROL_DEMO_HARDWARE_EXPORT __attribute__((dllexport))
#define ROS2_CONTROL_DEMO_HARDWARE_IMPORT __attribute__((dllimport))
#else
#define ROS2_CONTROL_DEMO_HARDWARE_EXPORT __declspec(dllexport)
#define ROS2_CONTROL_DEMO_HARDWARE_IMPORT __declspec(dllimport)
#endif
#ifdef ROS2_CONTROL_DEMO_HARDWARE_BUILDING_DLL
#define ROS2_CONTROL_DEMO_HARDWARE_PUBLIC ROS2_CONTROL_DEMO_HARDWARE_EXPORT
#else
#define ROS2_CONTROL_DEMO_HARDWARE_PUBLIC ROS2_CONTROL_DEMO_HARDWARE_IMPORT
#endif
#define ROS2_CONTROL_DEMO_HARDWARE_PUBLIC_TYPE \
ROS2_CONTROL_DEMO_HARDWARE_PUBLIC
#define ROS2_CONTROL_DEMO_HARDWARE_LOCAL
#else
#define ROS2_CONTROL_DEMO_HARDWARE_EXPORT \
__attribute__((visibility("default")))
#define ROS2_CONTROL_DEMO_HARDWARE_IMPORT
#if __GNUC__ >= 4
#define ROS2_CONTROL_DEMO_HARDWARE_PUBLIC \
__attribute__((visibility("default")))
#define ROS2_CONTROL_DEMO_HARDWARE_LOCAL __attribute__((visibility("hidden")))
#else
#define ROS2_CONTROL_DEMO_HARDWARE_PUBLIC
#define ROS2_CONTROL_DEMO_HARDWARE_LOCAL
#endif
#define ROS2_CONTROL_DEMO_HARDWARE_PUBLIC_TYPE
#endif
#endif // ROS2_CONTROL_DEMO_HARDWARE__VISIBILITY_CONTROL_H_
<?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>ros2_control_demo_hardware</name>
<version>0.0.0</version>
<description>Demo package of ROS2 Control Hardware. This package provides example on how to define hardware of your own robot for ROS2 control. The package is used with `demo_robot` from package `ros2_control_demo_robot`.</description>
<author email="ostasse@laas.fr">Olivier Stasse</author>
<author email="denis@stogl.de">Denis Štogl</author>
<maintainer email="ostasse@laas.fr">Olivier Stasse</maintainer>
<maintainer email="denis@stogl.de">Denis Štogl</maintainer>
<license>Apache License 2.0</license>
<buildtool_depend>ament_cmake</buildtool_depend>
<test_depend>ament_lint_auto</test_depend>
<test_depend>ament_lint_common</test_depend>
<export>
<build_type>ament_cmake</build_type>
</export>
</package>
cmake_minimum_required(VERSION 3.5)
project(ros2_control_demo_robot)
# Default to C99
if(NOT CMAKE_C_STANDARD)
set(CMAKE_C_STANDARD 99)
endif()
# 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")
add_compile_options(-Wall -Wextra -Wpedantic)
endif()
# find dependencies
find_package(ament_cmake REQUIRED)
# uncomment the following section in order to fill in
# further dependencies manually.
# find_package(<dependency> REQUIRED)
install(DIRECTORY config/ description/ launch/
DESTINATION share)
if(BUILD_TESTING)
find_package(ament_lint_auto REQUIRED)
# the following line skips the linter which checks for copyrights
# uncomment the line when a copyright and license is not present in all source files
#set(ament_cmake_copyright_FOUND TRUE)
# the following line skips cpplint (only works in a git repo)
# uncomment the line when this package is not in a git repo
#set(ament_cmake_cpplint_FOUND TRUE)
ament_lint_auto_find_test_dependencies()
endif()
ament_package()
from launch import LaunchDescription
from launch_ros.actions import Node
def generate_launch_description():
return LaunchDescription([
#Node(
#package='',
#node_namespace='',
#node_executable='',
#node_name=''
#)
])
from launch import LaunchDescription
from launch_ros.actions import Node
def generate_launch_description():
return LaunchDescription([
#Node(
#package='',
#node_namespace='',
#node_executable='',
#node_name=''
#)
])
<?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>ros2_control_demo_robot</name>
<version>0.0.0</version>
<description>Demo package of ROS2 Control Robot. This package provides config files and description interface is used with `demo_robot` from package `ros2_control_demo_robot`.</description>
<author email="ostasse@laas.fr">Olivier Stasse</author>
<author email="denis@stogl.de">Denis Štogl</author>
<maintainer email="ostasse@laas.fr">Olivier Stasse</maintainer>
<maintainer email="denis@stogl.de">Denis Štogl</maintainer>
<license>Apache License 2.0</license>
<buildtool_depend>ament_cmake</buildtool_depend>
<test_depend>ament_lint_auto</test_depend>
<test_depend>ament_lint_common</test_depend>
<export>
<build_type>ament_cmake</build_type>
</export>
</package>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment