LocationSimulator.Gps (LocationSimulator v1.0.0)

Copy Markdown View Source

Generate a random location. Get next gps from a location.

Summary

Functions

Gets next location from current location.

Generates a random location.

Functions

generate_next_pos(lati, long, step_lati \\ 1, step_long \\ 1)

@spec generate_next_pos(float(), float(), integer(), integer()) :: {float(), float()}

Gets next location from current location.

generate_pos()

@spec generate_pos() :: {pos_integer(), pos_integer()}

Generates a random location.