text stringlengths 0 111 |
|---|
# |
# (C) Copyright 2012-2026 Johns Hopkins University (JHU), All Rights Reserved. |
# |
# --- begin cisst license - do not edit --- |
# |
# This software is provided "as is" under an open source license, with |
# no warranty. The complete license can be found in license.txt and |
# http://www.cisst.org/cisst/license.txt. |
# |
# --- end cisst license --- |
cmake_minimum_required (VERSION 3.16) |
project (sawControllersCore VERSION 2.4.0) |
find_package (cisst 1.5 REQUIRED COMPONENTS cisstCommon) |
cisst_cpack_settings ( |
VENDOR "JHU" |
MAINTAINER "anton.deguet@jhu.edu") |
add_subdirectory (components) |
set (sawControllers_DIR "${sawControllersCore_BINARY_DIR}/components") |
add_subdirectory (examples) |
include (CPack) |
cpack_add_component (sawControllers) |
cpack_add_component (sawControllers-Examples |
DEPENDS sawControllers sawControllers-Qt) |
# |
# (C) Copyright 2011-2026 Johns Hopkins University (JHU), All Rights Reserved. |
# |
# --- begin cisst license - do not edit --- |
# |
# This software is provided "as is" under an open source license, with |
# no warranty. The complete license can be found in license.txt and |
# http://www.cisst.org/cisst/license.txt. |
# |
# --- end cisst license --- |
cmake_minimum_required (VERSION 3.16) |
project (sawControllers VERSION 2.4.0) |
set (REQUIRED_CISST_LIBRARIES |
cisstCommon |
cisstVector |
cisstOSAbstraction |
cisstMultiTask |
cisstParameterTypes |
cisstRobot |
cisstNumerical) |
find_package (cisst 1.5 REQUIRED COMPONENTS ${REQUIRED_CISST_LIBRARIES}) |
# catkin/ROS paths |
cisst_set_output_path () |
# create/configure file for find_package (sawControllers) |
set (sawControllers_INCLUDE_DIR "${sawControllers_SOURCE_DIR}/include" |
"${sawControllers_BINARY_DIR}/include") |
set (sawControllers_HEADER_DIR "${sawControllers_SOURCE_DIR}/include/sawControllers") |
set (sawControllers_LIBRARY_DIR "${LIBRARY_OUTPUT_PATH}") |
set (sawControllers_LIBRARIES sawControllers) |
include_directories (BEFORE ${sawControllers_INCLUDE_DIR}) |
if (CISST_HAS_QT) |
add_subdirectory (code/Qt) |
set (sawControllers_LIBRARIES ${sawControllers_LIBRARIES} sawControllersQt) |
endif () |
cisst_add_config_files (sawControllers) |
# create data type using the data generator |
cisst_data_generator (sawControllers |
"${sawControllers_BINARY_DIR}/include" # where to save the file |
"sawControllers/" # sub directory for include |
code/mtsPIDConfiguration.cdg) |
set (HEADER_FILES |
${sawControllers_HEADER_DIR}/osaGravityCompensation.h |
${sawControllers_HEADER_DIR}/osaPDGC.h |
${sawControllers_HEADER_DIR}/osaPIDAntiWindup.h |
${sawControllers_HEADER_DIR}/osaCartesianImpedanceController.h |
${sawControllers_HEADER_DIR}/mtsController.h |
${sawControllers_HEADER_DIR}/mtsGravityCompensation.h |
${sawControllers_HEADER_DIR}/mtsPDGC.h |
${sawControllers_HEADER_DIR}/mtsPID.h) |
set (SOURCE_FILES |
code/osaGravityCompensation.cpp |
code/osaPDGC.cpp |
code/osaPIDAntiWindup.cpp |
code/osaCartesianImpedanceController.cpp |
code/mtsController.cpp |
code/mtsGravityCompensation.cpp |
code/mtsPDGC.cpp |
code/mtsPID.cpp) |
add_library (sawControllers ${HEADER_FILES} ${SOURCE_FILES} |
End of preview. Expand in Data Studio
README.md exists but content is empty.
- Downloads last month
- 43