-
Notifications
You must be signed in to change notification settings - Fork 1
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
Pick a reasonable value for ARM_TELEOP_MAX_GOAL_DIFF_FROM_CURRENT_RAD #26
Comments
I changed it to 0.5 for now as another placeholder - that is what the value of this constant was in Robotcode 2023 Commit: |
Strongly recommend doing the math here. Note that the arm may continue to move for up to ARM_TELEOP_MAX_GOAL_DIFF_FROM_CURRENT_RAD radians after the user stops moving the stick. At the moment that means it might continue to move for ~28 deg! |
senac did math and we changed to 1.8345 |
@sofiebudman show work |
The current value is definitely not correct. 1.8345 radians is 105 degrees. That could allow the arm to continue moving for 105 degrees after the the user has let go of the joystick. |
Per my original comment on the issue, you want to compute the value that corresponds to the angle the arm will move if it accelerates at Note that at the moment the variable |
RobotCode2024/src/main/java/org/carlmontrobotics/Constants.java
Line 80 in 0dd661b
The current placeholder value will prevent the arm from being moved at all. Pick a value that corresponds to the distance the arm will travel if it accelerates at its max acceleration to its max velocity and then decelerates at its max acceleration back to 0.
The text was updated successfully, but these errors were encountered: