-
Notifications
You must be signed in to change notification settings - Fork 0
added over temp alerts to drive and elevator motors #52
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
base: main
Are you sure you want to change the base?
Conversation
…n IllegalArgumentException if rads is not within bounds
…READY_TO_CLIMB state once cage is within range, fix usage and description of CLIMB state
…me javadoc comments
…s, use LoggedTunableNumber instead of DoubleSupplier for ClimberState volts
…imber stops when no input on dpad. Rename Algae folder to pivot to resolve errors
WalkthroughThis pull request introduces motor temperature monitoring across several subsystems. A new constant ( Changes
Sequence Diagram(s)sequenceDiagram
participant TalonFX as ModuleIOTalonFX
participant IO as ModuleIOInputs
participant Module as Module
participant Const as Constants
TalonFX->>IO: Update driveTempCelsius & turnTempCelsius
Module->>IO: Read temperature values
Module->>Const: Retrieve MOTOR_MAX_TEMP
alt Temperature Exceeds Threshold
Module->>Module: Trigger driveOverTempAlert & turnOverTempAlert
end
sequenceDiagram
participant Elevator as Elevator
participant EIO as ElevatorInputs
Elevator->>EIO: Read leftTempCelsius & rightTempCelsius
alt Temperature Exceeds Threshold
Elevator->>Elevator: Trigger leftMotorOverTemp & rightMotorOverTemp alerts
end
Possibly related PRs
Suggested labels
Suggested reviewers
Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (6)
✅ Files skipped from review due to trivial changes (1)
🧰 Additional context used🧠 Learnings (1)src/main/java/org/team5924/frc2025/subsystems/elevator/Elevator.java (1)⏰ Context from checks skipped due to timeout of 90000ms (1)
🔇 Additional comments (18)
✨ Finishing Touches
🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
Summary by CodeRabbit