Skip to main content

LEDs

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.

Popular posts from this blog

Charge Robotics - Rebuilt Week 3 & 4

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...

Charge Robotics - Rebuilt Week 2

  Week 2 Technical Post  Design Technical Teams: Chassis, Intake/Indexing, Shooter, Tower 1. Summary In week 2, the technical teams were focused on prototyping and designing parts for the robot. The tower team had a variety of options and brainstormed throughout the week. They ultimately made a decision, but there were many constraints on space and motors that kept popping up. The index team started prototyping and continued throughout the week. The shooter team tested and charted a graph for how far the balls went. The chassis team began building the swerve modules, but was briefly interrupted because it is a newer, more complex model of the swerve system. They are almost done building all four swerve modules! 2. Focus For Week 2 The focus for the second week was to prototype and design. The shooter group, indexing group, and tower group started to make prototypes of a design that could be used for the robot. A lot of CAD designing went into this week as well. The teams h...

Charge Robotics - Rebuilt Week 1

  Charge Robotics Team Technical Post  Build Season Week 1  Weekly Technical Blog Post Design & Build Teams: Chassis, Intake/Indexing, Shooter, Tower Continuity From Pre-Season Work. After preseason, the entire robotics team watched the 2026 FRC game video to figure out what will happen in the game, and with that information everyone started strategizing what they would want the robot to do. After that everyone shared their ideas and the strategy team decided on strategizing and everyone was broken up into teams, Chassis, Intake/Indexing, Shooter, and Tower, to determine what specific parts the robot should contain.  Weekly Focus Creating Ideas, designing in CAD, and Prototyping At the start of the week, our goal was to create ideas on what would work best in the game for each subsystem. We wanted to be able to prototype by the beginning of next week.  Chassis  The chassis technical team was tasked with making a decision of how the robot should drive. T...