Skip to content

Conversation

@darkpotatoo
Copy link
Member

  • 40amp current limits on drive motors (both stator and supply current)
  • remove suppliers from the pose pathing methods
  • rename drive subsystem to match standard

@darkpotatoo darkpotatoo requested a review from a team as a code owner December 22, 2025 14:22
@sonarqubecloud
Copy link

Copy link
Member

@withinfocus withinfocus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Few small areas of improvement. Do a Sonar review just to catch anything lingering.

new TalonFXConfiguration()
.withCurrentLimits(
new CurrentLimitsConfigs()
.withSupplyCurrentLimit(40)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💭 Should this be a constant?

Queue<Double> queue = new ArrayBlockingQueue<>(20);
signalsLock.lock();
SwerveDriveSubsystem.ODOMETRY_LOCK.lock();
SwerveDriveReal.ODOMETRY_LOCK.lock();
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎨 Per the Sonar scan all these references should now use the IO base class reference.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎨 Take a look at the Sonar results -- just three things that can also be cleaned up in this class.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants