Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

random_steps does not have a lonlat option and calculates wrong x2_ y2_ #6

Open
RonEfrat opened this issue Apr 15, 2024 · 0 comments
Open

Comments

@RonEfrat
Copy link

RonEfrat commented Apr 15, 2024

I am not sure if it is really an issue or perhaps on purpose, or maybe I am missing something?
When using random_steps on a steps_xyt object that was made with lonlat = T, the function still calculates the random steps' x2_ and y2_ the same way, leading to points that are not the right distance from x1_, y1_.

EDIT: Another strange thing that happens when using lonlat = T is that the turning angles used in random_steps are really strange, even though I give it the sl_distr, ta_distr, rand_sl and rand_ta myslef

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant