View Source LocationSimulator.Gps (LocationSimulator v0.6.3)

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

Link to this section Summary

Functions

Gets next location from current location.

Generates a random location.

Link to this section Functions

Link to this function

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

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

Gets next location from current location.

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

Generates a random location.