Skip to content

Codebase for Clutch, our 2022 season robot.

Notifications You must be signed in to change notification settings

TexasTorque/Clutch-2022

Repository files navigation

Clutch-2022

Codebase for Clutch, our 2022 season robot.

Others may call the robot Nimbus, but in programming, it's called Clutch. End of story.

New project structure

.
|-- Main
|-- Robot
|-- Input
|-- Ports
|-- subsystems
    |-- Drivebase extends TorqueSubsystem
    | ..`
|-- auto
    |-- AutoManager extends TorqueAutoManager
    |-- commands
        |-- SampleCommand extends TorqueCommand
        | ...
    |-- sequences
        |-- SampleSequence extends TorqueSequence
        | ...
|-- torquelib (submodule)

Controls

Please publish major control changes to the Google Drive folder, and inform other programmers and driveteam.

Contributing

Before you do anything, check the project board and issues tab. If you are adding a new feature, create a new issue. Pull requests are enforced to write to master. Create a branch, named as a description of the changes made in the branch, and push your changes to it. From GitHub, create a pull request to merge into master. In your pull request, write a description of changes, and link the issue(s) you are addressing using "Closes #1477" (with the actual number of the issue). After creating the PR, request review. The PR will either be approved or rejected, deleting the branch, or changes will be requested from the review.

Formatting

I do not care, I will format with Clang-Format regardless 🙃.

Just remember the order of modifiers (from left to right):

  • private, protected, or public
  • static
  • final
  • volatile or synchronized

To acquire the formatter in VSCode, download this extension.

Then, go to Settings -> Text Editor -> Formatting and enable "Format on Paste" and "Fromat on Save". Additionally, search for "default formatter" and select "Language Support for Java(TM) by Red Hat".

About

Codebase for Clutch, our 2022 season robot.

Resources

Stars

Watchers

Forks

Languages