Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add impedance control method computed in local frame for c++, fix centroidal controller quaternion bug, and transform to ROS 2 package #29

Open
wants to merge 11 commits into
base: main
Choose a base branch
from
17 changes: 17 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ search_for_boost_python()
# Optionnal
find_package(dynamic-graph QUIET)
find_package(dynamic-graph-python QUIET)
find_package(ament_cmake QUIET)
swuuu marked this conversation as resolved.
Show resolved Hide resolved

set(build_dynamic_graph_plugins FALSE)
if(${dynamic-graph_FOUND} AND ${dynamic-graph-python_FOUND})
Expand Down Expand Up @@ -97,6 +98,14 @@ if(${build_dynamic_graph_plugins})
DESTINATION include)
endif()

#
# Allow other ROS packages to link to this package during compilation
#
if (ament_cmake_FOUND)
ament_export_targets(${PROJECT_NAME}Targets HAS_LIBRARY_TARGET)
ament_export_dependencies(yaml_utils)
endif()

#
# Install the package
#
Expand Down Expand Up @@ -154,3 +163,11 @@ add_documentation()
# create the cmake package
#
generate_cmake_package(INSTALL_EXPORT)

#
# Allow other ROS 2 packages to find the header files
#
if (ament_cmake_FOUND)
ament_export_include_directories(include)
ament_package()
endif()
Loading