GithubHelp home page GithubHelp logo

2021-season's Introduction

2021-season

The repository for our 2021 season code. This document outlines our code and explains the more complex processes in depth where it is preferred over in-code documentation, as well as giving a general overview of the project.

Subsystems

This section outlines the subsystems of our robot, what control systems they have, and the commands which use them.

Drivetrain

This subsystem outlines our robot's four-motor drivetrain. We use four Falcon 500 motors with integrated TalonFX motor controllers. These controllers are declared in the Drivetrain class and bundled into two SpeedControllerGroup objects: left and right. These objects bind the two motors on each side together to prevent fighting between the motors in each gearbox. The two groups are then connected into a DifferentialDrive object which handles the calculations used to translate joystick input to motor output.

Index/Intake

Turret

Climber

Commands

This section outlines the commands of our robot, the subsystems they use, and the control logic they implement to create efficient function.

DriveWithJoystick

This command controls the drivetrain subsystem by inputting the x and y values of the left joystick on our primary Xbox controller and passing them into the arcadeDrive method of the DifferentialDrive object. The input values are also multiplied by a coefficient slightly less that 1.0 which slows the drivetrain slightly to avoid jittering and jerky control.

RunIndex

RunTurret

ClimberOperation

2021-season's People

Contributors

pr0c355 avatar pranathidandu avatar

Watchers

 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.