-
Notifications
You must be signed in to change notification settings - Fork 196
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CartesianControl.h now using yarp::dev::ReturnValue
added device FakeCartesianControl added test fakeCartesianControl
- Loading branch information
Showing
12 changed files
with
1,017 additions
and
81 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
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 |
---|---|---|
@@ -0,0 +1,55 @@ | ||
# SPDX-FileCopyrightText: 2025-2025 Istituto Italiano di Tecnologia (IIT) | ||
# SPDX-License-Identifier: BSD-3-Clause | ||
|
||
if (YARP_COMPILE_ALL_FAKE_DEVICES) | ||
set(ENABLE_yarpmod_fakeCartesianControl ON CACHE BOOL "" FORCE) | ||
endif() | ||
|
||
yarp_prepare_plugin(fakeCartesianControl | ||
CATEGORY device | ||
TYPE FakeCartesianControl | ||
INCLUDE FakeCartesianControl.h | ||
GENERATE_PARSER | ||
) | ||
|
||
if(NOT SKIP_fakeCartesianControl) | ||
yarp_add_plugin(yarp_fakeCartesianControl) | ||
|
||
target_sources(yarp_fakeCartesianControl | ||
PRIVATE | ||
FakeCartesianControl.cpp | ||
FakeCartesianControl.h | ||
# FakeCartesianControl_ParamsParser.cpp | ||
# FakeCartesianControl_ParamsParser.h | ||
) | ||
|
||
target_link_libraries(yarp_fakeCartesianControl | ||
PRIVATE | ||
YARP::YARP_os | ||
YARP::YARP_sig | ||
YARP::YARP_dev | ||
) | ||
list(APPEND YARP_${YARP_PLUGIN_MASTER}_PRIVATE_DEPS | ||
YARP_os | ||
YARP_sig | ||
YARP_dev | ||
) | ||
|
||
yarp_install( | ||
TARGETS yarp_fakeCartesianControl | ||
EXPORT YARP_${YARP_PLUGIN_MASTER} | ||
COMPONENT ${YARP_PLUGIN_MASTER} | ||
LIBRARY DESTINATION ${YARP_DYNAMIC_PLUGINS_INSTALL_DIR} | ||
ARCHIVE DESTINATION ${YARP_STATIC_PLUGINS_INSTALL_DIR} | ||
YARP_INI DESTINATION ${YARP_PLUGIN_MANIFESTS_INSTALL_DIR} | ||
) | ||
|
||
set(YARP_${YARP_PLUGIN_MASTER}_PRIVATE_DEPS ${YARP_${YARP_PLUGIN_MASTER}_PRIVATE_DEPS} PARENT_SCOPE) | ||
|
||
set_property(TARGET yarp_fakeCartesianControl PROPERTY FOLDER "Plugins/Device/Fake") | ||
|
||
if(YARP_COMPILE_TESTS) | ||
add_subdirectory(tests) | ||
endif() | ||
|
||
endif() |
Oops, something went wrong.