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

Configure delay after map-selected action #60

Open
1Ghasthunter1 opened this issue Apr 1, 2022 · 2 comments
Open

Configure delay after map-selected action #60

1Ghasthunter1 opened this issue Apr 1, 2022 · 2 comments

Comments

@1Ghasthunter1
Copy link

Whenever an action that invokes the map is pressed, a green border appears for about a second, disabling any presses, and then disappears. Is there any way to configure this?

@1Ghasthunter1
Copy link
Author

The original lock-out delay definition is found:

in ./src/scouting/executables/position.js, POSITION_LOCK_DELAY_MS defines this lockout. Ideally, we could change this from the config file.

@nithilan4
Copy link
Contributor

This is the "position lock" feature. It doesn't disable presses, it just doesn't prompt the position screen asking for the position of the robot because it's safe to assume that the robot hasn't moved in that duration between presses. We'll add configuration to the list, thanks.

By the way, you should check out the spot-v0.3.1 branch for a bunch of bug fixes and ease of use features as well as some analysis modules. We'll push this to main shortly. Thanks for using SPOT.

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

2 participants