1.5.0 • Published 8 years ago

sbp-synthetic-stream v1.5.0

Weekly downloads
4
License
MIT
Repository
github
Last release
8 years ago

sbp-synthetic-stream

Construct synthetic SBP position solution streams. Plays the stream(s) over a readable stream or HTTP.

You may specify points to interpolate between, to simulate a path. The paths will be randomly jittered and playback at the rate that you specify. It uses nanosecond-accurate timers to attempt to align messages to second and millisecond boundaries. Technically speaking this should work well up to 900hz, although practically speaking you will probably use something in the range of 1-20hz to test realistic-looking streams.

Install

Install as a dependency to a project:

npm install --save sbp-synthetic-stream

Install CLI tool globally:

npm install --global sbp-synthetic-stream

Using the command-line tool

sbp-synthetic-stream --path "37.7755898502N,-122.511541278E,60;37.886690N,-121.155E,61" --num-streams 3 --ports 8080,8081,8082 --duration 10m --hz 2

Test with curl:

curl -vN http://localhost:8080 | sbp2json
curl -vN http://localhost:8081 | sbp2json
curl -vN http://localhost:8082 | sbp2json

You can install sbp2json here via the Haskell project.

Programmatic Use

TBD

License

MIT license. See LICENSE file.

1.5.0

8 years ago

1.4.1

8 years ago

1.4.0

8 years ago

1.3.0

8 years ago

1.2.2

8 years ago

1.2.1

8 years ago

1.2.0

8 years ago

1.1.3

8 years ago

1.1.2

8 years ago

1.1.1

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago