-
Notifications
You must be signed in to change notification settings - Fork 3
swerve improvement checklist #2
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
Conversation
…ed most states, and combined the state and superstructure files
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.
💡 Codex Review
Here are some automated review suggestions for this pull request.
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| private static final int ROLLER_MOTOR_ID = 20; | ||
| private static final int ARM_MOTOR_ID = 19; | ||
| private static final int INDEXER_MOTOR_ID = 17; | ||
| private static final double ROLLER_GEAR_RATIO = 3.0; | ||
| private static final double ARM_GEAR_RATIO = 1; // 248/9 | ||
| private static final double INDEXER_GEAR_RATIO = 3.0; |
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.
Arm gear ratio applies no reduction
The real intake IO uses ARM_GEAR_RATIO = 1 even though the comment notes a 248/9 reduction, so MotionMagic targets and telemetry are scaled as if the arm were directly coupled. Commands such as deployArm()/stowArm() therefore request ~28× less motor rotation than the mechanism requires, meaning the arm will never reach the intended angles and atGoal() will remain false on the real robot.
Useful? React with 👍 / 👎.
No description provided.