Skip to content

ES6 Javascript implementation of Distributed Interactive Simulation (DIS), IEEE-1278.1

License

Notifications You must be signed in to change notification settings

NathanielPoteat/open-dis-ts-es6

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

85 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Open DIS for TypeScript (JavaScript) ES6

Introduction

I AM NO LONGER WORKING ON THIS BECAUSE THE NEEDS OF THE PROJECT I WAS WORKING ON HAVE BEEN SATISFIED. -NathanielPoteat

A TypeScript ES6 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.

DMcG

Build

To generate a single dis6.min.js and dis7.min.js from the source files, run the following command:

$ npm install

Release

Releases of open-dis-javascript are published to http://npmjs.com/package/open-dis

  1. $ npm login
  2. $ npm version <version-to-be-released>
  3. $ npm publish
  4. $ git push --tags

Examples

Example code using open-dis-javascript library for sending and receiving DIS packets with Node.js can be found here: https://github.com/keckxde/node-disnetworkclient

About

ES6 Javascript implementation of Distributed Interactive Simulation (DIS), IEEE-1278.1

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%