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

Add ability for 2 halves #100

Open
peter-drew opened this issue Sep 11, 2020 · 6 comments
Open

Add ability for 2 halves #100

peter-drew opened this issue Sep 11, 2020 · 6 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@peter-drew
Copy link
Member

Currently resetting the match clock also resets the score. Would be good to have some way of having a second half and swapping the direction the teams are shooting.

Would also be nice to make match length variable (in preset is fine).

If scores a level time on is sometimes also needed.

@peter-drew peter-drew added enhancement New feature or request good first issue Good for newcomers labels Sep 11, 2020
@glipR
Copy link
Contributor

glipR commented Sep 11, 2020

Provided #94 is merged you've already got variable time. I think once 5mins is done there's a quick 5 second pause then it automatically swaps sides as part of the judge.

That being said they should probably still be a ui button to achieve the same effect.

@peter-drew peter-drew added the priority Something urgent label Sep 24, 2020
@peter-drew peter-drew changed the title Add ability for variable match length and 2 halves Add ability for 2 halves Sep 24, 2020
@peter-drew
Copy link
Member Author

I don't think the side swapping exists or works as is. And is probably needed before we get to running the competition.

Unless we choose to not swap sides. Would need a way for robots to recalibrate their compass. Current advice to teams is just do it on startup and I am reluctant to do anything that complicates that, especially at this stage, especially given I don't think there currently exists a hook that teams could use.

Given there is no external physical interference, no side on the field has an advantage so the need to swap sides is reduced. And the need to repair physical robots in half time is also reduced.

Thoughts @Dalordish @glipR ?

@peter-drew
Copy link
Member Author

peter-drew commented Sep 24, 2020

That being said, might want to reconsider for 2021. In which case happy to replace the priority tag with future.

@glipR
Copy link
Contributor

glipR commented Sep 24, 2020

I tend to agree re: fairness, but I think we can make a relatively simple change to get this to work - Make the simulator able to reset a bots code. I'm pretty sure this wouldn't take too much effort, then we could bind it to a button in the ui, so you'd pause the game, swap halves, reset the bots, then begin play.

@glipR
Copy link
Contributor

glipR commented Sep 24, 2020

That being said I agree its probably not priority.

@peter-drew
Copy link
Member Author

Make the simulator able to reset a bots code.

I think this is the only way we could implement this without causing problems for students.

@glipR glipR removed the priority Something urgent label Sep 25, 2020
@glipR glipR mentioned this issue Oct 27, 2020
36 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants