-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Moved RTPS->NGSIv2 and NGSIv2->RTPS libraries to FIROS2.
Created example HelloWorld with communication with ROS2.
- Loading branch information
Luis Gasco
committed
Apr 10, 2018
1 parent
3ebd382
commit 3adc6ab
Showing
59 changed files
with
14,968 additions
and
15 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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,48 @@ | ||
[Buildset] | ||
BuildItems=@Variant(\x00\x00\x00\t\x00\x00\x00\x00\x01\x00\x00\x00\x0b\x00\x00\x00\x00\x01\x00\x00\x00\x14\x00T\x00I\x00S\x00_\x00N\x00G\x00S\x00I\x00v\x002) | ||
|
||
[CMake] | ||
Build Directory Count=1 | ||
Current Build Directory Index-Host System=0 | ||
|
||
[CMake][CMake Build Directory 0] | ||
Build Directory Path=/home/luisgp/git/eProsima/routing-service/examples/TIS_NGSIv2/build | ||
Build Type= | ||
CMake Binary=/usr/bin/cmake | ||
CMake Executable=/usr/bin/cmake | ||
Environment Profile= | ||
Extra Arguments= | ||
Install Directory=/usr/local | ||
Runtime=Host System | ||
|
||
[Launch] | ||
Launch Configurations=Launch Configuration 0 | ||
|
||
[Launch][Launch Configuration 0] | ||
Configured Launch Modes=execute | ||
Configured Launchers=nativeAppLauncher | ||
Name=TIS_NGSIv2 | ||
Type=Native Application | ||
|
||
[Launch][Launch Configuration 0][Data] | ||
Arguments=../config.xml | ||
Debugger Shell= | ||
Dependencies=@Variant(\x00\x00\x00\t\x00\x00\x00\x00\x00) | ||
Dependency Action=Nothing | ||
Display Demangle Names=true | ||
Display Static Members=false | ||
EnvironmentGroup= | ||
Executable=file:///home/luisgp/git/eProsima/routing-service/examples/TIS_NGSIv2/build/tis_ngsiv2 | ||
External Terminal=konsole --noclose --workdir %workdir -e %exe | ||
GDB Path= | ||
Project Target=TIS_NGSIv2,rebuild_cache | ||
Remote GDB Config Script= | ||
Remote GDB Run Script= | ||
Remote GDB Shell Script= | ||
Start With=ApplicationOutput | ||
Use External Terminal=false | ||
Working Directory=file:///home/luisgp/git/eProsima/routing-service/examples/TIS_NGSIv2/build/ | ||
isExecutable=true | ||
|
||
[Project] | ||
VersionControlSupport=kdevgit |
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,42 @@ | ||
project(TIS_NGSIv2) | ||
cmake_minimum_required(VERSION 2.9) | ||
|
||
include(CheckCXXCompilerFlag) | ||
if(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_COMPILER_IS_CLANG OR | ||
CMAKE_CXX_COMPILER_ID MATCHES "Clang") | ||
check_cxx_compiler_flag(--std=c++11 SUPPORTS_CXX11) | ||
if(SUPPORTS_CXX11) | ||
add_compile_options(--std=c++11) | ||
else() | ||
message(FATAL_ERROR "Compiler doesn't support C++11") | ||
endif() | ||
endif() | ||
|
||
find_package(fastcdr) | ||
find_package(fastrtps) | ||
|
||
add_definitions(-DEPROSIMA_USER_DLL_EXPORT -DBUILD_SHARED_LIBS) | ||
|
||
set(CMAKE_POSITION_INDEPENDENT_CODE ON) | ||
set(BUILD_SHARED_LIBS TRUE) | ||
|
||
file(GLOB USER_LIB_SOURCES_CXX "*.cxx") | ||
#file(GLOB USER_LIB_SOURCES_CPP "*.cpp") | ||
|
||
#add_executable(tis_ngsiv2 main.cpp) | ||
|
||
#add_library(RSManager ../../thirdparty/routing-service/src/RSManager.cpp | ||
# ../../src/NGSIv2/idl/JsonNGSIv2.cxx | ||
# ../../src/NGSIv2/idl/JsonNGSIv2PubSubTypes.cxx) | ||
|
||
#add_library(userlib SHARED ${USER_LIB_SOURCES_CXX} ${USER_LIB_SOURCES_CPP}) | ||
#add_library(userlib2 SHARED ${USER_LIB_SOURCES_CXX} ${USER_LIB_SOURCES_CPP}) | ||
add_library(userlib SHARED ${USER_LIB_SOURCES_CXX} userlib.cpp jsoncpp.cpp) | ||
add_library(userlib2 SHARED ${USER_LIB_SOURCES_CXX} userlib2.cpp jsoncpp.cpp) | ||
|
||
target_link_libraries(userlib fastrtps fastcdr ${CMAKE_DL_LIBS}) | ||
target_link_libraries(userlib2 fastrtps fastcdr ${CMAKE_DL_LIBS}) | ||
|
||
#target_link_libraries(RSManager rslib fastrtps fastcdr tinyxml2) | ||
|
||
#target_link_libraries(tis_ngsiv2 RSManager ${CMAKE_DL_LIBS} -L/usr/lib/x86_64-linux-gnu curl curlpp pthread ${Boost_LIBRARIES} boost_system) |
Oops, something went wrong.