Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pro/dds-temperature
Code for testing code portability between different DDS implementations
https://github.com/pro/dds-temperature
Last synced: 2 days ago
JSON representation
Code for testing code portability between different DDS implementations
- Host: GitHub
- URL: https://github.com/pro/dds-temperature
- Owner: Pro
- Created: 2015-04-24T11:54:08.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-04-28T08:19:07.000Z (over 9 years ago)
- Last Synced: 2023-03-12T08:28:19.825Z (almost 2 years ago)
- Language: CMake
- Size: 152 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# dds-temperature
Code for testing code portability between different DDS implementations.The same C++ code compiles using either RTI Connext or PrismTech OpenSplice.
RTI's C++11 implementation is currently only available in the Early Access Release (contact support for that).The tutorial code is based on: https://github.com/PrismTech/dds-tutorial-cpp-ex
**License:**
This code isn't bound to any license and can be freely used ([Public domain](https://wiki.creativecommons.org/Public_domain))## How to build
First make sure your RTI Connext and PrismTech OpenSplice is setup correctly and the environment variables are set.
Then execute:
mkdir build
cd build
cmake ..
make## How to execute
The executable files will be generated within the build directory.
You will get the following files:build/connext/connext_temp_pub
build/connext/connext_temp_sub
build/connext/opensplice_temp_pub
build/connext/opensplice_temp_sub
First start both subscribers in two different terminals by executing `build/connext/opensplice_temp_sub` and `build/connext/connext_temp_sub`.Now you can start one of the publishers and check if both subscribers receive data. Use `build/connext/connext_temp_pub 42` or `build/connext/opensplice_temp_pub 42`.
The additional parameter (42) is just a number identifying the sensor. You can use any number here.