Skip to content

Repository files navigation

RTI Connext DDS Connector for Godot

A GDExtension that integrates RTI Connext DDS into Godot 4, exposing DDS publish/subscribe to GDScript.

Screenshot

See godot-rticonnextdds-connector-demo for a working example.

Exposed Classes

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.

Prerequisites

Build

cmake --preset linux-release   # or windows-release / macOS-release
cmake --build ../build_RtiConnextDdsConnector_Linux-x86_64

Copy the resulting .so / .dll / .dylib into your Godot project's extension folder.

Using Your Own IDL

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.idl

Then replace the ShapeType source files and update ShapeReader to match your type.

About

Godot 4 GDExtension for subscribing to RTI Connext DDS topics from GDScript

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Contributors

Languages