GithubHelp home page GithubHelp logo

steelridgerobotics / 2024metalmelody Goto Github PK

View Code? Open in Web Editor NEW
4.0 2.0 2.0 484 KB

Our robot for the 2024 FRC season, Crescendo.

Home Page: https://www.steelridge6343.com/

License: GNU General Public License v3.0

Python 100.00%
crescendo first-frc first-robotics-competition frc frc-robot path-planner robotics-competition swerve-drive limelight python

2024metalmelody's Introduction

Metal Melody

This is the repository for Steel Ridge Robotics' 2024 robot. We named it Metal Melody on purpose, unlike the last name.

This year, there are 3 main elements of the robot, the swerve drive (our first competition robot with swerve!), the elevator (and climber), and the intake. We also did some work with autonomous routines and vision.

Swerve Drive

The swerve drive consists of 8 motors: 4 for driving, 4 for direction. The Drive Motors use the control request VelocityVoltage to drive accurately at a consistent speed, and the Direction Motors use MotionMagicVoltage to finely control the full motion of the wheel, not just the end positions. This allows us to smoothly control our wanted direction. The direction motors also use CANcoders to align all wheels to ensure we can drive accurately, as without this the wheels could be offset at the start of the math, which is, shockingly, not good.

Elevator

The elevator is controlled by two motors controlling two lifts using the MotionMagic feature of the TalonFX motors. The motors (and by extension the lift) move to specific positions when we press buttons on the controller. There are two positions, one for intaking notes, and one for shooting them downward into the amp.

Intake

The intake consists of 2 motors, one to intake rings that we control via DutyCycleOut, and one to move the intake up and down that we control, similarly to the elevator, via MotionMagic. There are 3 positions on the pivot, one for intaking, one for stowing the intake (so it isn't on the ground while we drive), and one for shooting the note down into the amp. The reason for 2 different positions for intaking and shooting is because we discovered the intake position is too low to shoot into the amp.

Autonomous

beep boop

More Information

More information about the robot control system can be found in the Hardware Software Specification.

2024metalmelody's People

Contributors

cheeseburger4 avatar cleverdude88 avatar cwstryker avatar glatia avatar loftyy-o avatar manicmaniac64 avatar pickleface5 avatar thesavagedemon avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.