Skip to content

Conversation

@MGross21
Copy link
Member

@MGross21 MGross21 commented Dec 5, 2025

  • Introduces a new COMP_BOT robot type with added hardware components (Intake, Turret, Spindexer, Launcher), alliance color handling, and an updateAll method for synchronized hardware/localizer updates.
  • Expands and reorganizes hardware name constants and servo positions; updates drivebase, odometry, follower, camera, spindexer, and turret constants with corrected offsets and new PID tuning parameters.
  • Simplifies artifact handling by replacing the class hierarchy with a compact Artifact enum for cleaner color and swatch processing.
  • Adds a GoalTag enum and GoalTagProcessor to unify AprilTag goal metadata, alliance-aware tag selection, and pose computation.
  • Updates the color sensor sample to use the correct hardware name, increases sensor gain and adjustment step size, and revises telemetry to show normalized 0–255 RGB values.

milopeters and others added 30 commits November 13, 2025 17:27
…instead of comments. (darn java objects incompatible kwarg support :/)
- Merge Processing and Metadata Classes together
- Remove decode from name
- Remove obelisk tags from navigation. See obelisk/motif instead
- clean up class naming, types, and line cleanliness
- Add some simple methods
- Add placeholder shooting offset
…tags with AprilTagDetection integration. Now has detect goal and field goal localization
- Simplified `moveToNextOpenIntake` logic using `takeIf` for cleaner null checks.
- Renamed `getArtifact` to `detectArtifact` to not confuse from getting artifact positional indexing and implemented artifact detection logic based on sensor color values.
- Added `currentSensor` method to determine the active sensor based on motor state.
- Introduced `scanArtifact` method to handle artifact scanning with optional LED control. Cleans up need to call correct intake/outtake sensor method. Instead has context awareness based on enum.
- Improved readability and modularity of artifact detection and intake handling.
… properties to Spindexer and update SpindexerTest
- Define wrapping behavior
- Rename Class in Constants
- Used some kotlin magic to clean of duplicating motor attribute mapping
…l logic

- Replaced NormalizedColorSensor with RevColorSensor for better abstraction and encapsulation.
- Removed unused imports and redundant methods.
- Added utility methods to RevColorSensor for normalized RGB and distance retrieval.
- Consolidated moveToNextOpenIntake and moveToOutakeNext into a single moveToNext function to simplify state transitions.
- Enhanced motor control logic with the new runMotorToState method for cleaner and reusable motor operations.
- Simplified artifact scanning and motor state transitions for improved maintainability.
milopeters and others added 6 commits December 3, 2025 08:24
…into RedGoalAuto

# Conflicts:
#	TeamCode/src/main/kotlin/pioneer/Constants.kt
#	TeamCode/src/main/kotlin/pioneer/decode/Obelisk.kt
#	TeamCode/src/main/kotlin/pioneer/hardware/Camera.kt
#	TeamCode/src/main/kotlin/pioneer/helpers/MathUtils.kt
- Cleanup camera and april tag methods after merge
- clean artifacts methods in spindexer. add rescanAllArtifacts method
- Move opmode tests to other
@MGross21 MGross21 requested review from Braedeng0, milopeters and nwazus and removed request for Braedeng0 December 5, 2025 20:10
Copy link
Member Author

Choose a reason for hiding this comment

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

Should this be uncommented or deleted?

@MGross21 MGross21 merged commit 41f7883 into master Dec 6, 2025
2 checks passed
@MGross21 MGross21 deleted the RedGoalAuto branch December 6, 2025 08:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet