Conversation
sim is still broken tests are still broken also I probably broke some functionality somewhere
src/main/java/org/carlmontrobotics/lib199/DummySparkMaxAnswer.java
Outdated
Show resolved
Hide resolved
src/main/java/org/carlmontrobotics/lib199/MotorControllerFactory.java
Outdated
Show resolved
Hide resolved
src/main/java/org/carlmontrobotics/lib199/swerve/SwerveModule.java
Outdated
Show resolved
Hide resolved
src/main/java/org/carlmontrobotics/lib199/swerve/SwerveModule.java
Outdated
Show resolved
Hide resolved
src/main/java/org/carlmontrobotics/lib199/swerve/SwerveModuleSim.java
Outdated
Show resolved
Hide resolved
src/main/java/org/carlmontrobotics/lib199/swerve/SwerveModuleSim.java
Outdated
Show resolved
Hide resolved
src/main/java/org/carlmontrobotics/lib199/MotorControllerFactory.java
Outdated
Show resolved
Hide resolved
src/main/java/org/carlmontrobotics/lib199/MotorControllerFactory.java
Outdated
Show resolved
Hide resolved
src/main/java/org/carlmontrobotics/lib199/MotorControllerFactory.java
Outdated
Show resolved
Hide resolved
src/main/java/org/carlmontrobotics/lib199/SparkVelocityPIDController.java
Show resolved
Hide resolved
#107 (comment) Co-authored-by: CoolSpy3 <55305038+CoolSpy3@users.noreply.github.com>
#107 (comment) Co-authored-by: CoolSpy3 <55305038+CoolSpy3@users.noreply.github.com>
1. duplicatestrategy to fail 2. no more CachedSparkMax 2. motorcontrollerfactory now configures sparks!! 3. motorErrors checks for null faults 4. swap from smartMotion to MAXmotion in mockedsparkmaxpidcontroller.java 5. cleaner builder pid configs in sparkvelocitypidcontroller.java 6. change from deprecated calculate(double, double) to calculateWithVelocities() in swervemodule and don't persist configs
src/main/java/org/carlmontrobotics/lib199/path/DifferentialDriveInterface.java
Outdated
Show resolved
Hide resolved
src/main/java/org/carlmontrobotics/lib199/MotorControllerFactory.java
Outdated
Show resolved
Hide resolved
src/main/java/org/carlmontrobotics/lib199/MotorControllerFactory.java
Outdated
Show resolved
Hide resolved
src/main/java/org/carlmontrobotics/lib199/swerve/SwerveModule.java
Outdated
Show resolved
Hide resolved
src/main/java/org/carlmontrobotics/lib199/swerve/SwerveModule.java
Outdated
Show resolved
Hide resolved
|
@CoolSpy3 Alr I am pretty sure I addresed pretty much all your comments if you could if you check everything that would be awesome :D |
CoolSpy3
left a comment
There was a problem hiding this comment.
Awesome! I think all of the major stuff has been addressed. Just two more minor comments. I'll start re-reading everything for anything else that should be fixed before this merges.
src/main/java/org/carlmontrobotics/lib199/MotorControllerFactory.java
Outdated
Show resolved
Hide resolved
src/main/java/org/carlmontrobotics/lib199/MotorControllerFactory.java
Outdated
Show resolved
Hide resolved
…d organized MotorContollerFactory imports
CoolSpy3
left a comment
There was a problem hiding this comment.
Alright, here's the last batch of changes. After this, I might just run through and fix some formatting things, and then this should be good to merge!
src/main/java/org/carlmontrobotics/lib199/swerve/SwerveModule.java
Outdated
Show resolved
Hide resolved
src/main/java/org/carlmontrobotics/lib199/swerve/SwerveModule.java
Outdated
Show resolved
Hide resolved
src/main/java/org/carlmontrobotics/lib199/swerve/SwerveModule.java
Outdated
Show resolved
Hide resolved
src/main/java/org/carlmontrobotics/lib199/swerve/SwerveModule.java
Outdated
Show resolved
Hide resolved
src/main/java/org/carlmontrobotics/lib199/MotorControllerFactory.java
Outdated
Show resolved
Hide resolved
src/main/java/org/carlmontrobotics/lib199/MotorControllerFactory.java
Outdated
Show resolved
Hide resolved
src/main/java/org/carlmontrobotics/lib199/SparkVelocityPIDController.java
Outdated
Show resolved
Hide resolved
src/main/java/org/carlmontrobotics/lib199/SparkVelocityPIDController.java
Outdated
Show resolved
Hide resolved
…id controller use correct config
|
Ok, I basically finished on this batch! Just need to get back to you on this: #107 (comment) I'll prob do it today or tommorow morning. (Also fyi the javadoc doesn't build rn only because ctre javadocs are down) |
CoolSpy3
left a comment
There was a problem hiding this comment.
Sounds good! Here are a couple of additional notes on the past two commits. Also, this comment still appears unresolved.
src/main/java/org/carlmontrobotics/lib199/swerve/SwerveModule.java
Outdated
Show resolved
Hide resolved
src/main/java/org/carlmontrobotics/lib199/MotorControllerFactory.java
Outdated
Show resolved
Hide resolved
src/main/java/org/carlmontrobotics/lib199/SparkVelocityPIDController.java
Outdated
Show resolved
Hide resolved
src/main/java/org/carlmontrobotics/lib199/SparkVelocityPIDController.java
Outdated
Show resolved
Hide resolved
|
Alright, this looks good! Just pending on the last couple threads. |
(and make SwerveModule.moduleString global)
|
Just resolved the remaining threads! |
There was a problem hiding this comment.
Alright, that's all my comments addressed! Normally, I'd recommend testing this on a robot before merging, but given that we just updated everything to 2026 and dismantled Leviathan, that might be difficult, so I'm fine with just merging this in 🚀
Thank you for all the work you put into polishing this up (and working around all of the REV changes 👀 ) :D
LEZZGO 2025!!! 🎉 🤖 🥳
|
Amazing 🎉 Thanks for reviewing all the code!!! :D. Just as a quick question how should I merge it should I just merge it directly or should I squash everything given the amount of commits? |
|
General practice for |
@brettle pls review
also @CoolSpy3 thanks!!