Permalink
Browse files

Refactored to KING TeC 2018 Standard

  • Loading branch information...
Maxcr1 committed Apr 4, 2018
1 parent 9ba7435 commit aa0ef36075756df342b2f613a466224287914b45
Showing with 47 additions and 48 deletions.
  1. +2 −0 .gitignore
  2. +1 −1 build.properties
  3. +5 −5 src/{org/usfirst/frc → com}/team2169/robot/OI.java
  4. +19 −19 src/{org/usfirst/frc → com}/team2169/robot/Robot.java
  5. +1 −1 src/{org/usfirst/frc → com}/team2169/robot/RobotMap.java
  6. 0 src/{org/usfirst/frc → com}/team2169/robot/commands/auto/Auto_ContinouslyUpdateSlider.java
  7. 0 src/{org/usfirst/frc → com}/team2169/robot/commands/auto/Auto_Master.java
  8. 0 src/{org/usfirst/frc → com}/team2169/robot/commands/auto/Auto_Ramming.java
  9. 0 src/{org/usfirst/frc → com}/team2169/robot/commands/auto/Auto_RunHanger.java
  10. 0 src/{org/usfirst/frc → com}/team2169/robot/commands/auto/Auto_RunIntake.java
  11. 0 src/{org/usfirst/frc → com}/team2169/robot/commands/auto/Auto_SelfTest.java
  12. 0 src/{org/usfirst/frc → com}/team2169/robot/commands/auto/Auto_TestSolenoids.java
  13. 0 src/{org/usfirst/frc → com}/team2169/robot/commands/auto/DriveBackwards.java
  14. 0 src/{org/usfirst/frc → com}/team2169/robot/commands/auto/DriveForward.java
  15. 0 src/{org/usfirst/frc → com}/team2169/robot/commands/auto/DriveToPoint.java
  16. 0 src/{org/usfirst/frc → com}/team2169/robot/commands/auto/DriveTrainTurn.java
  17. 0 src/{org/usfirst/frc → com}/team2169/robot/commands/auto/RamDriveForward.java
  18. 0 src/{org/usfirst/frc → com}/team2169/robot/commands/auto/SetAlliance.java
  19. 0 src/{org/usfirst/frc → com}/team2169/robot/commands/auto/SetPosition.java
  20. 0 src/{org/usfirst/frc → com}/team2169/robot/commands/auto/TimedDriveBackwards.java
  21. 0 src/{org/usfirst/frc → com}/team2169/robot/commands/auto/TimedDriveForward.java
  22. 0 src/{org/usfirst/frc → com}/team2169/robot/commands/auto/TimedStop.java
  23. 0 src/{org/usfirst/frc → com}/team2169/robot/commands/doors/AnotherGearFlipCom.java
  24. 0 src/{org/usfirst/frc → com}/team2169/robot/commands/doors/GearSliderSolenoidFlip.java
  25. 0 src/{org/usfirst/frc → com}/team2169/robot/commands/doors/HumanPlayerSolenoidFlip.java
  26. 0 src/{org/usfirst/frc → com}/team2169/robot/commands/doors/SetGearDoor.java
  27. 0 src/{org/usfirst/frc → com}/team2169/robot/commands/drive/TankDrive.java
  28. 0 src/{org/usfirst/frc → com}/team2169/robot/commands/drive/TankDriveSolenoidFlip.java
  29. 0 src/{org/usfirst/frc → com}/team2169/robot/commands/drive/TankDriveSolenoidFlipOnce.java
  30. 0 src/{org/usfirst/frc → com}/team2169/robot/commands/gearSlider/CentralizeGearSlider.java
  31. 0 src/{org/usfirst/frc → com}/team2169/robot/commands/gearSlider/GearManip.java
  32. 0 src/{org/usfirst/frc → com}/team2169/robot/commands/gearSlider/SetSliderAutomatic.java
  33. 0 src/{org/usfirst/frc → com}/team2169/robot/commands/gearSlider/SwitchSliderAutomatic.java
  34. 0 src/{org/usfirst/frc → com}/team2169/robot/commands/hanging/Hanging.java
  35. 0 src/{org/usfirst/frc → com}/team2169/robot/commands/intake/Intake.java
  36. 0 src/{org/usfirst/frc → com}/team2169/robot/commands/intake/IntakeSolenoidFlip.java
  37. 0 src/{org/usfirst/frc → com}/team2169/robot/commands/intake/ReleaseIntake.java
  38. +2 −3 src/{org/usfirst/frc → com}/team2169/robot/subsystems/DriveTrain.java
  39. +2 −3 src/{org/usfirst/frc → com}/team2169/robot/subsystems/GearManipulator.java
  40. +2 −3 src/{org/usfirst/frc → com}/team2169/robot/subsystems/Hanger.java
  41. +2 −3 src/{org/usfirst/frc → com}/team2169/robot/subsystems/Intakes.java
  42. +1 −1 src/{org/usfirst/frc → com}/team2169/util/ADIS16448_IMU.java
  43. +2 −2 src/{org/usfirst/frc → com}/team2169/util/DriveToPointPID.java
  44. +3 −2 src/{org/usfirst/frc → com}/team2169/util/DrivingStraightPID.java
  45. +1 −1 src/{org/usfirst/frc → com}/team2169/util/KTMath.java
  46. +2 −2 src/{org/usfirst/frc → com}/team2169/util/SliderPID.java
  47. +2 −2 src/{org/usfirst/frc → com}/team2169/util/Vision.java
  48. BIN sysProps.xml~HEAD
  49. BIN sysProps.xml~Temp
@@ -0,0 +1,2 @@

bin/
@@ -1,4 +1,4 @@
# Project specific information
package=org.usfirst.frc.team2169.robot
package=com.team2169.robot
robot.class=${package}.Robot
simulation.world.file=/usr/share/frcsim/worlds/GearsBotDemo.world
@@ -1,9 +1,9 @@
package org.usfirst.frc.team2169.robot;
package com.team2169.robot;

import org.usfirst.frc.team2169.robot.commands.doors.AnotherGearFlipCom;
import org.usfirst.frc.team2169.robot.commands.doors.HumanPlayerSolenoidFlip;
import org.usfirst.frc.team2169.robot.commands.gearSlider.CentralizeGearSlider;
import org.usfirst.frc.team2169.robot.commands.intake.IntakeSolenoidFlip;
import com.team2169.robot.commands.doors.AnotherGearFlipCom;
import com.team2169.robot.commands.doors.HumanPlayerSolenoidFlip;
import com.team2169.robot.commands.gearSlider.CentralizeGearSlider;
import com.team2169.robot.commands.intake.IntakeSolenoidFlip;

import edu.wpi.first.wpilibj.Joystick;
import edu.wpi.first.wpilibj.buttons.JoystickButton;
@@ -1,25 +1,25 @@

package org.usfirst.frc.team2169.robot;
package com.team2169.robot;


import org.usfirst.frc.team2169.robot.commands.auto.Auto_Master;
import org.usfirst.frc.team2169.robot.commands.auto.SetAlliance;
import org.usfirst.frc.team2169.robot.commands.auto.SetPosition;
import org.usfirst.frc.team2169.robot.commands.drive.TankDrive;
import org.usfirst.frc.team2169.robot.commands.drive.TankDriveSolenoidFlip;
import org.usfirst.frc.team2169.robot.commands.gearSlider.CentralizeGearSlider;
import org.usfirst.frc.team2169.robot.commands.gearSlider.GearManip;
import org.usfirst.frc.team2169.robot.commands.hanging.Hanging;
import org.usfirst.frc.team2169.robot.commands.intake.Intake;
import org.usfirst.frc.team2169.robot.subsystems.DriveTrain;
import org.usfirst.frc.team2169.robot.subsystems.GearManipulator;
import org.usfirst.frc.team2169.robot.subsystems.Hanger;
import org.usfirst.frc.team2169.robot.subsystems.Intakes;
import org.usfirst.frc.team2169.util.ADIS16448_IMU;
import org.usfirst.frc.team2169.util.DriveToPointPID;
import org.usfirst.frc.team2169.util.DrivingStraightPID;
import org.usfirst.frc.team2169.util.KTMath;
import org.usfirst.frc.team2169.util.SliderPID;
import com.team2169.robot.commands.auto.Auto_Master;
import com.team2169.robot.commands.auto.SetAlliance;
import com.team2169.robot.commands.auto.SetPosition;
import com.team2169.robot.commands.drive.TankDrive;
import com.team2169.robot.commands.drive.TankDriveSolenoidFlip;
import com.team2169.robot.commands.gearSlider.CentralizeGearSlider;
import com.team2169.robot.commands.gearSlider.GearManip;
import com.team2169.robot.commands.hanging.Hanging;
import com.team2169.robot.commands.intake.Intake;
import com.team2169.robot.subsystems.DriveTrain;
import com.team2169.robot.subsystems.GearManipulator;
import com.team2169.robot.subsystems.Hanger;
import com.team2169.robot.subsystems.Intakes;
import com.team2169.util.ADIS16448_IMU;
import com.team2169.util.DriveToPointPID;
import com.team2169.util.DrivingStraightPID;
import com.team2169.util.KTMath;
import com.team2169.util.SliderPID;

import edu.wpi.cscore.UsbCamera;
import edu.wpi.first.wpilibj.CameraServer;
@@ -1,4 +1,4 @@
package org.usfirst.frc.team2169.robot;
package com.team2169.robot;

/**
* The RobotMap is a mapping from the ports sensors and actuators are wired into
@@ -1,8 +1,7 @@
package org.usfirst.frc.team2169.robot.subsystems;

import org.usfirst.frc.team2169.util.ADIS16448_IMU;
package com.team2169.robot.subsystems;

import com.ctre.CANTalon;
import com.team2169.util.ADIS16448_IMU;

import edu.wpi.first.wpilibj.Compressor;
import edu.wpi.first.wpilibj.DoubleSolenoid;
@@ -1,8 +1,7 @@
package org.usfirst.frc.team2169.robot.subsystems;

import org.usfirst.frc.team2169.robot.Robot;
package com.team2169.robot.subsystems;

import com.ctre.CANTalon;
import com.team2169.robot.Robot;

import edu.wpi.first.wpilibj.DigitalInput;
import edu.wpi.first.wpilibj.DoubleSolenoid;
@@ -1,8 +1,7 @@
package org.usfirst.frc.team2169.robot.subsystems;

import org.usfirst.frc.team2169.robot.Robot;
package com.team2169.robot.subsystems;

import com.ctre.CANTalon;
import com.team2169.robot.Robot;

import edu.wpi.first.wpilibj.DigitalInput;
import edu.wpi.first.wpilibj.GenericHID.RumbleType;
@@ -1,8 +1,7 @@
package org.usfirst.frc.team2169.robot.subsystems;

import org.usfirst.frc.team2169.robot.Robot;
package com.team2169.robot.subsystems;

import com.ctre.CANTalon;
import com.team2169.robot.Robot;

import edu.wpi.first.wpilibj.DoubleSolenoid;
import edu.wpi.first.wpilibj.DoubleSolenoid.Value;
@@ -5,7 +5,7 @@
/* the project. */
/*----------------------------------------------------------------------------*/

package org.usfirst.frc.team2169.util;
package com.team2169.util;

import java.nio.ByteOrder;
import java.nio.ByteBuffer;
@@ -1,6 +1,6 @@
package org.usfirst.frc.team2169.util;
package com.team2169.util;

import org.usfirst.frc.team2169.robot.Robot;
import com.team2169.robot.Robot;

import edu.wpi.first.wpilibj.command.PIDSubsystem;
import edu.wpi.first.wpilibj.livewindow.LiveWindow;
@@ -1,6 +1,7 @@
package org.usfirst.frc.team2169.util;
package com.team2169.util;

import com.team2169.robot.Robot;

import org.usfirst.frc.team2169.robot.Robot;
import edu.wpi.first.wpilibj.command.PIDSubsystem;
import edu.wpi.first.wpilibj.livewindow.LiveWindow;

@@ -1,4 +1,4 @@
package org.usfirst.frc.team2169.util;
package com.team2169.util;

import edu.wpi.first.wpilibj.command.Subsystem;

@@ -1,5 +1,5 @@
package org.usfirst.frc.team2169.util;
import org.usfirst.frc.team2169.robot.Robot;
package com.team2169.util;
import com.team2169.robot.Robot;

import edu.wpi.first.wpilibj.command.PIDSubsystem;
import edu.wpi.first.wpilibj.livewindow.LiveWindow;
@@ -1,6 +1,6 @@
package org.usfirst.frc.team2169.util;
package com.team2169.util;

import org.usfirst.frc.team2169.robot.Robot;
import com.team2169.robot.Robot;

import edu.wpi.first.wpilibj.command.Subsystem;
import edu.wpi.first.wpilibj.networktables.NetworkTable;
BIN -6.05 KB sysProps.xml~HEAD
Binary file not shown.
BIN -6.05 KB sysProps.xml~Temp
Binary file not shown.

0 comments on commit aa0ef36

Please sign in to comment.