RTI Connector for Connext DDS
Connector was created by the RTI Research Group to quickly and easily develop demos
and proofs of concept. It can be useful for anybody that needs
a quick way to develop an application communicating over the Connext DDS Databus.
Thanks to the binding with multiple programming languages, you can integrate
with many other available technologies.
The Connector library is provided in binary form for select architectures. Language bindings and examples are provided in source format.
Go Connector leverages cgo to call its C library;
this detail is hidden in a Go wrapper.
Be sure you have golang installed (we tested with golang v1.17).
$ go get github.com/rticommunity/rticonnextdds-connector-go
Please see examples for usage details.
To build your application statically, it requires RTI Connext DDS static libs (
libnddscz.a). They are located in
$ cp $NDDSHOME/lib/YOUR_ARCHITECTURE/libnddscorez.a ./static_lib/YOUR_ARCHITECTURE/ $ cp $NDDSHOME/lib/YOUR_ARCHITECTURE/libnddscz.a ./static_lib/YOUR_ARCHITECTURE/
Then, you can run
go build with
-tags static to build.
$ go build -tags static ./examples/simple/writer/writer.go
If you want to check the version of the libraries you can run the following command:
strings librtiddsconnector.so | grep BUILD
may be implemented in the future.
The best way to get started with Connector is to look at the
examples; you will see that it is very easy to use.
Please see the API documentaiton for more information.
Contributions to the code, examples, documentation are really appreciated. Please follow the steps below for contributions.
- Sign the CLA.
- Create a fork and make your changes.
- Run tests and linters (make test lint).
- Push your branch.
- Open a new pull request.