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

Swerve Display Component #55

Open
CrispyBacon1999 opened this issue May 23, 2023 · 0 comments
Open

Swerve Display Component #55

CrispyBacon1999 opened this issue May 23, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@CrispyBacon1999
Copy link
Owner

Description

Add a component that shows swerve module states, similar to the one that's currently in AdvantageScope.

Context

The motivation behind introducing this new component is to provide quick and easy debugging of the angle that the robot sees the modules at. This is extremely helpful for seeing if the robot is actually behaving properly.

Proposed Solution

I propose creating a new React component called SwerveModules that will represent the chassis of the robot. On each corner, there will be a swerve module that has 2 arrows coming out of it. One of these arrows should represent the current angle of the module, with the length representing the velocity. The other should represent the target angle of the module.

Acceptance Criteria

To consider this issue resolved, the new [ComponentName] component should meet the following acceptance criteria:

  • Component created as an svg
  • Target angle (optional)
  • Current angle (optional)
  • Robot rotation (optional, default 0)
  • Arrow or other element that represents which direction the robot is facing
@CrispyBacon1999 CrispyBacon1999 added the enhancement New feature or request label May 23, 2023
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

1 participant