commit
62d115914c
2
LICENSE
2
LICENSE
@ -186,7 +186,7 @@
|
||||
same "printed page" as the copyright notice for easier
|
||||
identification within third-party archives.
|
||||
|
||||
Copyright {yyyy} {name of copyright owner}
|
||||
Copyright 2023 Ronaldson Bellande
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
|
@ -14,6 +14,11 @@ the new commits and codes are under New License
|
||||
Latest versions and Maintainer is on organization https://github.com/Robotics-Sensors
|
||||
|
||||
|
||||
# USE CASE
|
||||
--------------------------------------------------------------------------------------------------------
|
||||
* Every repository within our organization is a valuable resource that can be utilized for educational purposes by individuals who actively contribute to the repository or choose to become sponsors of the organization. For those who wish to use our services conversationally, the acquisition of a license and subscription from our company website is mandatory. This ensures that the services are appropriately compensated for their use. Additionally, for the 90% of services designated as private, acquiring a license and subscription can be facilitated through our company website. We encourage interested parties to visit our website to explore and procure the necessary licenses and subscriptions for the diverse range of services and products we offer. Your support and commitment enable us to maintain and enhance the quality of our offerings, contributing to a thriving collaborative environment.
|
||||
--------------------------------------------------------------------------------------------------------
|
||||
|
||||
### Maintainer
|
||||
* Ronaldson Bellande
|
||||
|
||||
|
@ -1,32 +1,29 @@
|
||||
################################################################################
|
||||
# Set minimum required version of cmake, project name and compile options
|
||||
################################################################################
|
||||
cmake_minimum_required(VERSION 3.0.2)
|
||||
cmake_minimum_required(VERSION 3.8)
|
||||
project(humanoid_robot_ball_detector)
|
||||
|
||||
################################################################################
|
||||
# Find catkin packages and libraries for catkin and system dependencies
|
||||
################################################################################
|
||||
find_package(
|
||||
catkin REQUIRED COMPONENTS
|
||||
roscpp
|
||||
roslib
|
||||
std_msgs
|
||||
sensor_msgs
|
||||
geometry_msgs
|
||||
dynamic_reconfigure
|
||||
cv_bridge
|
||||
image_transport
|
||||
message_generation
|
||||
)
|
||||
|
||||
find_package(Boost REQUIRED COMPONENTS thread)
|
||||
find_package(OpenCV 4.2 REQUIRED)
|
||||
if($ENV{ROS_VERSION} EQUAL 1)
|
||||
find_package(
|
||||
catkin REQUIRED COMPONENTS
|
||||
roscpp
|
||||
roslib
|
||||
std_msgs
|
||||
sensor_msgs
|
||||
geometry_msgs
|
||||
dynamic_reconfigure
|
||||
cv_bridge
|
||||
image_transport
|
||||
message_generation
|
||||
)
|
||||
|
||||
find_package(Boost REQUIRED COMPONENTS thread)
|
||||
find_package(OpenCV 4.2 REQUIRED)
|
||||
find_package(PkgConfig REQUIRED)
|
||||
else()
|
||||
find_package(ament_cmake REQUIRED)
|
||||
endif()
|
||||
|
||||
|
||||
## Resolve system dependency on yaml-cpp, which apparently does not
|
||||
## provide a CMake find_package() module.
|
||||
## Insert your header file compatible specified path like '#include <yaml-cpp/yaml.h>'
|
||||
find_package(PkgConfig REQUIRED)
|
||||
pkg_check_modules(YAML_CPP REQUIRED yaml-cpp)
|
||||
find_path(
|
||||
YAML_CPP_INCLUDE_DIR
|
||||
@ -44,13 +41,6 @@ if(NOT ${YAML_CPP_VERSION} VERSION_LESS "0.5")
|
||||
add_definitions(-DHAVE_NEW_YAMLCPP)
|
||||
endif(NOT ${YAML_CPP_VERSION} VERSION_LESS "0.5")
|
||||
|
||||
################################################################################
|
||||
# Setup for python modules and scripts
|
||||
################################################################################
|
||||
|
||||
################################################################################
|
||||
# Declare ROS messages, services and actions
|
||||
################################################################################
|
||||
add_message_files(
|
||||
FILES
|
||||
CircleSetStamped.msg
|
||||
@ -69,32 +59,28 @@ generate_messages(
|
||||
geometry_msgs
|
||||
)
|
||||
|
||||
################################################################################
|
||||
# Declare ROS dynamic reconfigure parameters
|
||||
################################################################################
|
||||
generate_dynamic_reconfigure_options(cfg/DetectorParams.cfg)
|
||||
|
||||
################################################################################
|
||||
# Declare catkin specific configuration to be passed to dependent projects
|
||||
##################################################################################
|
||||
catkin_package(
|
||||
INCLUDE_DIRS include
|
||||
CATKIN_DEPENDS
|
||||
roscpp
|
||||
roslib
|
||||
std_msgs
|
||||
sensor_msgs
|
||||
geometry_msgs
|
||||
dynamic_reconfigure
|
||||
cv_bridge
|
||||
image_transport
|
||||
message_runtime
|
||||
DEPENDS Boost OpenCV
|
||||
)
|
||||
if($ENV{ROS_VERSION} EQUAL 1)
|
||||
catkin_package(
|
||||
INCLUDE_DIRS include
|
||||
CATKIN_DEPENDS
|
||||
roscpp
|
||||
roslib
|
||||
std_msgs
|
||||
sensor_msgs
|
||||
geometry_msgs
|
||||
dynamic_reconfigure
|
||||
cv_bridge
|
||||
image_transport
|
||||
message_runtime
|
||||
DEPENDS Boost OpenCV
|
||||
)
|
||||
else()
|
||||
ament_package()
|
||||
endif()
|
||||
|
||||
|
||||
################################################################################
|
||||
# Build
|
||||
################################################################################
|
||||
include_directories(
|
||||
include
|
||||
${catkin_INCLUDE_DIRS}
|
||||
@ -119,9 +105,6 @@ target_link_libraries(
|
||||
${YAML_CPP_LIBRARIES}
|
||||
)
|
||||
|
||||
################################################################################
|
||||
# Install
|
||||
################################################################################
|
||||
install(
|
||||
TARGETS ball_detector_node
|
||||
RUNTIME DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION}
|
||||
@ -136,7 +119,3 @@ install(
|
||||
DIRECTORY config launch rviz
|
||||
DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}
|
||||
)
|
||||
|
||||
################################################################################
|
||||
# Test
|
||||
################################################################################
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?xml version="1.0"?>
|
||||
<package format="2">
|
||||
<package format="3">
|
||||
<name>humanoid_robot_ball_detector</name>
|
||||
<version>0.1.0</version>
|
||||
<description>
|
||||
@ -10,57 +10,116 @@
|
||||
<license>Apache 2.0</license>
|
||||
<maintainer email="ronaldsonbellande@gmail.com">Ronaldson Bellande</maintainer>
|
||||
|
||||
<buildtool_depend>catkin</buildtool_depend>
|
||||
<buildtool_depend condition="$ROS_VERSION == 1">catkin</buildtool_depend>
|
||||
<buildtool_depend condition="$ROS_VERSION == 2">ament_cmake</buildtool_depend>
|
||||
|
||||
<build_depend>roscpp</build_depend>
|
||||
<build_depend>roslib</build_depend>
|
||||
<build_depend>std_msgs</build_depend>
|
||||
<build_depend>sensor_msgs</build_depend>
|
||||
<build_depend>geometry_msgs</build_depend>
|
||||
<build_depend>dynamic_reconfigure</build_depend>
|
||||
<build_depend>cv_bridge</build_depend>
|
||||
<build_depend>image_transport</build_depend>
|
||||
<build_depend>boost</build_depend>
|
||||
<build_depend>opencv3</build_depend>
|
||||
<build_depend>yaml-cpp</build_depend>
|
||||
<build_depend>message_generation</build_depend>
|
||||
<build_depend>message_runtime</build_depend>
|
||||
<build_depend>message_runtime</build_depend>
|
||||
<build_depend>usb_cam</build_depend>
|
||||
<build_depend>uvc_camera</build_depend>
|
||||
|
||||
<build_export_depend>roscpp</build_export_depend>
|
||||
<build_export_depend>roslib</build_export_depend>
|
||||
<build_export_depend>std_msgs</build_export_depend>
|
||||
<build_export_depend>sensor_msgs</build_export_depend>
|
||||
<build_export_depend>geometry_msgs</build_export_depend>
|
||||
<build_export_depend>dynamic_reconfigure</build_export_depend>
|
||||
<build_export_depend>cv_bridge</build_export_depend>
|
||||
<build_export_depend>image_transport</build_export_depend>
|
||||
<build_export_depend>boost</build_export_depend>
|
||||
<build_export_depend>opencv3</build_export_depend>
|
||||
<build_export_depend>yaml-cpp</build_export_depend>
|
||||
<build_export_depend>message_generation</build_export_depend>
|
||||
<build_export_depend>message_runtime</build_export_depend>
|
||||
<build_export_depend>message_runtime</build_export_depend>
|
||||
<build_export_depend>usb_cam</build_export_depend>
|
||||
<build_export_depend>uvc_camera</build_export_depend>
|
||||
<condition if="$ROS_VERSION == 1">
|
||||
<build_depend>roscpp</build_depend>
|
||||
<build_depend>roslib</build_depend>
|
||||
<build_depend>std_msgs</build_depend>
|
||||
<build_depend>sensor_msgs</build_depend>
|
||||
<build_depend>geometry_msgs</build_depend>
|
||||
<build_depend>dynamic_reconfigure</build_depend>
|
||||
<build_depend>cv_bridge</build_depend>
|
||||
<build_depend>image_transport</build_depend>
|
||||
<build_depend>boost</build_depend>
|
||||
<build_depend>opencv3</build_depend>
|
||||
<build_depend>yaml-cpp</build_depend>
|
||||
<build_depend>message_generation</build_depend>
|
||||
<build_depend>message_runtime</build_depend>
|
||||
<build_depend>message_runtime</build_depend>
|
||||
<build_depend>usb_cam</build_depend>
|
||||
<build_depend>uvc_camera</build_depend>
|
||||
|
||||
<build_export_depend>roscpp</build_export_depend>
|
||||
<build_export_depend>roslib</build_export_depend>
|
||||
<build_export_depend>std_msgs</build_export_depend>
|
||||
<build_export_depend>sensor_msgs</build_export_depend>
|
||||
<build_export_depend>geometry_msgs</build_export_depend>
|
||||
<build_export_depend>dynamic_reconfigure</build_export_depend>
|
||||
<build_export_depend>cv_bridge</build_export_depend>
|
||||
<build_export_depend>image_transport</build_export_depend>
|
||||
<build_export_depend>boost</build_export_depend>
|
||||
<build_export_depend>opencv3</build_export_depend>
|
||||
<build_export_depend>yaml-cpp</build_export_depend>
|
||||
<build_export_depend>message_generation</build_export_depend>
|
||||
<build_export_depend>message_runtime</build_export_depend>
|
||||
<build_export_depend>message_runtime</build_export_depend>
|
||||
<build_export_depend>usb_cam</build_export_depend>
|
||||
<build_export_depend>uvc_camera</build_export_depend>
|
||||
|
||||
<exec_depend>roscpp</exec_depend>
|
||||
<exec_depend>roslib</exec_depend>
|
||||
<exec_depend>std_msgs</exec_depend>
|
||||
<exec_depend>sensor_msgs</exec_depend>
|
||||
<exec_depend>geometry_msgs</exec_depend>
|
||||
<exec_depend>dynamic_reconfigure</exec_depend>
|
||||
<exec_depend>cv_bridge</exec_depend>
|
||||
<exec_depend>image_transport</exec_depend>
|
||||
<exec_depend>boost</exec_depend>
|
||||
<exec_depend>opencv3</exec_depend>
|
||||
<exec_depend>yaml-cpp</exec_depend>
|
||||
<exec_depend>message_generation</exec_depend>
|
||||
<exec_depend>message_runtime</exec_depend>
|
||||
<exec_depend>message_runtime</exec_depend>
|
||||
<exec_depend>usb_cam</exec_depend>
|
||||
<exec_depend>uvc_camera</exec_depend>
|
||||
</condition>
|
||||
|
||||
|
||||
<condition if="$ROS_VERSION == 2">
|
||||
<build_depend>roscpp</build_depend>
|
||||
<build_depend>roslib</build_depend>
|
||||
<build_depend>std_msgs</build_depend>
|
||||
<build_depend>sensor_msgs</build_depend>
|
||||
<build_depend>geometry_msgs</build_depend>
|
||||
<build_depend>dynamic_reconfigure</build_depend>
|
||||
<build_depend>cv_bridge</build_depend>
|
||||
<build_depend>image_transport</build_depend>
|
||||
<build_depend>boost</build_depend>
|
||||
<build_depend>opencv3</build_depend>
|
||||
<build_depend>yaml-cpp</build_depend>
|
||||
<build_depend>message_generation</build_depend>
|
||||
<build_depend>message_runtime</build_depend>
|
||||
<build_depend>message_runtime</build_depend>
|
||||
<build_depend>usb_cam</build_depend>
|
||||
<build_depend>uvc_camera</build_depend>
|
||||
|
||||
<build_export_depend>roscpp</build_export_depend>
|
||||
<build_export_depend>roslib</build_export_depend>
|
||||
<build_export_depend>std_msgs</build_export_depend>
|
||||
<build_export_depend>sensor_msgs</build_export_depend>
|
||||
<build_export_depend>geometry_msgs</build_export_depend>
|
||||
<build_export_depend>dynamic_reconfigure</build_export_depend>
|
||||
<build_export_depend>cv_bridge</build_export_depend>
|
||||
<build_export_depend>image_transport</build_export_depend>
|
||||
<build_export_depend>boost</build_export_depend>
|
||||
<build_export_depend>opencv3</build_export_depend>
|
||||
<build_export_depend>yaml-cpp</build_export_depend>
|
||||
<build_export_depend>message_generation</build_export_depend>
|
||||
<build_export_depend>message_runtime</build_export_depend>
|
||||
<build_export_depend>message_runtime</build_export_depend>
|
||||
<build_export_depend>usb_cam</build_export_depend>
|
||||
<build_export_depend>uvc_camera</build_export_depend>
|
||||
|
||||
<exec_depend>roscpp</exec_depend>
|
||||
<exec_depend>roslib</exec_depend>
|
||||
<exec_depend>std_msgs</exec_depend>
|
||||
<exec_depend>sensor_msgs</exec_depend>
|
||||
<exec_depend>geometry_msgs</exec_depend>
|
||||
<exec_depend>dynamic_reconfigure</exec_depend>
|
||||
<exec_depend>cv_bridge</exec_depend>
|
||||
<exec_depend>image_transport</exec_depend>
|
||||
<exec_depend>boost</exec_depend>
|
||||
<exec_depend>opencv3</exec_depend>
|
||||
<exec_depend>yaml-cpp</exec_depend>
|
||||
<exec_depend>message_generation</exec_depend>
|
||||
<exec_depend>message_runtime</exec_depend>
|
||||
<exec_depend>message_runtime</exec_depend>
|
||||
<exec_depend>usb_cam</exec_depend>
|
||||
<exec_depend>uvc_camera</exec_depend>
|
||||
</condition>
|
||||
|
||||
<exec_depend>roscpp</exec_depend>
|
||||
<exec_depend>roslib</exec_depend>
|
||||
<exec_depend>std_msgs</exec_depend>
|
||||
<exec_depend>sensor_msgs</exec_depend>
|
||||
<exec_depend>geometry_msgs</exec_depend>
|
||||
<exec_depend>dynamic_reconfigure</exec_depend>
|
||||
<exec_depend>cv_bridge</exec_depend>
|
||||
<exec_depend>image_transport</exec_depend>
|
||||
<exec_depend>boost</exec_depend>
|
||||
<exec_depend>opencv3</exec_depend>
|
||||
<exec_depend>yaml-cpp</exec_depend>
|
||||
<exec_depend>message_generation</exec_depend>
|
||||
<exec_depend>message_runtime</exec_depend>
|
||||
<exec_depend>message_runtime</exec_depend>
|
||||
<exec_depend>usb_cam</exec_depend>
|
||||
<exec_depend>uvc_camera</exec_depend>
|
||||
|
||||
</package>
|
||||
|
@ -1,43 +1,21 @@
|
||||
################################################################################
|
||||
# Set minimum required version of cmake, project name and compile options
|
||||
################################################################################
|
||||
cmake_minimum_required(VERSION 3.0.2)
|
||||
cmake_minimum_required(VERSION 3.8)
|
||||
project(humanoid_robot_bringup)
|
||||
|
||||
################################################################################
|
||||
# Find catkin packages and libraries for catkin and system dependencies
|
||||
################################################################################
|
||||
find_package(catkin REQUIRED)
|
||||
|
||||
################################################################################
|
||||
# Setup for python modules and scripts
|
||||
################################################################################
|
||||
if($ENV{ROS_VERSION} EQUAL 1)
|
||||
find_package(catkin REQUIRED)
|
||||
else()
|
||||
find_package(ament_cmake REQUIRED)
|
||||
endif()
|
||||
|
||||
################################################################################
|
||||
# Declare ROS messages, services and actions
|
||||
################################################################################
|
||||
|
||||
################################################################################
|
||||
# Declare ROS dynamic reconfigure parameters
|
||||
################################################################################
|
||||
if($ENV{ROS_VERSION} EQUAL 1)
|
||||
catkin_package()
|
||||
else()
|
||||
ament_package()
|
||||
endif()
|
||||
|
||||
################################################################################
|
||||
# Declare catkin specific configuration to be passed to dependent projects
|
||||
################################################################################
|
||||
catkin_package()
|
||||
|
||||
################################################################################
|
||||
# Build
|
||||
################################################################################
|
||||
|
||||
################################################################################
|
||||
# Install
|
||||
################################################################################
|
||||
install(
|
||||
DIRECTORY launch rviz
|
||||
DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}
|
||||
)
|
||||
|
||||
################################################################################
|
||||
# Test
|
||||
################################################################################
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?xml version="1.0"?>
|
||||
<package format="2">
|
||||
<package format="3">
|
||||
<name>humanoid_robot_bringup</name>
|
||||
<version>0.3.0</version>
|
||||
<description>
|
||||
@ -9,27 +9,56 @@
|
||||
<license>Apache 2.0</license>
|
||||
<maintainer email="ronaldsonbellande@gmail.com">Ronaldson Bellande</maintainer>
|
||||
|
||||
<buildtool_depend>catkin</buildtool_depend>
|
||||
<buildtool_depend condition="$ROS_VERSION == 1">catkin</buildtool_depend>
|
||||
<buildtool_depend condition="$ROS_VERSION == 2">ament_cmake</buildtool_depend>
|
||||
|
||||
<build_depend>humanoid_robot_manager</build_depend>
|
||||
<build_depend>humanoid_robot_description</build_depend>
|
||||
<build_depend>usb_cam</build_depend>
|
||||
<build_depend>joint_state_publisher</build_depend>
|
||||
<build_depend>robot_state_publisher</build_depend>
|
||||
<build_depend>rviz</build_depend>
|
||||
|
||||
<build_export_depend>humanoid_robot_manager</build_export_depend>
|
||||
<build_export_depend>humanoid_robot_description</build_export_depend>
|
||||
<build_export_depend>usb_cam</build_export_depend>
|
||||
<build_export_depend>joint_state_publisher</build_export_depend>
|
||||
<build_export_depend>robot_state_publisher</build_export_depend>
|
||||
<build_export_depend>rviz</build_export_depend>
|
||||
<condition if="$ROS_VERSION == 1">
|
||||
<build_depend>humanoid_robot_manager</build_depend>
|
||||
<build_depend>humanoid_robot_description</build_depend>
|
||||
<build_depend>usb_cam</build_depend>
|
||||
<build_depend>joint_state_publisher</build_depend>
|
||||
<build_depend>robot_state_publisher</build_depend>
|
||||
<build_depend>rviz</build_depend>
|
||||
|
||||
<build_export_depend>humanoid_robot_manager</build_export_depend>
|
||||
<build_export_depend>humanoid_robot_description</build_export_depend>
|
||||
<build_export_depend>usb_cam</build_export_depend>
|
||||
<build_export_depend>joint_state_publisher</build_export_depend>
|
||||
<build_export_depend>robot_state_publisher</build_export_depend>
|
||||
<build_export_depend>rviz</build_export_depend>
|
||||
|
||||
<exec_depend>humanoid_robot_manager</exec_depend>
|
||||
<exec_depend>humanoid_robot_description</exec_depend>
|
||||
<exec_depend>usb_cam</exec_depend>
|
||||
<exec_depend>joint_state_publisher</exec_depend>
|
||||
<exec_depend>robot_state_publisher</exec_depend>
|
||||
<exec_depend>rviz</exec_depend>
|
||||
</condition>
|
||||
|
||||
|
||||
<condition if="$ROS_VERSION == 2">
|
||||
<build_depend>humanoid_robot_manager</build_depend>
|
||||
<build_depend>humanoid_robot_description</build_depend>
|
||||
<build_depend>usb_cam</build_depend>
|
||||
<build_depend>joint_state_publisher</build_depend>
|
||||
<build_depend>robot_state_publisher</build_depend>
|
||||
<build_depend>rviz</build_depend>
|
||||
|
||||
<build_export_depend>humanoid_robot_manager</build_export_depend>
|
||||
<build_export_depend>humanoid_robot_description</build_export_depend>
|
||||
<build_export_depend>usb_cam</build_export_depend>
|
||||
<build_export_depend>joint_state_publisher</build_export_depend>
|
||||
<build_export_depend>robot_state_publisher</build_export_depend>
|
||||
<build_export_depend>rviz</build_export_depend>
|
||||
|
||||
<exec_depend>humanoid_robot_manager</exec_depend>
|
||||
<exec_depend>humanoid_robot_description</exec_depend>
|
||||
<exec_depend>usb_cam</exec_depend>
|
||||
<exec_depend>joint_state_publisher</exec_depend>
|
||||
<exec_depend>robot_state_publisher</exec_depend>
|
||||
<exec_depend>rviz</exec_depend>
|
||||
</condition>
|
||||
|
||||
<exec_depend>humanoid_robot_manager</exec_depend>
|
||||
<exec_depend>humanoid_robot_description</exec_depend>
|
||||
<exec_depend>usb_cam</exec_depend>
|
||||
<exec_depend>joint_state_publisher</exec_depend>
|
||||
<exec_depend>robot_state_publisher</exec_depend>
|
||||
<exec_depend>rviz</exec_depend>
|
||||
|
||||
</package>
|
||||
|
@ -1,33 +1,30 @@
|
||||
################################################################################
|
||||
# Set minimum required version of cmake, project name and compile options
|
||||
################################################################################
|
||||
cmake_minimum_required(VERSION 3.0.2)
|
||||
cmake_minimum_required(VERSION 3.8)
|
||||
project(humanoid_robot_demo)
|
||||
|
||||
################################################################################
|
||||
# Find catkin packages and libraries for catkin and system dependencies
|
||||
################################################################################
|
||||
find_package(
|
||||
catkin REQUIRED COMPONENTS
|
||||
roscpp
|
||||
roslib
|
||||
std_msgs
|
||||
sensor_msgs
|
||||
geometry_msgs
|
||||
humanoid_robot_controller_msgs
|
||||
humanoid_robot_walking_module_msgs
|
||||
humanoid_robot_action_module_msgs
|
||||
cmake_modules
|
||||
humanoid_robot_math
|
||||
humanoid_robot_ball_detector
|
||||
)
|
||||
|
||||
find_package(Boost REQUIRED COMPONENTS thread)
|
||||
find_package(Eigen3 REQUIRED)
|
||||
if($ENV{ROS_VERSION} EQUAL 1)
|
||||
find_package(
|
||||
catkin REQUIRED COMPONENTS
|
||||
roscpp
|
||||
roslib
|
||||
std_msgs
|
||||
sensor_msgs
|
||||
geometry_msgs
|
||||
humanoid_robot_controller_msgs
|
||||
humanoid_robot_walking_module_msgs
|
||||
humanoid_robot_action_module_msgs
|
||||
cmake_modules
|
||||
humanoid_robot_math
|
||||
humanoid_robot_ball_detector
|
||||
)
|
||||
|
||||
find_package(Boost REQUIRED COMPONENTS thread)
|
||||
find_package(Eigen3 REQUIRED)
|
||||
else()
|
||||
find_package(ament_cmake REQUIRED)
|
||||
endif()
|
||||
|
||||
|
||||
## Resolve system dependency on yaml-cpp, which apparently does not
|
||||
## provide a CMake find_package() module.
|
||||
## Insert your header file compatible specified path like '#include <yaml-cpp/yaml.h>'
|
||||
find_package(PkgConfig REQUIRED)
|
||||
pkg_check_modules(YAML_CPP REQUIRED yaml-cpp)
|
||||
find_path(
|
||||
@ -46,41 +43,29 @@ if(NOT ${YAML_CPP_VERSION} VERSION_LESS "0.5")
|
||||
add_definitions(-DHAVE_NEW_YAMLCPP)
|
||||
endif(NOT ${YAML_CPP_VERSION} VERSION_LESS "0.5")
|
||||
|
||||
################################################################################
|
||||
# Setup for python modules and scripts
|
||||
################################################################################
|
||||
|
||||
################################################################################
|
||||
# Declare ROS messages, services and actions
|
||||
################################################################################
|
||||
if($ENV{ROS_VERSION} EQUAL 1)
|
||||
catkin_package(
|
||||
INCLUDE_DIRS include
|
||||
CATKIN_DEPENDS
|
||||
roscpp
|
||||
roslib
|
||||
std_msgs
|
||||
sensor_msgs
|
||||
geometry_msgs
|
||||
humanoid_robot_controller_msgs
|
||||
humanoid_robot_walking_module_msgs
|
||||
humanoid_robot_action_module_msgs
|
||||
cmake_modules
|
||||
humanoid_robot_math
|
||||
humanoid_robot_ball_detector
|
||||
DEPENDS Boost EIGEN3
|
||||
)
|
||||
else()
|
||||
ament_package()
|
||||
endif()
|
||||
|
||||
################################################################################
|
||||
# Declare ROS dynamic reconfigure parameters
|
||||
################################################################################
|
||||
|
||||
################################################################################
|
||||
# Declare catkin specific configuration to be passed to dependent projects
|
||||
################################################################################
|
||||
catkin_package(
|
||||
INCLUDE_DIRS include
|
||||
CATKIN_DEPENDS
|
||||
roscpp
|
||||
roslib
|
||||
std_msgs
|
||||
sensor_msgs
|
||||
geometry_msgs
|
||||
humanoid_robot_controller_msgs
|
||||
humanoid_robot_walking_module_msgs
|
||||
humanoid_robot_action_module_msgs
|
||||
cmake_modules
|
||||
humanoid_robot_math
|
||||
humanoid_robot_ball_detector
|
||||
DEPENDS Boost EIGEN3
|
||||
)
|
||||
|
||||
################################################################################
|
||||
# Build
|
||||
################################################################################
|
||||
include_directories(
|
||||
include
|
||||
${catkin_INCLUDE_DIRS}
|
||||
@ -141,9 +126,6 @@ target_link_libraries(
|
||||
${YAML_CPP_LIBRARIES}
|
||||
)
|
||||
|
||||
################################################################################
|
||||
# Install
|
||||
################################################################################
|
||||
install(
|
||||
TARGETS op_demo_node self_test_node
|
||||
RUNTIME DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION}
|
||||
@ -158,7 +140,3 @@ install(
|
||||
DIRECTORY data launch list
|
||||
DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}
|
||||
)
|
||||
|
||||
################################################################################
|
||||
# Test
|
||||
################################################################################
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?xml version="1.0"?>
|
||||
<package format="2">
|
||||
<package format="3">
|
||||
<name>humanoid_robot_demo</name>
|
||||
<version>0.3.0</version>
|
||||
<description>
|
||||
@ -9,66 +9,133 @@
|
||||
<license>Apache 2.0</license>
|
||||
<maintainer email="ronaldsonbellande@gmail.com">Ronaldson Bellande</maintainer>
|
||||
|
||||
<buildtool_depend>catkin</buildtool_depend>
|
||||
<buildtool_depend condition="$ROS_VERSION == 1">catkin</buildtool_depend>
|
||||
<buildtool_depend condition="$ROS_VERSION == 2">ament_cmake</buildtool_depend>
|
||||
|
||||
<build_depend>roscpp</build_depend>
|
||||
<build_depend>roslib</build_depend>
|
||||
<build_depend>std_msgs</build_depend>
|
||||
<build_depend>sensor_msgs</build_depend>
|
||||
<build_depend>geometry_msgs</build_depend>
|
||||
<build_depend>humanoid_robot_controller_msgs</build_depend>
|
||||
<build_depend>humanoid_robot_walking_module_msgs</build_depend>
|
||||
<build_depend>humanoid_robot_action_module_msgs</build_depend>
|
||||
<build_depend>cmake_modules</build_depend>
|
||||
<build_depend>humanoid_robot_math</build_depend>
|
||||
<build_depend>humanoid_robot_ball_detector</build_depend>
|
||||
<build_depend>boost</build_depend>
|
||||
<build_depend>eigen</build_depend>
|
||||
<build_depend>yaml-cpp</build_depend>
|
||||
<build_depend>humanoid_robot_manager</build_depend>
|
||||
<build_depend>humanoid_robot_camera_setting_tool</build_depend>
|
||||
<build_depend>humanoid_robot_web_setting_tool</build_depend>
|
||||
<build_depend>ros_madplay_player</build_depend>
|
||||
<build_depend>face_detection</build_depend>
|
||||
|
||||
<build_export_depend>roscpp</build_export_depend>
|
||||
<build_export_depend>roslib</build_export_depend>
|
||||
<build_export_depend>std_msgs</build_export_depend>
|
||||
<build_export_depend>sensor_msgs</build_export_depend>
|
||||
<build_export_depend>geometry_msgs</build_export_depend>
|
||||
<build_export_depend>humanoid_robot_controller_msgs</build_export_depend>
|
||||
<build_export_depend>humanoid_robot_walking_module_msgs</build_export_depend>
|
||||
<build_export_depend>humanoid_robot_action_module_msgs</build_export_depend>
|
||||
<build_export_depend>cmake_modules</build_export_depend>
|
||||
<build_export_depend>humanoid_robot_math</build_export_depend>
|
||||
<build_export_depend>humanoid_robot_ball_detector</build_export_depend>
|
||||
<build_export_depend>boost</build_export_depend>
|
||||
<build_export_depend>eigen</build_export_depend>
|
||||
<build_export_depend>yaml-cpp</build_export_depend>
|
||||
<build_export_depend>humanoid_robot_manager</build_export_depend>
|
||||
<build_export_depend>humanoid_robot_camera_setting_tool</build_export_depend>
|
||||
<build_export_depend>humanoid_robot_web_setting_tool</build_export_depend>
|
||||
<build_export_depend>ros_madplay_player</build_export_depend>
|
||||
<build_export_depend>face_detection</build_export_depend>
|
||||
<condition if="$ROS_VERSION == 1">
|
||||
<build_depend>roscpp</build_depend>
|
||||
<build_depend>roslib</build_depend>
|
||||
<build_depend>std_msgs</build_depend>
|
||||
<build_depend>sensor_msgs</build_depend>
|
||||
<build_depend>geometry_msgs</build_depend>
|
||||
<build_depend>humanoid_robot_controller_msgs</build_depend>
|
||||
<build_depend>humanoid_robot_walking_module_msgs</build_depend>
|
||||
<build_depend>humanoid_robot_action_module_msgs</build_depend>
|
||||
<build_depend>cmake_modules</build_depend>
|
||||
<build_depend>humanoid_robot_math</build_depend>
|
||||
<build_depend>humanoid_robot_ball_detector</build_depend>
|
||||
<build_depend>boost</build_depend>
|
||||
<build_depend>eigen</build_depend>
|
||||
<build_depend>yaml-cpp</build_depend>
|
||||
<build_depend>humanoid_robot_manager</build_depend>
|
||||
<build_depend>humanoid_robot_camera_setting_tool</build_depend>
|
||||
<build_depend>humanoid_robot_web_setting_tool</build_depend>
|
||||
<build_depend>ros_madplay_player</build_depend>
|
||||
<build_depend>face_detection</build_depend>
|
||||
|
||||
<exec_depend>roscpp</exec_depend>
|
||||
<exec_depend>roslib</exec_depend>
|
||||
<exec_depend>std_msgs</exec_depend>
|
||||
<exec_depend>sensor_msgs</exec_depend>
|
||||
<exec_depend>geometry_msgs</exec_depend>
|
||||
<exec_depend>humanoid_robot_controller_msgs</exec_depend>
|
||||
<exec_depend>humanoid_robot_walking_module_msgs</exec_depend>
|
||||
<exec_depend>humanoid_robot_action_module_msgs</exec_depend>
|
||||
<exec_depend>cmake_modules</exec_depend>
|
||||
<exec_depend>humanoid_robot_math</exec_depend>
|
||||
<exec_depend>humanoid_robot_ball_detector</exec_depend>
|
||||
<exec_depend>boost</exec_depend>
|
||||
<exec_depend>eigen</exec_depend>
|
||||
<exec_depend>yaml-cpp</exec_depend>
|
||||
<exec_depend>humanoid_robot_manager</exec_depend>
|
||||
<exec_depend>humanoid_robot_camera_setting_tool</exec_depend>
|
||||
<exec_depend>humanoid_robot_web_setting_tool</exec_depend>
|
||||
<exec_depend>ros_madplay_player</exec_depend>
|
||||
<exec_depend>face_detection</exec_depend>
|
||||
<build_export_depend>roscpp</build_export_depend>
|
||||
<build_export_depend>roslib</build_export_depend>
|
||||
<build_export_depend>std_msgs</build_export_depend>
|
||||
<build_export_depend>sensor_msgs</build_export_depend>
|
||||
<build_export_depend>geometry_msgs</build_export_depend>
|
||||
<build_export_depend>humanoid_robot_controller_msgs</build_export_depend>
|
||||
<build_export_depend>humanoid_robot_walking_module_msgs</build_export_depend>
|
||||
<build_export_depend>humanoid_robot_action_module_msgs</build_export_depend>
|
||||
<build_export_depend>cmake_modules</build_export_depend>
|
||||
<build_export_depend>humanoid_robot_math</build_export_depend>
|
||||
<build_export_depend>humanoid_robot_ball_detector</build_export_depend>
|
||||
<build_export_depend>boost</build_export_depend>
|
||||
<build_export_depend>eigen</build_export_depend>
|
||||
<build_export_depend>yaml-cpp</build_export_depend>
|
||||
<build_export_depend>humanoid_robot_manager</build_export_depend>
|
||||
<build_export_depend>humanoid_robot_camera_setting_tool</build_export_depend>
|
||||
<build_export_depend>humanoid_robot_web_setting_tool</build_export_depend>
|
||||
<build_export_depend>ros_madplay_player</build_export_depend>
|
||||
<build_export_depend>face_detection</build_export_depend>
|
||||
|
||||
<exec_depend>roscpp</exec_depend>
|
||||
<exec_depend>roslib</exec_depend>
|
||||
<exec_depend>std_msgs</exec_depend>
|
||||
<exec_depend>sensor_msgs</exec_depend>
|
||||
<exec_depend>geometry_msgs</exec_depend>
|
||||
<exec_depend>humanoid_robot_controller_msgs</exec_depend>
|
||||
<exec_depend>humanoid_robot_walking_module_msgs</exec_depend>
|
||||
<exec_depend>humanoid_robot_action_module_msgs</exec_depend>
|
||||
<exec_depend>cmake_modules</exec_depend>
|
||||
<exec_depend>humanoid_robot_math</exec_depend>
|
||||
<exec_depend>humanoid_robot_ball_detector</exec_depend>
|
||||
<exec_depend>boost</exec_depend>
|
||||
<exec_depend>eigen</exec_depend>
|
||||
<exec_depend>yaml-cpp</exec_depend>
|
||||
<exec_depend>humanoid_robot_manager</exec_depend>
|
||||
<exec_depend>humanoid_robot_camera_setting_tool</exec_depend>
|
||||
<exec_depend>humanoid_robot_web_setting_tool</exec_depend>
|
||||
<exec_depend>ros_madplay_player</exec_depend>
|
||||
<exec_depend>face_detection</exec_depend>
|
||||
</condition>
|
||||
|
||||
|
||||
<condition if="$ROS_VERSION == 2">
|
||||
<build_depend>roscpp</build_depend>
|
||||
<build_depend>roslib</build_depend>
|
||||
<build_depend>std_msgs</build_depend>
|
||||
<build_depend>sensor_msgs</build_depend>
|
||||
<build_depend>geometry_msgs</build_depend>
|
||||
<build_depend>humanoid_robot_controller_msgs</build_depend>
|
||||
<build_depend>humanoid_robot_walking_module_msgs</build_depend>
|
||||
<build_depend>humanoid_robot_action_module_msgs</build_depend>
|
||||
<build_depend>cmake_modules</build_depend>
|
||||
<build_depend>humanoid_robot_math</build_depend>
|
||||
<build_depend>humanoid_robot_ball_detector</build_depend>
|
||||
<build_depend>boost</build_depend>
|
||||
<build_depend>eigen</build_depend>
|
||||
<build_depend>yaml-cpp</build_depend>
|
||||
<build_depend>humanoid_robot_manager</build_depend>
|
||||
<build_depend>humanoid_robot_camera_setting_tool</build_depend>
|
||||
<build_depend>humanoid_robot_web_setting_tool</build_depend>
|
||||
<build_depend>ros_madplay_player</build_depend>
|
||||
<build_depend>face_detection</build_depend>
|
||||
|
||||
<build_export_depend>roscpp</build_export_depend>
|
||||
<build_export_depend>roslib</build_export_depend>
|
||||
<build_export_depend>std_msgs</build_export_depend>
|
||||
<build_export_depend>sensor_msgs</build_export_depend>
|
||||
<build_export_depend>geometry_msgs</build_export_depend>
|
||||
<build_export_depend>humanoid_robot_controller_msgs</build_export_depend>
|
||||
<build_export_depend>humanoid_robot_walking_module_msgs</build_export_depend>
|
||||
<build_export_depend>humanoid_robot_action_module_msgs</build_export_depend>
|
||||
<build_export_depend>cmake_modules</build_export_depend>
|
||||
<build_export_depend>humanoid_robot_math</build_export_depend>
|
||||
<build_export_depend>humanoid_robot_ball_detector</build_export_depend>
|
||||
<build_export_depend>boost</build_export_depend>
|
||||
<build_export_depend>eigen</build_export_depend>
|
||||
<build_export_depend>yaml-cpp</build_export_depend>
|
||||
<build_export_depend>humanoid_robot_manager</build_export_depend>
|
||||
<build_export_depend>humanoid_robot_camera_setting_tool</build_export_depend>
|
||||
<build_export_depend>humanoid_robot_web_setting_tool</build_export_depend>
|
||||
<build_export_depend>ros_madplay_player</build_export_depend>
|
||||
<build_export_depend>face_detection</build_export_depend>
|
||||
|
||||
<exec_depend>roscpp</exec_depend>
|
||||
<exec_depend>roslib</exec_depend>
|
||||
<exec_depend>std_msgs</exec_depend>
|
||||
<exec_depend>sensor_msgs</exec_depend>
|
||||
<exec_depend>geometry_msgs</exec_depend>
|
||||
<exec_depend>humanoid_robot_controller_msgs</exec_depend>
|
||||
<exec_depend>humanoid_robot_walking_module_msgs</exec_depend>
|
||||
<exec_depend>humanoid_robot_action_module_msgs</exec_depend>
|
||||
<exec_depend>cmake_modules</exec_depend>
|
||||
<exec_depend>humanoid_robot_math</exec_depend>
|
||||
<exec_depend>humanoid_robot_ball_detector</exec_depend>
|
||||
<exec_depend>boost</exec_depend>
|
||||
<exec_depend>eigen</exec_depend>
|
||||
<exec_depend>yaml-cpp</exec_depend>
|
||||
<exec_depend>humanoid_robot_manager</exec_depend>
|
||||
<exec_depend>humanoid_robot_camera_setting_tool</exec_depend>
|
||||
<exec_depend>humanoid_robot_web_setting_tool</exec_depend>
|
||||
<exec_depend>ros_madplay_player</exec_depend>
|
||||
<exec_depend>face_detection</exec_depend>
|
||||
</condition>
|
||||
|
||||
</package>
|
||||
|
@ -1,48 +1,35 @@
|
||||
################################################################################
|
||||
# Set minimum required version of cmake, project name and compile options
|
||||
################################################################################
|
||||
cmake_minimum_required(VERSION 3.0.2)
|
||||
cmake_minimum_required(VERSION 3.8)
|
||||
project(humanoid_robot_read_write_demo)
|
||||
|
||||
################################################################################
|
||||
# Find catkin packages and libraries for catkin and system dependencies
|
||||
################################################################################
|
||||
find_package(
|
||||
catkin REQUIRED COMPONENTS
|
||||
humanoid_robot_controller_msgs
|
||||
roscpp
|
||||
sensor_msgs
|
||||
std_msgs
|
||||
)
|
||||
|
||||
################################################################################
|
||||
# Setup for python modules and scripts
|
||||
################################################################################
|
||||
if($ENV{ROS_VERSION} EQUAL 1)
|
||||
find_package(
|
||||
catkin REQUIRED COMPONENTS
|
||||
humanoid_robot_controller_msgs
|
||||
roscpp
|
||||
sensor_msgs
|
||||
std_msgs
|
||||
)
|
||||
else()
|
||||
find_package(ament_cmake REQUIRED)
|
||||
endif()
|
||||
|
||||
################################################################################
|
||||
# Declare ROS messages, services and actions
|
||||
################################################################################
|
||||
|
||||
################################################################################
|
||||
# Declare ROS dynamic reconfigure parameters
|
||||
################################################################################
|
||||
if($ENV{ROS_VERSION} EQUAL 1)
|
||||
catkin_package(
|
||||
INCLUDE_DIRS
|
||||
CATKIN_DEPENDS
|
||||
roscpp
|
||||
humanoid_robot_controller_msgs
|
||||
roscpp
|
||||
sensor_msgs
|
||||
std_msgs
|
||||
)
|
||||
else()
|
||||
ament_package()
|
||||
endif()
|
||||
|
||||
################################################################################
|
||||
# Declare catkin specific configuration to be passed to dependent projects
|
||||
################################################################################
|
||||
catkin_package(
|
||||
INCLUDE_DIRS
|
||||
CATKIN_DEPENDS
|
||||
roscpp
|
||||
humanoid_robot_controller_msgs
|
||||
roscpp
|
||||
sensor_msgs
|
||||
std_msgs
|
||||
)
|
||||
|
||||
################################################################################
|
||||
# Build
|
||||
################################################################################
|
||||
include_directories(${catkin_INCLUDE_DIRS})
|
||||
|
||||
add_executable(
|
||||
@ -61,9 +48,6 @@ target_link_libraries(
|
||||
${catkin_LIBRARIES}
|
||||
)
|
||||
|
||||
################################################################################
|
||||
# Install
|
||||
################################################################################
|
||||
install(
|
||||
TARGETS read_write
|
||||
RUNTIME DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION}
|
||||
@ -73,7 +57,3 @@ install(
|
||||
DIRECTORY launch
|
||||
DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}
|
||||
)
|
||||
|
||||
################################################################################
|
||||
# Test
|
||||
################################################################################
|
||||
|
@ -1,31 +1,57 @@
|
||||
<?xml version="1.0"?>
|
||||
<package format="2">
|
||||
<package format="3">
|
||||
<name>humanoid_robot_read_write_demo</name>
|
||||
<version>0.3.0</version>
|
||||
<description>
|
||||
The humanoid_robot_read_write_demo package
|
||||
</description>
|
||||
<license>Apache 2.0</license>
|
||||
<maintainer email="pyo@humanoid_robot.com">Ronaldson Bellande</maintainer>
|
||||
<maintainer email="ronaldsonbellande@gmail.com">Ronaldson Bellande</maintainer>
|
||||
|
||||
<buildtool_depend>catkin</buildtool_depend>
|
||||
<buildtool_depend condition="$ROS_VERSION == 1">catkin</buildtool_depend>
|
||||
<buildtool_depend condition="$ROS_VERSION == 2">ament_cmake</buildtool_depend>
|
||||
|
||||
<build_depend>roscpp</build_depend>
|
||||
<build_depend>std_msgs</build_depend>
|
||||
<build_depend>sensor_msgs</build_depend>
|
||||
<build_depend>humanoid_robot_controller_msgs</build_depend>
|
||||
<build_depend>humanoid_robot_manager</build_depend>
|
||||
|
||||
<build_export_depend>roscpp</build_export_depend>
|
||||
<build_export_depend>std_msgs</build_export_depend>
|
||||
<build_export_depend>sensor_msgs</build_export_depend>
|
||||
<build_export_depend>humanoid_robot_controller_msgs</build_export_depend>
|
||||
<build_export_depend>humanoid_robot_manager</build_export_depend>
|
||||
<condition if="$ROS_VERSION == 1">
|
||||
<build_depend>roscpp</build_depend>
|
||||
<build_depend>std_msgs</build_depend>
|
||||
<build_depend>sensor_msgs</build_depend>
|
||||
<build_depend>humanoid_robot_controller_msgs</build_depend>
|
||||
<build_depend>humanoid_robot_manager</build_depend>
|
||||
|
||||
<build_export_depend>roscpp</build_export_depend>
|
||||
<build_export_depend>std_msgs</build_export_depend>
|
||||
<build_export_depend>sensor_msgs</build_export_depend>
|
||||
<build_export_depend>humanoid_robot_controller_msgs</build_export_depend>
|
||||
<build_export_depend>humanoid_robot_manager</build_export_depend>
|
||||
|
||||
<exec_depend>roscpp</exec_depend>
|
||||
<exec_depend>std_msgs</exec_depend>
|
||||
<exec_depend>sensor_msgs</exec_depend>
|
||||
<exec_depend>humanoid_robot_controller_msgs</exec_depend>
|
||||
<exec_depend>humanoid_robot_manager</exec_depend>
|
||||
</condition>
|
||||
|
||||
|
||||
<condition if="$ROS_VERSION == 2">
|
||||
<build_depend>roscpp</build_depend>
|
||||
<build_depend>std_msgs</build_depend>
|
||||
<build_depend>sensor_msgs</build_depend>
|
||||
<build_depend>humanoid_robot_controller_msgs</build_depend>
|
||||
<build_depend>humanoid_robot_manager</build_depend>
|
||||
|
||||
<build_export_depend>roscpp</build_export_depend>
|
||||
<build_export_depend>std_msgs</build_export_depend>
|
||||
<build_export_depend>sensor_msgs</build_export_depend>
|
||||
<build_export_depend>humanoid_robot_controller_msgs</build_export_depend>
|
||||
<build_export_depend>humanoid_robot_manager</build_export_depend>
|
||||
|
||||
<exec_depend>roscpp</exec_depend>
|
||||
<exec_depend>std_msgs</exec_depend>
|
||||
<exec_depend>sensor_msgs</exec_depend>
|
||||
<exec_depend>humanoid_robot_controller_msgs</exec_depend>
|
||||
<exec_depend>humanoid_robot_manager</exec_depend>
|
||||
</condition>
|
||||
|
||||
<exec_depend>roscpp</exec_depend>
|
||||
<exec_depend>std_msgs</exec_depend>
|
||||
<exec_depend>sensor_msgs</exec_depend>
|
||||
<exec_depend>humanoid_robot_controller_msgs</exec_depend>
|
||||
<exec_depend>humanoid_robot_manager</exec_depend>
|
||||
|
||||
</package>
|
||||
|
Loading…
Reference in New Issue
Block a user