Skip to content

Rust implementation of the IEEE 1278.1-2012 Distributed Interactive Simulation (DIS) application protocol

License

Notifications You must be signed in to change notification settings

crhowell3/open-dis-rust

🦀 Open DIS Rust

Stargazers Crates.io Version Issues Contributors
Documentation Maintained

 

💭 About

Rust implementation of the IEEE-1278.1 Distributed Interactive Simulation (DIS) application protocol. This library was implemented according to the IEEE Std 1278.1-2012 publication as well as SISO-REF-010-2020.

📕 Documentation

The documentation for the latest version of this library can be found here. All previously published versions of this package can be found on crates.io, and each version's respective documentation is accessible from there as well.

🔰 Getting Started

Installation

This library can be installed using cargo:

cargo add open-dis-rust

or by adding this to your project's Cargo.toml [dependencies] section:

open-dis-rust = "<insert version>"

Examples

This package contains some examples for transmitting PDUs via UDP. To run the example, both the client and the server applications need to be executed. Start by running the server as follows:

cargo run --example udp_server

Then, in another terminal on the same machine, run the client as follows:

cargo run --example udp_client -- --udp 127.0.0.1:3000

A PDU will be transmitted from the client to the server, and then the data within the PDU will be echoed back to the client and displayed in the terminal.

Copyright © 2023-present Cameron Howell

About

Rust implementation of the IEEE 1278.1-2012 Distributed Interactive Simulation (DIS) application protocol

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Languages