-
Notifications
You must be signed in to change notification settings - Fork 53
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
Named robot controls #1034
Named robot controls #1034
Conversation
fission/src/Synthesis.tsx
Outdated
@@ -96,7 +92,8 @@ function Synthesis() { | |||
console.debug(`Selected Mirabuf File: ${mira_path}`) | |||
} | |||
|
|||
const setup = async () => { | |||
// TODO: do we actually want to spawn a robot right away when synthesis loads? |
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.
No we don't, but it's just kinda stuck around from when I was testing physics
Chorus detected one or more security issues with this pull request. See the Checks tab for more details. As a reminder, please follow the secure code review process as part of the Secure Coding Non-Negotiable requirement. |
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.
Looks really good 👍
just have a few ui change requests
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.
- You should be able to add new schemes in the controls menu
- You should prompt the user for a name for the new control scheme, but auto populate it with a name as a suggestion.
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.
One thing to note for a potential future JIRA task is to be able to reassign names and keybinds for assemblies from the manage assemblies modal
onAccept={() => { | ||
PreferencesSystem.savePreferences() | ||
InputSchemeManager.saveSchemes() | ||
InputSystem.selectedScheme = undefined | ||
}} |
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.
Could you delete the robot onCancel() so if the user cancels their input scheme then the robot doesn't spawn
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.
Would we maybe want them to be able to spawn a robot and not assign it a control scheme temporarily?
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.
@HunterBarclay @Dhruv-0-Arora Is this something we could add to brain config down the line?
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.
Yeah
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.
I'm liking this. Good work
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.
Spectacular 🤩
Description
Adds names and name tags to robots to help the user distinguish between robots when configuring controls and other settings like intake/ejector. You can create completely custom input schemes, or edit the default ones. Deleting a customized version of a default input scheme will reset it, not completely remove it.
Objectives
Note
When testing, make sure to mess around with configuring intakes and ejectors because the way robot control info is stored changed, which could potentially create issues.
JIRA Issue