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 refined movement and rotation controls #13

Closed
An3Dev opened this issue Feb 8, 2022 · 2 comments
Closed

Add refined movement and rotation controls #13

An3Dev opened this issue Feb 8, 2022 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@An3Dev
Copy link
Member

An3Dev commented Feb 8, 2022

@chrisfd805 suggested that we should add a feature where holding down or pressing a button will reduce the motor speeds to make precisely turning and moving easier to control.

I think a potentially better way of doing this would be to bind one button to each action. For example, pressing the left controller paddle(or also the West button) can make the robot slowly turn counter-clockwise and pressing the right controller paddle(or also the East Button) can make the robot slowly turn clockwise.

@chrisfd805 and @Jtuazon25 let me know what you guys think of these ideas, and whether you want me to implement them.

@An3Dev An3Dev added the enhancement New feature or request label Feb 8, 2022
@flynneva
Copy link
Contributor

flynneva commented Feb 9, 2022

@An3Dev you guys are using an xbox controller for input right? Why not mimic video games and use the "crouch" button (clicking in the joystick) to slow down everything. That might be more intuitive for anyone who has played any of the major video game franchises since when you crouch you move a bit slower.

This can be done by adding a scalar variable to the movement speed and when the crouch button is pressed then the scalar variable is reduced which then reduces the final movement speed.

@An3Dev
Copy link
Member Author

An3Dev commented Mar 16, 2022

Forgot to close this issue. I added precision mode a few days before the competition.

@An3Dev An3Dev closed this as completed Mar 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants