Skip to content
@BroncBotz3481

Bronc Botz

Bronc Botz Competition Robotics, FRC Team 3481, FTC 4008, FTC 6976, and FTC 4602

Who we are?

  • We are FRC Team 3481, and FTC Team 4602, 4008, and 6976.
  • Our repositories are free to use for any team to use as inspiration or code snippets!

Team Repos

Mentor Example Code

  • Our mentors have created example code to serve as a guide and show implementations within our rules.
  • The repository is available in codespaces for live testing and development within the browser too!
  • Remember to DELETE your codespace after you PUSH changes to your own repository that way you can make the most out of the 60hrs free per month!
    Open in GitHub Codespaces
Bronc Botz Command Based Programming
  • Our organization follows the coding paradigm within the new CommandBased programming framework for FRC based off of "The Art of Unix Programming" rules.
  • Our interpretation is as follows:
    • Subsystems = Interface
    • Commands = Engines
    • Policy = Policy
Basic Architecture
  • All Subsystems MUST have a "Policy Class" which contains static variables that may be userful to access about that subsystem without having to fetch the object itself.
    • Policy classes MUST be used for ANY algorithmic operation affecting a subsytem (if/then's).
  • All algorithmic operations must be done via static functions within the "Policy Class".
    • This is done to ensure subsystem classes are exclusively operation oriented and do not stray into algorithmic operations causing the time to comprehend a class to rise significantly.
  • Subsystems are programmatic representations of physical systems, psuedo-subsystems may exist for the sole purpose of providing and interpreting abstracted sensor feedback (like vision processing).
  • All subsytems must have a default command which returns them to a "normal" state.
  • Sometimes default commands must change between autonomous and teleop modes.
  • Commands are simple actions and must be seperated as such, if a complex action needs to occur it should be within a ParallelCommandGroup or similar unless there is a ligitimate reason that it cannot be done that way.
  • The subsystems commands folder contain only packages representing each subsystem OR subsystem grouping.
  • All utility classes must be in their own package seperate from the commands and subsystems folder.
  • All functions serve one purpose.
    • For example if a motor controller needs configured there should be a single function which configures that motor controller.
The Rules
  1. Rule of Modularity

Write simple parts connected by clean interfaces.

  1. Rule of Clarity

Clarity is better than cleverness.

  1. Rule of Composition

Design programs to be connected to other programs.

  1. Rule of Separation

Separate policy from mechanism; separate interfaces from engines.

  1. Rule of Simplicity

Design for simplicity; add complexity only where you must.

  1. Rule of Parsimony

Write a big program only when it is clear by demonstration that nothing else will do.

  1. Rule of Transparency

Design for visibility to make inspection and debugging easier.

  1. Rule of Robustness

Robustness is the child of transparency and simplicity.

  1. Rule of Representation

Fold knowledge into data so program logic can be stupid and robust.

  1. Rule of Least Surprise

In interface design, always do the least surprising thing.

  1. Rule of Silence

When a program has nothing surprising to say, it should say nothing.

  1. Rule of Repair

When you must fail, fail noisily and as soon as possible.

  1. Rule of Economy

Programmer time is expensive; conserve it in preference to machine time.

  1. Rule of Generation

Avoid hand-hacking; write programs to write programs when you can.

  1. Rule of Optimization

Prototype before polishing. Get it working before you optimize it.

  1. Rule of Diversity

Distrust all claims for “one true way”.

  1. Rule of Extensibility

Design for the future, because it will be here sooner than you think.

Bronc Botz Student Onboarding

Student Tasks

  1. Install WPILib, FRC Game Tools, REV Hardware Client, and CTRE Pheonix Tuner.
  2. Create a robot project and include the REVLib and CTRE libraries.
  3. Design a Command Based robot following our paradigm with the following mechanisms (assume all motors are CANSparkMax's):
    Arm
    Differential Drive (4 motor drive train)
    Climber
    Shooter (Attached to arm)
  4. Prove the design follows our paradigm by submitting it for mentor validation.
  5. Fill in 3 of the subsystems.
  6. Create corresponding commands.
  7. Setup the default commands for every subsystem.
  8. Connect corresponding commands to a controller input.
  9. Submit for mentor validation.

Pinned Loading

  1. YAGSL-Example YAGSL-Example Public

    Yet Another General Swerve Library Example Project

    Java 58 143

  2. YAGSL YAGSL Public

    Yet Another General Swerve Library

    Java 137 37

  3. RioDoom RioDoom Public

    Forked from Team303/RioDoom

    Doom port for the NI RoboRIO

    C++ 8 1

Repositories

Showing 10 of 30 repositories
  • BroncBotz3481/FTC2025-6976’s past year of commit activity
    Java 0 BSD-3-Clause-Clear 0 0 0 Updated Nov 9, 2024
  • BroncBotz3481/FTC2025-4008’s past year of commit activity
    Java 0 BSD-3-Clause-Clear 0 0 0 Updated Nov 9, 2024
  • YAGSL-Example Public

    Yet Another General Swerve Library Example Project

    BroncBotz3481/YAGSL-Example’s past year of commit activity
    Java 58 Apache-2.0 143 22 3 Updated Nov 6, 2024
  • BroncBotz3481/PracticeBot2025’s past year of commit activity
    Java 0 0 0 0 Updated Nov 6, 2024
  • YAGSL Public

    Yet Another General Swerve Library

    BroncBotz3481/YAGSL’s past year of commit activity
    Java 137 Apache-2.0 37 0 0 Updated Nov 6, 2024
  • YAGSL-Lib Public

    YAGSL-Vendor Library

    BroncBotz3481/YAGSL-Lib’s past year of commit activity
    Java 7 Apache-2.0 4 1 (1 issue needs help) 0 Updated Nov 6, 2024
  • BroncBotz3481/FTC2025-4602’s past year of commit activity
    Java 0 BSD-3-Clause-Clear 0 0 0 Updated Oct 31, 2024
  • maple-sim Public Forked from Shenzhen-Robotics-Alliance/maple-sim

    Elevating FRC Java Robot Simulations to the Next Level with Physics Engines

    BroncBotz3481/maple-sim’s past year of commit activity
    Java 0 BSD-3-Clause 8 0 0 Updated Oct 24, 2024
  • BroncBotz3481/StudentRepo2024’s past year of commit activity
    Java 0 0 0 0 Updated Sep 25, 2024
  • BroncBotz3481/FTC2024-6976’s past year of commit activity
    Java 0 0 0 0 Updated Sep 20, 2024

Top languages

Loading…

Most used topics

Loading…