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.
Introduction The preseason of Robotics is an extended time period that provides training for the team along with important skill building, strategy development, and testing. During this time, the team focuses on improving their skills in CAD modeling, manufacturing, code development, and branding. Each of our team's departments has been working on specific skills related to their field. In the design and manufacturing department, the team modeled robot parts in a CAD program and stocked inventory for the upcoming build season. Meanwhile, the software team worked on modifying and adjusting the code of a smaller robot to simulate and learn coding for the team's future robot. The Team The Charge robotics team is an award-winning team at Cherokee High School that competes in the FIRST Robotics Competition. The team consists of three major departments, Design & Fabrication, Software, and Branding & Marketing. Each of these departments works toward a common goal of designing,...