trip-motion-simulator

1.0.0 • Public • Published

Trip Motion Simulator

npm GitHub forks GitHub Repo stars GitHub

A module for generating simulated location and vehicle motion telemetry.

Overview

trip-motion-simulator is a fork of SharedStreets's trip-simulator. It adds to the original package the generation of vehicle motion metrics. These include:

  • acceleration on the X, Y, and Z axes
  • rotation rate on the X, Y, and Z axes
  • heading

For additional information about the simulator's features and how to use it, visit the original repository.

Install

npm install -g trip-motion-simulator

CLI

trip-motion-simulator

-h,--help     show help
--config      config car,bike,scooter
--pbf         osm.pbf file
--graph       osrm graph file
--agents      number of agents
--start       start time in epoch milliseconds
--seconds     number of seconds to simulate
--probes      GeoJSON probes output file
--traces      GeoJSON traces output file
--trips       MDS trips output file
--changes     MDS status changes output file
--log         log level - refer to https://github.com/pinojs/pino/blob/master/docs/api.md#level-1

Test

npm test

Lint

npm run lint

Readme

Keywords

none

Package Sidebar

Install

npm i trip-motion-simulator

Weekly Downloads

1

Version

1.0.0

License

MIT

Unpacked Size

37.2 kB

Total Files

14

Last publish

Collaborators

  • alessioluciani