A GDExtension that integrates RTI Connext DDS into Godot 4, exposing DDS publish/subscribe to GDScript.
See godot-rticonnextdds-connector-demo for a working example.
| Class | Description |
|---|---|
DomainParticipant |
Creates and manages a DDS domain participant |
ShapeReader |
Subscribes to a DDS topic and reads ShapeType data |
Shape |
Represents a single DDS shape sample |
Currently implements the DDS Shapes Demo topic type.
- RTI Connext DDS Professional (with
NDDSHOMEset) - CMake ≥ 3.23
- Ninja
- Godot 4
cmake --preset linux-release # or windows-release / macOS-release
cmake --build ../build_RtiConnextDdsConnector_Linux-x86_64Copy the resulting .so / .dll / .dylib into your Godot project's extension folder.
The files ShapeType.cxx, ShapeType.hpp, ShapeTypePlugin.cxx, and ShapeTypePlugin.hpp are generated from ShapeType.idl using rtiddsgen, which is bundled with RTI Connext DDS. The pre-generated files are included for convenience, but if you want to adapt this connector for your own DDS types, regenerate them from your own IDL:
rtiddsgen -language C++11 YourType.idlThen replace the ShapeType source files and update ShapeReader to match your type.