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

Create small random change of position to resume the Bot after some time off #4292

Closed
kustavo opened this issue Aug 19, 2016 · 6 comments
Closed

Comments

@kustavo
Copy link

kustavo commented Aug 19, 2016

When you stop the Bot (by more than X hours for example) does not return the exact same position. It is strange to stay a few hours without running the bot and it resumes in the same previous position.

@NatNew0
Copy link

NatNew0 commented Aug 19, 2016

I agree, but image that you stay at home with the phone turned off over night. Then the position would be the same the next morning. Maybe it's just some GPS noise at the logon that should be added. It would also be strange if you "never" had the same position on resuming ;-)

@surewhynotmon
Copy link

Think some adjustable param for GPS signal noise would be nice. There is already random_lat_long_delta() now but not a very good config for different range.

@kustavo
Copy link
Author

kustavo commented Aug 20, 2016

@NatNew0 @surewhynotmon If Bot starts in the same position few times, I agree with you, It could be my home, for example (even so could have noise before sending the first position in the "location" field). But I say about when we use the field "location_cache" in this case will always be the previous position where Bot stopped (even after hours off). In this case, it does not seem to be my home, as this position depends on where the Bot stopped the last time.

@surewhynotmon
Copy link

@kustavo what you are suggesting sounds like adding a new spawn_points.json config file that the bot can randomly select from to spawn. (A delta to that location can be random).

It sounds like location_cache should be part of a consolidated Spawn Task that covers where the bot spawns at the start. It can be random from a config, home at a fixed point, last location, or a particular gps location. There isn't such a spawn worker atm.

@kustavo
Copy link
Author

kustavo commented Aug 20, 2016

I think it could start in the near the last location location, like a stronger noise, That would be enough

@k4n30 k4n30 changed the title [Improvement to avoid ban]. Create small random change of position to resume the Bot after some time off Create small random change of position to resume the Bot after some time off Aug 20, 2016
@k4n30
Copy link
Contributor

k4n30 commented Aug 20, 2016

#3912 should be able to meet your needs, this is done all the time, so standing still will still have the same effect.

Please advise if this solves your request

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

No branches or pull requests

5 participants