Skip to content

Issue 157: Add NT / WPILog logging of feeder and spindexer key values#164

Merged
Fatblabs merged 6 commits intomainfrom
Issue-157
Apr 6, 2026
Merged

Issue 157: Add NT / WPILog logging of feeder and spindexer key values#164
Fatblabs merged 6 commits intomainfrom
Issue-157

Conversation

@Fatblabs
Copy link
Copy Markdown
Contributor

No description provided.

@Fatblabs
Copy link
Copy Markdown
Contributor Author

#157

@Fatblabs Fatblabs mentioned this pull request Mar 28, 2026
Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request introduces logging for motor velocity, stator current, and supply current in the Feeder and Spindexer subsystems. The feedback recommends optimizing performance by using StatusSignal.refreshAll to batch refresh status signals, which reduces CAN bus traffic and CPU overhead compared to individual refreshes within the periodic methods.

Comment thread src/main/java/frc/robot/subsystems/index/Feeder.java Outdated
Comment thread src/main/java/frc/robot/subsystems/index/Spindexer.java Outdated
Comment thread src/main/java/frc/robot/subsystems/index/Spindexer.java Outdated
Comment thread src/main/java/frc/robot/subsystems/index/Feeder.java
@jamesdooley4 jamesdooley4 changed the title Issue 157 Issue 157: Add NT / WPILog logging of feeder and spindexer key values Apr 2, 2026
@Jetblackdragon
Copy link
Copy Markdown
Contributor

Publishing the key values should be enough instead of using data log and smartdashboard

Copy link
Copy Markdown
Member

@jamesdooley4 jamesdooley4 left a comment

Choose a reason for hiding this comment

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

Just need to fresh the velocity values along with the current values, to make most efficient use of the CAN bus

Comment thread src/main/java/frc/robot/subsystems/index/Feeder.java Outdated
Comment thread src/main/java/frc/robot/subsystems/index/Spindexer.java Outdated
@Fatblabs Fatblabs requested a review from jamesdooley4 April 5, 2026 06:04
@Fatblabs Fatblabs linked an issue Apr 5, 2026 that may be closed by this pull request
@jamesdooley4 jamesdooley4 dismissed markpete’s stale review April 6, 2026 07:16

Stale review with comments addressed

@Fatblabs Fatblabs merged commit f62d06b into main Apr 6, 2026
2 checks passed
@Jetblackdragon Jetblackdragon deleted the Issue-157 branch April 7, 2026 05:57
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.

Feeder and spindexer have no logging of system behavior

4 participants