First, we created a variable that tracks the current color of the LEDs. Then, we created a function, which is a timing system that intakes the time the start of the function, the current time you are at, and the time you want to go until, which allows us to add a color that we change to until we reach that time. Then, we revert to a color of our choosing as stated in the code. Currently, we are trying to have the LEDs turn green for two seconds, then change to red. They are currently turning green but will not turn red. We have mapped this function the x button on our controller. We also organized the code so there no duplicates of any code and everything is concise.
Week 3 & 4 Technical Post Design Technical Teams: Chassis, Intake/Indexing, Shooter, Tower 1. Summary During Weeks 3 and 4, the technical teams finalized prototype testing and shifted into a strong design phase focused on CAD development and system integration. The chassis group completed chassis CAD, tested vision systems using the Limelight and RoboRIO, and refined swerve module encoder testing. The shooter group finalized hood and baseplate designs through testing and extensive CAD work while refining shooting angles and adjustability. The intake/indexing team completed subsystem CAD integration, added a pivot mechanism, prototyped hopper belts, and finalized coding structures while refining designs in CAD. The tower team prototyped hook designs, researched optimal gear ratios, advanced elevator CAD development, and began preparing code for future testing. 2. Focus for Weeks 3 & 4 In Week 3, the primary goal was completing prototype testing and finalizing subsystem...