-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #155 from robotology/vectors_collection
Implement vectors commection and use it for streaming netExternalWrenches
- Loading branch information
Showing
6 changed files
with
47 additions
and
15 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
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 |
---|---|---|
@@ -1,3 +1,4 @@ | ||
add_subdirectory(wholeBodyDynamicsSettings) | ||
add_subdirectory(wholeBodyDynamics_IDLServer) | ||
add_subdirectory(floatingBaseEstimatorRPC) | ||
add_subdirectory(VectorsCollection) |
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,31 @@ | ||
# Copyright (C) 2016 Istituto Italiano di Tecnologia iCub Facility | ||
# Authors: Silvio Traversaro | ||
# CopyPolicy: Released under the terms of the LGPLv2.1 or later, see LGPL.TXT | ||
|
||
cmake_minimum_required(VERSION 3.5) | ||
|
||
project(VectorsCollection) | ||
|
||
yarp_idl_to_dir(INPUT_FILES VectorsCollection.thrift | ||
OUTPUT_DIR ${CMAKE_CURRENT_BINARY_DIR}/autogenerated | ||
SOURCES_VAR WBDSETTINGS_SRC | ||
HEADERS_VAR WBDSETTINGS_HEADERS | ||
INCLUDE_DIRS_VAR WBDSETTINGS_INCLUDES) | ||
|
||
add_library(VectorsCollection STATIC ${WBDSETTINGS_SRC} ${WBDSETTINGS_HEADERS}) | ||
target_include_directories(VectorsCollection PUBLIC ${WBDSETTINGS_INCLUDES}) | ||
set_property(TARGET VectorsCollection PROPERTY POSITION_INDEPENDENT_CODE ON) | ||
target_link_libraries(VectorsCollection ${YARP_LIBRARIES}) | ||
|
||
target_include_directories(VectorsCollection PUBLIC | ||
"$<BUILD_INTERFACE:${WBDSETTINGS_INCLUDES}>" | ||
"$<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}/wholeBodyDynamics>") | ||
|
||
set_property(TARGET VectorsCollection PROPERTY PUBLIC_HEADER ${WBDSETTINGS_HEADERS}) | ||
|
||
install(TARGETS VectorsCollection | ||
RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}" COMPONENT bin | ||
LIBRARY DESTINATION "${CMAKE_INSTALL_LIBDIR}" COMPONENT shlib | ||
ARCHIVE DESTINATION "${CMAKE_INSTALL_LIBDIR}" COMPONENT lib | ||
PUBLIC_HEADER DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/wholeBodyDynamics) | ||
|
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,4 @@ | ||
struct VectorsCollection | ||
{ | ||
1: map<string, list<double>> vectors; | ||
} |