Commit Graph

33 Commits

Author SHA1 Message Date
Keenan D. Buckley e373211f27 Convert RobotTime into a singleton 2020-03-28 21:42:08 -06:00
Keenan D. Buckley 850f503889 Create RobotMap to decouple Subsystems from their hardware.
With the hardware objects decoupled from the subsystems, we can then pass mock hardware into these subsystems to run simulations/tests on.
2020-03-28 21:27:15 -06:00
Keenan D. Buckley 2c5ae300b4 Example Usage of getRobotGyro
If you need to access an object from outside the subsystem, you should do this.
2020-03-27 13:44:10 -06:00
Keenan D. Buckley 17fbc03999 Changed subsystem variables to private where applicable
May need to be changed later, but try to use methods to access these variables instead of accessing them directly, as it fits better with the command based model and will be easier to rewrite should motors change, usage changes, etc.
2020-03-27 13:42:20 -06:00
Keenan D. Buckley 4271a66d1a Add basic getRate() functionallity for Pigeons 2020-03-27 12:32:46 -06:00
Keenan D. Buckley ecff989745 Create RobotTime
To keep track of deltas, frames, and times. Need it for completing pigeon gyro rates.
2020-03-27 12:20:22 -06:00
Keenan D. Buckley f310c8d90a Create the RobotGyro Object
Will allow for easily interchangable use of a pigeon or a navX. Just swap which gyro you pass RobotGyro. More advanced functionality like RemoteSensors with the pigeon and collision detection with the navX will have to be done by getting the gyro from RobotGyro and then using it.
2020-03-27 11:36:35 -06:00
Keenan D. Buckley e8be8ef16e Remove static declaration where applicable
Using these objects should instead be done by passing the needed subsystem reference in RobotContainer
2020-03-27 08:54:56 -06:00
Keenan D. Buckley 15b5c9cecb Robot Work Now
Default commands didn't have a required subsystem, causing the program to crash on launch.
2020-01-10 21:30:36 -07:00
Keenan D. Buckley 1f35e8831a Replaced LED Commands with Inline Commands 2020-01-05 21:26:49 -07:00
Keenan D. Buckley 48e2e2238a Replaced DriveWithJoystick with Inline Command 2020-01-05 21:07:16 -07:00
Keenan D. Buckley 732a849a5a Add Documentation to Commands in RobotContainer.java 2020-01-05 21:06:38 -07:00
Keenan D. Buckley 5054e32dcb Merge branch 'master' into inline-commands 2020-01-06 03:50:59 +00:00
Keenan D. Buckley e0478d2f0d Change GamerMove into an inline command 2020-01-05 20:47:09 -07:00
Keenan D. Buckley 1ae7a3abaa Remove Unusable Code 2020-01-05 20:27:47 -07:00
Keenan D. Buckley 7e57cf8f2d Added "Add your docs here" flags to all needed methods
- All methods that need javadoc have been marked with

/**
 * Add your docs here.
 */
2020-01-05 20:27:01 -07:00
Keenan D. Buckley f466abead2 Move LEDPatterns.java to utility 2020-01-05 20:23:52 -07:00
Keenan D. Buckley c16c8ba395 Merge branch 'master' into 2020-framework-update 2020-01-06 02:08:05 +00:00
Keenan D. Buckley c52bbdd2ee Implement new Command Based Framework 2020-01-05 18:59:50 -07:00
Keenan D. Buckley 6fb373969d Implement new RobotContainer.java and Constants.java Classes
- OI.java has been deprecated and replaced with RobotContainer.java
- RobotMap.java has been deprecated and replaced with Constants.java
- Changes have been made to use the new classes without errors; some of these changes will be changed in the future
2020-01-05 17:35:52 -07:00
Keenan D. Buckley ec2412a31e Removed unused lines of code 2020-01-05 11:03:40 -07:00
Keenan D. Buckley a9c60ff35b Add meme text on robot init 2019-12-27 15:34:53 -07:00
Keenan D. Buckley ec873a2835 LED Command Based 2019-12-21 20:41:34 -07:00
Keenan D. Buckley cb904002ad Change Drive to operate on a command based model 2019-12-20 12:53:02 -07:00
HFocus c9da9d8585 Implement Drive Code 2019-08-07 19:20:10 -06:00
HFocus 7a19b683f6 Setup Motors and Controllers 2019-08-07 18:48:49 -06:00
HFocus 4c90f039ef Formatting and Conventions Work pt2 2019-08-07 18:47:51 -06:00
HFocus 745d55342d Formating and Conventions Work
- Moved controller code to utilities
- added m_ prefix to member variables to stick with conventions
2019-08-07 18:46:31 -06:00
Keenan D. Buckley ecef9065de Rename XBoxTriggerButton.java to XboxTriggerButton.java 2019-08-04 16:21:56 -06:00
HFocus dc957675d3 Add Blinken LED functionality 2019-08-04 16:19:40 -06:00
HFocus 2b0cad989c Update documentation for Xbox Controllers 2019-08-04 15:58:48 -06:00
HFocus 31d4087d6d Change package name and add Xbox360 controller code 2019-08-03 18:56:15 -06:00
HFocus d7f9bd1473 Initial commit 2019-07-07 14:04:30 -06:00