https://github.com/open-dis/open-dis-javascript
Javascript implementation of the IEEE-1278.1 Distributed Interactive Simulation (DIS) application protocol v6 and v7
https://github.com/open-dis/open-dis-javascript
dis protocol
Last synced: 5 months ago
JSON representation
Javascript implementation of the IEEE-1278.1 Distributed Interactive Simulation (DIS) application protocol v6 and v7
- Host: GitHub
- URL: https://github.com/open-dis/open-dis-javascript
- Owner: open-dis
- License: bsd-2-clause
- Created: 2015-10-01T17:27:50.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2025-11-14T17:05:10.000Z (7 months ago)
- Last Synced: 2025-11-14T19:10:31.458Z (7 months ago)
- Topics: dis, protocol
- Language: JavaScript
- Homepage:
- Size: 2.67 MB
- Stars: 15
- Watchers: 4
- Forks: 16
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Open DIS for Javascript
## Introduction
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 web socket hands off an
event message with binary data attached, and the javascript
library decodes it and turns it into a javascript 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.
## Build
To generate a single `dis6.min.js` and `dis7.min.js` from the source files, run the following command:
`$ npm install`
# Release
Releases are published to http://npmjs.com/package/open-dis
1. `$ npm login`
1. `$ npm version `
1. `$ npm publish`
1. `$ git push`
1. `$ git push --tags`
1. Draft a new GitHub Release for this tag.
## Examples
Example code using this library for sending and receiving DIS packets with Node.js can be found here: https://github.com/keckxde/node-disnetworkclient