Modules
Entry-point API for the LocationSimulator library.
Spark DSL extension defining source and plug entities for GPS pipelines.
DSL entity representing a plug module in the pipeline.
DSL entity representing a GPS data source.
DynamicSupervisor, uses for add worker in runtime.
Callback behaviour that bridges the worker and your application code.
Generate a random location. Get next gps from a location.
Gpx is a module that provides functions for parsing GPX file.
GpsPoint is a struct that represents a GPS point load from GPX file.
Default callback for demo & develop.
Declares a composable GPS simulation pipeline using Spark DSL.
A plug transforms a pipeline. Inspired by Plug from Phoenix.
Dispatches GPS events to the user's callback module.
Replays GPS points from a GPX track file.
Sleeps for config.interval milliseconds (plus optional config.random_range jitter).
Generates the next synthetic GPS point in the current direction.
Runs a GPS simulation loop using a plug pipeline.