-
Notifications
You must be signed in to change notification settings - Fork 523
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Port kinematics_base submodule moveit_core (#8)
* Port kinematics_base submodule moveit_core * kinematics_base, use spaces instead of tabs * Remove unnecessary cmake lines Addressed in the top level CMakeLists.txt * kinematics_base, remove redundancy in CMakeLists.txt * Undo documentation removal * Remove dead code * remove dead code in kinematics_base upon request * kinematics_base, apply clang-format * Use underscores for node names to increase readability Reviewed by @mlautman * Adapt logging Follows from #21 * Reverting change in CMakeLists.txt Keep PROPERTIES VERSION * Meet the LOGGER indications Follows from #8 (comment) taking into account that recommendations do currently fail to compile given the structure of RCLCPP macros * kinematics_base, clang format * Remove leftover in kinematics_base * Fix kinematics_base namespaces * Do not use auto Follows from review at #8 (comment) * Comply partially with review request #8 (review) * Simplify lookupParam() in KinematicsBase * Fix result param array access
- Loading branch information
1 parent
7bbbb4b
commit f5483c5
Showing
3 changed files
with
46 additions
and
60 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,19 @@ | ||
cmake_minimum_required(VERSION 3.5) | ||
set(MOVEIT_LIB_NAME moveit_kinematics_base) | ||
|
||
add_library(${MOVEIT_LIB_NAME} src/kinematics_base.cpp) | ||
set_target_properties(${MOVEIT_LIB_NAME} PROPERTIES VERSION "${${PROJECT_NAME}_VERSION}") | ||
|
||
# Avoid warnings about deprecated members of KinematicsBase when building KinematicsBase itself. | ||
# TODO: remove when deperecated variables (tip_frame_, search_discretization_) are finally removed. | ||
target_compile_options(${MOVEIT_LIB_NAME} PRIVATE -Wno-deprecated-declarations) | ||
# target_compile_options(${MOVEIT_LIB_NAME} PRIVATE -Wno-deprecated-declarations) | ||
|
||
# This line is needed to ensure that messages are done being built before this is built | ||
add_dependencies(${MOVEIT_LIB_NAME} ${catkin_EXPORTED_TARGETS}) | ||
|
||
target_link_libraries(${MOVEIT_LIB_NAME} ${catkin_LIBRARIES} ${urdfdom_LIBRARIES} ${urdfdom_headers_LIBRARIES} ${Boost_LIBRARIES}) | ||
ament_target_dependencies(${MOVEIT_LIB_NAME} urdf urdfdom_headers) | ||
|
||
install(TARGETS ${MOVEIT_LIB_NAME} | ||
LIBRARY DESTINATION ${CATKIN_PACKAGE_LIB_DESTINATION} | ||
ARCHIVE DESTINATION ${CATKIN_PACKAGE_LIB_DESTINATION}) | ||
LIBRARY DESTINATION lib | ||
ARCHIVE DESTINATION lib) | ||
|
||
install(DIRECTORY include/ DESTINATION ${CATKIN_GLOBAL_INCLUDE_DESTINATION}) | ||
install(DIRECTORY include/ | ||
DESTINATION include) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters