# Robot in 3 Days (Day 1 - 1/7) ## Kickoff We decided that we wanted to start the season strong by doing Robot in 3 Days. On the first day, we started out by watching the livestream and coming up with robot and gameplay strategy. Afterwards, we mainly focused on design the first iteration of our robot and building the game elements. **Schedule:** * 8:30 am - 9 am: Leads setup rooms and livestream * 9 am - 10 am: Watch livestream * 10 am – 12 pm: Game manual breakdown, strategy, setting goals, robot sketches * 30 min game manual * 15 min goal setting in big group * 35 min small group brainstorm about strategy and robot * 30 min big group brainstorm * Each group says a 60 second elevator pitch of their idea and * Use [Pugh analysis](https://sixsigmastudyguide.com/pugh-analysis/) to decide * 12 pm - 1 pm: Lunch (Potluck) * 1 pm - 3:30 pm: CAD / Assembly (field elements) * 4pm - 7 pm: CAD / Assembly (field elements) * 7pm – 7:30: Dinner * 7:30 pm - 10:30 pm: Manufacturing / Assembly (field elements) ***** ## Admin After kickoff, we met as a subteam to prepare for the potluck during lunch. We cleaned the tables, set up the sterno trays, and organized food as parents brought in more. After the potluck, we made food order forms for many of the upcoming meetings and started the business plan. We used Excel to organize every section we needed to rewrite, and from there, we delegated the work accordingly. The rest of Admin took inventory of the new apparel and distributed the final orders to the remaining members. Meanwhile, Media worked on gathering footage for the first video recap. Later, some of Admin worked on the business plan, while the other part discussed plans for outreach this season. Afterwards, we planned dinner and met with Mr. Harder to discuss the stand-up banner. ***** ## Assembly We used the field drawings and Read Me documents for the official field elements on the [FIRST website](https://www.firstinspires.org/robotics/frc/playing-field). We decided to make the middle/end cone ramps, cube shelf, and the half charge station and bought all of the materials listed on each of the Read Me documents. We split our Assembly subteam into 3 groups; the middle cone ramp, the cube shelf, and the charge station. Using the “example cut list” on the Read Me documents, we measured everything onto the sheets of plywood and pieces of lumber for each field element. Each group cut everything out with the circular saw, bandsaw, and the hacksaw. *Note: got all materials and started measuring and cutting (no assembly)* ***** ## CAD ### Claw Intake We wanted to incorporate four contact points with four wheels attached to four gears. We created a crayola CAD of our design and prototype with VEX parts. #### Design #1 ![Crayola CAD of Claw Intake on Day 1](../../images/2023//Day1/cadIntakeDay1a.png) *Crayola CAD of Claw Intake* ![Prototype of Claw Intake on Day 1](../../images/2023//Day1/prototypeIntakeDay1a.png) *Prototype of Claw Intake* Design Matrix: | Strengths | Weaknesses | | ----------------------- | ------------ | | 4 contact points | 1 motor | | Secure / strong | Heavy | | Easy to program | Wire routing | | Requires less precision | | We also created another design, a linear actuator claw. ![Crayola CAD of Linear Actuator Claw on Day 1](../../images/2023//Day1/cadIntakeDay1b.png) *Crayola CAD of Linear Actuator Claw* ![Prototype of Linear Actuator Intake on Day 1](../../images/2023//Day1/prototypeIntakeDay1b.png) *Prototype of Linear Actuator Claw* Design Matrix: | Strengths | Weaknesses | | --------------------------------- | ------------------- | | No Motor | Needs to be precise | | Lightweight | | | Easier to program | | | Carries both position and control | | ### Lift Mechanism We made a Crayola sketch of the linear and linear, elevator and telescope. We wanted to see if it was possible to reach both height and length of the highest node. It was possible, but it would be very close. We decided to make the elevator on the side. We took inspiration from [this design](https://www.youtube.com/watch?v=Yp3l5F0qt8I), and I wanted to make it sideways for more point of contact in the telescope as shown below. ![Crayola CAD of Lift on Day 1](../../images/2023//Day1/cadLiftDay1.png) *Crayola CAD of Lift* ### Arm Created crayolas of possible first iteration arm designs Analyzed pros and cons of each design #### Fixed point for arm ![Crayola CAD of fixed point for arm on Day 1](../../images/2023//Day1/Day1JoyceRR.png) - Telescope arm - How many stages in telescope? - Get game piece from shelf - Score in mid pole - Drop game piece into bottom row | Pros | Cons | | ---------------------- | ------------------ | | Simple first iteration | Center of gravity | | | Unstable | | | No high scoring | #### Telescope arm at an angle ![Crayola CAD of telescope arm at an angle on Day 1](../../images/2023//Day1/Day1JoyceR.png) - Scores in both mid and top - Storing position actuated with pneumatics - No elevator - Intakes from shelf | Pros | Cons | | ---------------------- | ----------------------------- | | Simple and effective | Very Heavy (arm is very long) | | | Center of gravity | #### Telescope arm on an elevator ![Crayola CAD of Telescope arm on an elevator on Day 1](../../images/2023//Day1/Day1JoyceArm.png) - Multiple locations where it can intake | Pros | Cons | | ----------------------------------- | --------------------------------------------- | | able to quickly score in all rows | Multiple telescope stages | | | Arm is heavy and suceptible to collisions | | | Complex | #### Pneumatic Arm ![Crayola CAD of pneumatic arm on Day 1](../../images/2023//Day1/Day1JoyceArm2.png) | Pros | Cons | | ------------------ | ----------------- | | Extremely simple | Unstable | | | Mid scoring only | ***** ## Manufacturing On the first day of RI3D, the manufacturing subteam CADed the measurement jig using the CAD drawings provided on the FRC website. We printed the cube measurement jig with the same weight (563.308g) as the one used at competition using density calculations. ![Cube Jig](../../images/2023//Day1/cubeJigDay1.png) *3D Printed Cube Jig* Some of the manufacturing members assisted assembly with the swerve drive BOM. We discussed what parts of the swerve drive could be manufactured and which parts should be purchased. We also assisted with the field element assembly after completing the cube measurement jig. This included measuring the wood to cut and band sawing them for the next day. ***** ## Programming We made a [new repository for 2023](https://github.com/nerdherd/ChargedUp2023) and began writing the Drivetrain subsystem, as well as the auto using tank drive. ### Vision, Arm, and Elevator We specifically aimed to setup testbenches to run Limelights to detect AprilTags and reflective tape. With the help of our mentors, we based the design of our testbench off the following diagram: ![Vision Testbench Diagram](../../images/2023//Day1/visionTestbenchDiagram.png) *Diagram of testbench setup* Then, we made several modifications to our testbenches such as supplying power to the RoboRIO after wires were disconnected, and updating RoboRIO firmware. ![RIO Reimaging](../../images/2023//Day1/roboRIOReimaging.png) *RoboRIO re-imaging process* For AprilTag recognition, we decided on the [PhotonVision Limelight image](https://docs.photonvision.org/en/latest/docs/getting-started/installation/sw_install/limelight.html) as it included built-in support. However, after installing drivers onto the Limelight and imaging the Limelight using Balena Etcher, we discovered the hardware we were using was stuck in a boot loop. As we would not have access to new Limelights until tomorrow, we moved on to developing baseline code for our subsystems. Because we are currently split among two drive bases: swerve and west coast, we decided to use a repository with an arm and elevator subsystem (two subsystems in common among all versions of code) as our main branch. The latest commit can be found [here](https://github.com/nerdherd/ChargedUp2023/commit/387af596c2bf5fcec82245eb6617aae20f59fdf3). ### Swerve Drive Today, we decided to work on programming our swerve drive system to test its feasibility in competition. We were able to get our drivebase to work with the help of our mentors, and may be considering using a similar design for our competition robot this season, if we are able to find parts to repair the drivebase when necessary. ![Swerve Drive](../../images/2023//Day1/swerve.png) *Swerve Drivebase* ### Autonomous Pathing * First, our group came up with possible autonomous paths for our robot. The paths we came up with in order of development are: * Park on the charging station without it being level. * Park on the charging station and make it level. * Score a single preloaded cone and leave the community. * Score a single preloaded cone and park on the charging station to make it level. * Score a preloaded cone onto one of the side nodes, leave the community to pick up another cone from the playing field, and return to the community to score it in the hybrid node. * Score a preloaded cone onto one of the side nodes, leave the community to pick up another cone from the playing field, return to the community to score it in the hybrid node, and dock on the charging station to make it level. We decided to focus on a path for docking and engaging on the charging station, as well as another path for scoring one preloaded cone onto one of the side nodes. We found the coordinates for these paths using the dimensions given on the drawings and game manual.