mirror of
https://github.com/bjoernellens1/cps_rmp220_support.git
synced 2025-01-18 15:46:59 +00:00
update: noetic
This commit is contained in:
parent
02f19593ef
commit
423cbc8666
105
CMakeLists.txt
105
CMakeLists.txt
@ -1,40 +1,73 @@
|
|||||||
cmake_minimum_required(VERSION 3.5)
|
################################################################################
|
||||||
|
# Set minimum required version of cmake, project name and compile options
|
||||||
|
################################################################################
|
||||||
|
cmake_minimum_required(VERSION 3.0.2)
|
||||||
project(cps_rmp220_support)
|
project(cps_rmp220_support)
|
||||||
|
|
||||||
# Default to C99
|
################################################################################
|
||||||
if(NOT CMAKE_C_STANDARD)
|
# Find catkin packages and libraries for catkin and system dependencies
|
||||||
set(CMAKE_C_STANDARD 99)
|
################################################################################
|
||||||
endif()
|
find_package(catkin REQUIRED COMPONENTS
|
||||||
|
urdf
|
||||||
# Default to C++14
|
xacro
|
||||||
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)
|
|
||||||
|
|
||||||
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()
|
|
||||||
|
|
||||||
install(
|
|
||||||
DIRECTORY config description launch worlds
|
|
||||||
DESTINATION share/${PROJECT_NAME}
|
|
||||||
)
|
)
|
||||||
|
|
||||||
ament_package()
|
################################################################################
|
||||||
|
# Setup for python modules and scripts
|
||||||
|
################################################################################
|
||||||
|
|
||||||
|
################################################################################
|
||||||
|
# Declare ROS messages, services and actions
|
||||||
|
################################################################################
|
||||||
|
|
||||||
|
################################################################################
|
||||||
|
# Declare ROS dynamic reconfigure parameters
|
||||||
|
################################################################################
|
||||||
|
|
||||||
|
################################################################################
|
||||||
|
# Declare catkin specific configuration to be passed to dependent projects
|
||||||
|
################################################################################
|
||||||
|
catkin_package(
|
||||||
|
CATKIN_DEPENDS urdf xacro
|
||||||
|
)
|
||||||
|
|
||||||
|
################################################################################
|
||||||
|
# Build
|
||||||
|
################################################################################
|
||||||
|
include_directories(
|
||||||
|
${catkin_INCLUDE_DIRS}
|
||||||
|
)
|
||||||
|
|
||||||
|
################################################################################
|
||||||
|
# Install
|
||||||
|
################################################################################
|
||||||
|
install(DIRECTORY meshes rviz urdf
|
||||||
|
DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}
|
||||||
|
)
|
||||||
|
|
||||||
|
# Install description files
|
||||||
|
install(DIRECTORY description
|
||||||
|
DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}
|
||||||
|
FILES_MATCHING PATTERN "*.xacro" PATTERN "*.stl"
|
||||||
|
)
|
||||||
|
|
||||||
|
# Install launch files
|
||||||
|
install(DIRECTORY launch
|
||||||
|
DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}
|
||||||
|
FILES_MATCHING PATTERN "*.launch.py"
|
||||||
|
)
|
||||||
|
|
||||||
|
# Install world files
|
||||||
|
install(DIRECTORY worlds
|
||||||
|
DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}
|
||||||
|
FILES_MATCHING PATTERN "*.world"
|
||||||
|
)
|
||||||
|
|
||||||
|
# Install miscellaneous files like README, LICENSE, etc.
|
||||||
|
install(FILES README.md LICENSE.md
|
||||||
|
DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}
|
||||||
|
)
|
||||||
|
|
||||||
|
################################################################################
|
||||||
|
# Test
|
||||||
|
################################################################################
|
20
package.xml
20
package.xml
@ -3,23 +3,13 @@
|
|||||||
<package format="3">
|
<package format="3">
|
||||||
<name>cps_rmp220_support</name>
|
<name>cps_rmp220_support</name>
|
||||||
<version>0.0.1</version>
|
<version>0.0.1</version>
|
||||||
<description>Segway RMP220 lite ackage for control, simulation and visualization</description>
|
<description>Segway RMP220 lite package for control, simulation and visualization</description>
|
||||||
<maintainer email="bjoern.ellensohn@stud.unileoben.ac.at">MY NAME</maintainer>
|
<maintainer email="bjoern.ellensohn@stud.unileoben.ac.at">Björn Ellensohn</maintainer>
|
||||||
<license>TODO: License declaration</license>
|
<license>TODO: License declaration</license>
|
||||||
|
|
||||||
<buildtool_depend>ament_cmake</buildtool_depend>
|
<buildtool_depend>catkin</buildtool_depend>
|
||||||
|
|
||||||
<exec_depend>joy</exec_depend>
|
<depend>urdf</depend>
|
||||||
<exec_depend>twist_mux</exec_depend>
|
<depend>xacro</depend>
|
||||||
<exec_depend>slam_toolbox</exec_depend>
|
|
||||||
<exec_depend>navigation2</exec_depend>
|
|
||||||
<exec_depend>nav2_bringup</exec_depend>
|
|
||||||
<exec_depend>teleop_twist_joy</exec_depend>
|
|
||||||
|
|
||||||
<test_depend>ament_lint_auto</test_depend>
|
|
||||||
<test_depend>ament_lint_common</test_depend>
|
|
||||||
|
|
||||||
<export>
|
|
||||||
<build_type>ament_cmake</build_type>
|
|
||||||
</export>
|
|
||||||
</package>
|
</package>
|
||||||
|
Loading…
Reference in New Issue
Block a user