Add eProsima Fast DDS implementation#1
Open
zesk1999 wants to merge 2 commits into
Open
Conversation
c62ef00 to
b735f45
Compare
richiware
requested changes
May 20, 2026
| # Usage: | ||
| # make -f makefile_eprosima_fastdds_linux | ||
| # | ||
| # Requires Fast DDS Pro built in /home/zesk/promonitor-ws/install/ |
Member
There was a problem hiding this comment.
Remove this adhoc directory. Uses a environment variable named FASTDDSHOME.
The user has to install fastdds and dependencies in this directory, for example with command colcon build --merge-install --install-dir {directory}
b735f45 to
74192d6
Compare
74192d6 to
8ab4397
Compare
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR adds the eProsima Fast DDS implementation of the DDS-XTypes interoperability test suite, following the same structure as the existing RTI and CoreDX variants.
New files:
src/cxx/variant_eprosima_fastdds.h — Fast DDS vendor implementation. Loads types from IDL files at runtime using Fast DDS Dynamic Types API, reads sample data from JSON files, and handles type registration and data comparison. Includes a workaround for a Fast DDS behavior where type incompatibility between publisher and subscriber is sometimes not reported through any callback — in that case the test would silently time out. The workaround detects when a remote endpoint is discovered but no match occurs, and reports it as an inconsistent topic.
types/idl/try_construct.idl and types/idl/unions_bitmask.idl and types/idl/unions_key_discriminator.idl — These IDL files were missing from the repository. The corresponding XML type definitions existed under types/xml/ but the IDL equivalents were never created. Without them, the relevant tests fail immediately at type loading with no topic created.
data/json/union_bitmask.json — Missing data file for bitmask union tests
Modified files
types/idl/sequences.idl — Added typedef string<10> str10 and typedef string<20> str20 at the top of the module. The Fast DDS IDL parser cannot handle sequence<string<10>, 10> syntax directly (it gives "Empty operands stack while parsing string size"). Using a typedef is valid standard IDL and is parsed identically by all other vendors.
src/cxx/test_main.cxx — Added #elif defined(EPROSIMA_FAST_DDS) vendor block and Fast DDS-specific DomainParticipantListener callbacks. All additions are inside #if defined(EPROSIMA_FAST_DDS) guards and have no effect on RTI or CoreDX builds.