Skip to content

the Cyborg Cats' Java code for FRC Destination: Deep Space 2019

License

Notifications You must be signed in to change notification settings

IanWoodard/4256-19-Apollo

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

4256-19-Apollo

Table of Contents

  1. Description
  2. Overview
  3. Conventions
  4. The Team




Description

The Cyborg Cats' Java Code For FRC Destination: Deep Space 2019

We are a team from Chesterfield Missouri that competed at Saint Louis, Central Illinois, and Detroit.

Saint Louis:

Record (11-4-0)
Rank 4
Captain of the 4th alliance
Elimianted in semifinals
Won the Autonomous Award

Central Illinois:

Record (11-7-0)
Rank 8
First pick of the 2nd alliance
Eliminated in finals
Awarded a Wildcard
Won the Autonomous Award
First Dean's List Finalist Award (Ethan Storer)
Regional Finalists

Carson Division

Record (4-8-0)
Rank 44
Second pick of the 8th alliance
Eliminated in quarterfinals




Overview

The subsystems that make up our 2019 robot include (in no specific order):

Swerve Drive

a unique omnidirectional drivetrain with 4 independent wheels with 360 degrees of freedom.

Hatch Intake

an outward clamp that utilizes a single double solenoid to secure a hatch by moving it outward and then release it by moving it back inward.

Ball Intake

a single-motor driven vectored wheeled intake with ominwheels in the center to insure balls are consistantly in the middle for accurate shooting.

Intake Lifter

a two-motor driven rotational arm that moves down to aquire balls and place hatches on the rocketship and up to aquire hatches and place them on the cargoship.

Ground Intake

a single-motor driven rotational arm with a single-motor driven wheeled intake used to suck hatches up from the ground and rotate them up to the hatch intake.

Limelight Vision

a vision camera used to autonomously track the targets on the field to both place cargo and hatches on the cargoship and pickup hatches from the loading station.

Climber

a two-pneumatic-cylinder system that boosts each half of our robot up to hab 2 one at a time.

LED Strip

a led strip that updates based on whether the limelight detects a vision target, the ball intake has a ball, etc.

Autonomous

For fully autonomous actions that require no driver interaction we utilize a modified version of Team 254, The Cheesy Poofs, autonomous planning java code.




Conventions

We base our coding conventions off of Oracle's coding conventions for Java.

(The following information is in no way complete. It, instead, acts as a brief introduction to our coding conventions)


Naming:

Classes:

Class names are nouns that begin with a capital letter and maintain camel-case.

class IntakeLifter;


Methods/Functions:

Method names are verbs that begin with a lowercase letter and maintain camel-case.

slurp();


Variables:

Instance Variables begin with a lowercase letter and maintain camel-case.

double desiredDegrees;

Constant Variables are written in all caps with underscores seperating words.

double MAXIMUM_ANGLE;



Some Common Code Examples:

If Statement:

if (condition) {

}

If-Else Statement:

if (condition) {

} else {

}

If-ElseIf-Else Statement:

if (condition) {

} else if (condition) {

} else {

}




The Team


Ian Woodard

Lead Programmer


Michael Pritchett

Technician and Electrical Lead


Evan Jordan

Programmer


Molly Li

Programmer


Jordan Lagrone

Programmer


Isaiah Thompson

Programmer


Cheyenne Bowden

Programmer

About

the Cyborg Cats' Java code for FRC Destination: Deep Space 2019

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%