mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-23 01:21:42 +00:00
Removed the old "parsing" interfaces
Change-Id: I94ff79f36d5b61f90c2f242fa06816bf3a3b7ac2
This commit is contained in:
@@ -7,7 +7,6 @@
|
||||
package edu.wpi.first.wpilibj;
|
||||
|
||||
import edu.wpi.first.wpilibj.livewindow.LiveWindowSendable;
|
||||
import edu.wpi.first.wpilibj.parsing.IUtility;
|
||||
import edu.wpi.first.wpilibj.tables.ITable;
|
||||
import edu.wpi.first.wpilibj.tables.ITableListener;
|
||||
import edu.wpi.first.wpilibj.util.BoundaryException;
|
||||
@@ -19,7 +18,7 @@ import edu.wpi.first.wpilibj.util.BoundaryException;
|
||||
* care of the integral calculations, as well as writing the given
|
||||
* PIDOutput
|
||||
*/
|
||||
public class PIDController implements IUtility, LiveWindowSendable, Controller {
|
||||
public class PIDController implements LiveWindowSendable, Controller {
|
||||
|
||||
public static final double kDefaultPeriod = .05;
|
||||
private static int instances = 0;
|
||||
@@ -264,7 +263,7 @@ public class PIDController implements IUtility, LiveWindowSendable, Controller {
|
||||
pidOutput = m_pidOutput;
|
||||
result = m_result;
|
||||
}
|
||||
|
||||
|
||||
pidOutput.pidWrite(result);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,15 +0,0 @@
|
||||
/*----------------------------------------------------------------------------*/
|
||||
/* Copyright (c) FIRST 2008-2012. All Rights Reserved. */
|
||||
/* Open Source Software - may be modified and shared by FRC teams. The code */
|
||||
/* must be accompanied by the FIRST BSD license file in the root directory of */
|
||||
/* the project. */
|
||||
/*----------------------------------------------------------------------------*/
|
||||
|
||||
package edu.wpi.first.wpilibj.parsing;
|
||||
|
||||
/**
|
||||
* An IDevice is any WPILibJ object which can be used in the creation of the
|
||||
* robot program
|
||||
* @author Ryan O'Meara
|
||||
*/
|
||||
public interface IDevice {}
|
||||
@@ -1,15 +0,0 @@
|
||||
/*----------------------------------------------------------------------------*/
|
||||
/* Copyright (c) FIRST 2008-2012. All Rights Reserved. */
|
||||
/* Open Source Software - may be modified and shared by FRC teams. The code */
|
||||
/* must be accompanied by the FIRST BSD license file in the root directory of */
|
||||
/* the project. */
|
||||
/*----------------------------------------------------------------------------*/
|
||||
|
||||
package edu.wpi.first.wpilibj.parsing;
|
||||
|
||||
/**
|
||||
* IDeviceController is implemented by control elements in the robot. An
|
||||
* example of this would be a victor
|
||||
* @author Ryan O'Meara
|
||||
*/
|
||||
public interface IDeviceController extends IDevice {}
|
||||
@@ -1,16 +0,0 @@
|
||||
/*----------------------------------------------------------------------------*/
|
||||
/* Copyright (c) FIRST 2008-2012. All Rights Reserved. */
|
||||
/* Open Source Software - may be modified and shared by FRC teams. The code */
|
||||
/* must be accompanied by the FIRST BSD license file in the root directory of */
|
||||
/* the project. */
|
||||
/*----------------------------------------------------------------------------*/
|
||||
|
||||
package edu.wpi.first.wpilibj.parsing;
|
||||
|
||||
/**
|
||||
* IInputOutput is implemented by devices which provide the robot with data and
|
||||
* allow it to react to its environment. An example of an input/output would be
|
||||
* a joystick
|
||||
* @author Ryan O'Meara
|
||||
*/
|
||||
public interface IInputOutput extends IDevice {}
|
||||
@@ -1,17 +0,0 @@
|
||||
/*----------------------------------------------------------------------------*/
|
||||
/* Copyright (c) FIRST 2008-2012. All Rights Reserved. */
|
||||
/* Open Source Software - may be modified and shared by FRC teams. The code */
|
||||
/* must be accompanied by the FIRST BSD license file in the root directory of */
|
||||
/* the project. */
|
||||
/*----------------------------------------------------------------------------*/
|
||||
|
||||
package edu.wpi.first.wpilibj.parsing;
|
||||
|
||||
/**
|
||||
* The IMechanism interface is implemented by any class to be classified as a
|
||||
* mechanism. These are user-defined, and contain other devices (which implement
|
||||
* IDevice). They are generally over-arching systems, such as the drive train or
|
||||
* arm
|
||||
* @author Ryan O'Meara
|
||||
*/
|
||||
public interface IMechanism {}
|
||||
@@ -1,17 +0,0 @@
|
||||
/*----------------------------------------------------------------------------*/
|
||||
/* Copyright (c) FIRST 2008-2012. All Rights Reserved. */
|
||||
/* Open Source Software - may be modified and shared by FRC teams. The code */
|
||||
/* must be accompanied by the FIRST BSD license file in the root directory of */
|
||||
/* the project. */
|
||||
/*----------------------------------------------------------------------------*/
|
||||
|
||||
package edu.wpi.first.wpilibj.parsing;
|
||||
|
||||
/**
|
||||
* ISensor is extended by any WPILibJ class to be categorized as a sensor in the
|
||||
* java program builder. A sensor is a robot part that provides the robot with
|
||||
* information about its environment. An example of this is the Ultrasonic
|
||||
* sensor class
|
||||
* @author Ryan O'Meara
|
||||
*/
|
||||
public interface ISensor extends IDevice {}
|
||||
Reference in New Issue
Block a user