-
Notifications
You must be signed in to change notification settings - Fork 0
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
New climb #167
New climb #167
Conversation
Qodana Community for JVM225 new problems were found
☁️ View the detailed Qodana report Contact Qodana teamContact us at [email protected]
|
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.
I think the subsystem was simplified too much. IMO it's very important to have a very fast climber. If we can climb (reliably) in a few seconds it will guarantee us a PR, and the "fastness" will increase the chance we climb even if we got stuck somewhere in the field, the driver took a few more seconds to align to the cage, etc.
I would bring back the:
- Second motor: if there is enough weight, the climber will be faster and the center of gravity will be lower.
- Stopper: this will ensure we get the climb RP even if we climbed very little. However, we need to check how much height the robot loses in 3 seconds, at a very low angle (there the moment of gravity is the largest).
- CANCoder: If the subsystem will be power based, we might need to put a low value at the beginning and end of the movement, so to not strain the motor to much and/or hit the cage. Bringing back the CANcoder will make position control possible, and thus probably decreasing the time it takes to climb.
SensorToMechanismRatio = SENSOR_TO_MECHANISM | ||
FeedbackRemoteSensorID = CANCODER_ID | ||
FeedbackSensorSource = FeedbackSensorSourceValue.FusedCANcoder | ||
} | ||
SoftwareLimitSwitch.apply { |
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.
If there is no CANcoder now, I don't know how reliable the internal encoder will be, so perhaps the software limits should be removed.
Why, though, was the CANcoder removed? It will help us make the climb faster, which is important for a last-second climb (and RP).
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.
I did remove the soft limits but didn't commit it because we're not sure if there will be a cancoder
This reverts commit 1c33637.
No description provided.