Skip to content

rticommunity/connext-rust-simple-binding

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Connext from Rust

This project demonstrates how to use Connext from Rust on a Linux x64 system.

Overview

This project is a simple example to get you started with Connext and Rust.

It includes a basic setup and a demonstration of the functionality, and highlights the need for better integrations such as

  • Entity lifetime management
  • Automatic FFI type generation, also for custom IDL types.
  • Wrapping of C types such as char*
  • Support for other architectures

Nonetheless this functionality is included

  • Automatic rtiddsgen invocation
  • Type support library build
  • Link configuration automation

Prerequisites

  • Rust installed on your system
  • Connext installed and configured
  • Linux x64 system

Installation

  1. Clone the repository:

    git clone https://github.com/rticommunity/connext-rust-simple-binding.git
    cd connext-rust-simple-binding
  2. Build the project:

    export NDDSHOME=path/to/rti_connext_dds-7.3.0
    cargo build

Usage

Run the project from a cwd where USER_QOS_PROFILES.xml is located:

cargo run -- <pub|sub>

The project is capable of discovering participants in the loopback interface.

Demo

Demo

Contributing

Contributions are welcome! Please open an issue or submit a pull request.

License

This project is licensed under the MIT License.

About

An experimental basic binding for Connext in Rust

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages