Keenan D. Buckley
ec1d4a5230
Merge pull request #17 from Team4388/dependency-injection
...
Setup Unit Testing
2020-04-11 16:36:39 +00:00
Keenan D. Buckley
1ec273a39b
Add tests for getRate() function in RobotGyro
2020-04-08 10:27:33 -06:00
Keenan D. Buckley
a56ca65d14
Add tests for RobotTime class
2020-04-08 09:30:16 -06:00
Keenan D. Buckley
21566c6c15
Cleanup Code
2020-03-29 00:26:57 -06:00
Keenan D. Buckley
d354ac078b
Create Mock PigeonIMU and write more Unit tests
...
- Test to make sure the RoboyGyro class knows what kind of gyro its using
- Test to make sure all the getters for the gyro class work (at least for pigeon)
2020-03-29 00:10:06 -06:00
Keenan D. Buckley
f06b36e443
Add LEDSubsystem Test
2020-03-28 23:16:04 -06:00
Keenan D. Buckley
7cad919e71
Improve Gyro Heading Test
2020-03-28 23:15:45 -06:00
Keenan D. Buckley
9be0a7fe48
Fix broken test
2020-03-28 22:49:32 -06:00
Keenan D. Buckley
57442554ad
Broken test for testing the CI
2020-03-28 22:47:55 -06:00
Keenan D. Buckley
489d4a5bff
Set up Mockito and simple Unit Test
2020-03-28 22:45:44 -06:00
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
2e0330cab5
Merge pull request #9 from Team4388/add-gyro
...
Add Gyroscope to Robot Essentials
2020-03-28 04:26:18 +00: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
d7956582d7
Update WPILib version
2020-03-27 08:51:17 -06:00
Keenan D. Buckley
7619a0be65
Update LICENSE so FIRST doesn't sue us
2020-02-17 10:45:36 -07: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
ryan123rudder
f34fe096eb
Merge pull request #8 from Team4388/inline-commands
...
Optimize Commands to Reduce Uneeded Verbosity
2020-01-07 11:06:51 -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
3f738b499c
Merge pull request #7 from Team4388/shrink-code
...
Cleanup Code and Documentation
2020-01-06 03:42:16 +00: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
ee9c2c754f
Merge pull request #6 from Team4388/2020-framework-update
...
2020 Framework Update
2020-01-06 02:21:34 +00: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
ff7d17809c
Import 2019 into 2020
2020-01-05 11:01:43 -07:00
Keenan D. Buckley
d41880191c
Merge pull request #5 from Team4388/meme-1
...
Joe
2020-01-05 16:21:16 +00:00
Keenan D. Buckley
a9c60ff35b
Add meme text on robot init
2019-12-27 15:34:53 -07:00
Keenan D. Buckley
9b3b370594
Merge pull request #4 from Team4388/command-based-update
...
Command based update
2019-12-22 03:47:15 +00:00
Keenan D. Buckley
ec873a2835
LED Command Based
2019-12-21 20:41:34 -07:00
Keenan D. Buckley
c690466356
Update build.gradle
...
Fixes the version so that the code will compile. No idea how to use 2020 version.
2019-12-20 13:23:51 -07:00
Keenan D. Buckley
cb904002ad
Change Drive to operate on a command based model
2019-12-20 12:53:02 -07:00
Keenan D. Buckley
9cb8e6d6d6
Add Continous Integration
...
Github service to check if any commit to master or pull request to master is able to build. To be used in pull requests to make sure code will build before a code review.
2019-12-04 14:34:07 -07:00
Keenan D. Buckley
6841102cfe
Update build.gradle
2019-11-28 14:24:12 -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