-
Notifications
You must be signed in to change notification settings - Fork 60
Robot Falling of the Edge of the World [AARD-2034]
#1247
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Love it!
Co-authored-by: Zach Rutman <zarutman+git@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there a reason that this was added in the match mode directory? Does it not make sense outside of it?
Task
Currently robots can drive off the edge of the map and they will keep on following forever, which isn't something that we really want, as the only way to fix this is to reload the entire page.
AARD-2034
Symptom
You can drive a robot of the edge of the map, and then you are forced to reload the page, clearing everything that you have previously spawned.
Solution
Add a tracker that detects if a robots position has gone below the map boundary (constant), and in that case teleports it to its spawn position.
Verification
Driving of the edge of the map causes you to teleport back to the center
Before merging, ensure the following criteria are met: