A JavaScript implementation of DIS that decodes IEEE 1278.1 binary data format messages and turns them into JavaScript objects.
This library is intended to be used on the client side with the WebSocket receiving data. The WebSocket hands off an event message with binary data attached, and the library decodes it and turns it into an object.
The code also includes some simple coordinate system transforms to change DIS world coordinates to (lat, lon, alt) or to a position in a local tanget plane coordinate system.
The main goal for this project is to build a web viewer for DIS v6 (IEEE Std 1278.1a-1998)
- Migrate to modern ESM project structure
- DIS6 ESPDU decoding
- DIS6 entity removal
- DIS6 support
No DIS7 (IEEE Std 1278.1a-2012) support is planned for now. Encoding is not fully supported and might be removed soon
npm run build
npm run upgrade