mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-27 02:01:42 +00:00
Removed @author from comments (#88)
Keeping @author lines in the comments serves no functional purpose.
This commit is contained in:
committed by
Peter Johnson
parent
7a402b4170
commit
2f7eff7091
@@ -20,8 +20,6 @@ import edu.wpi.first.wpilibj.tables.ITable;
|
||||
|
||||
/**
|
||||
* ADXL345 I2C Accelerometer.
|
||||
*
|
||||
* @author dtjones
|
||||
*/
|
||||
@SuppressWarnings("TypeName")
|
||||
public class ADXL345_I2C extends SensorBase implements Accelerometer, LiveWindowSendable {
|
||||
|
||||
@@ -20,9 +20,6 @@ import edu.wpi.first.wpilibj.tables.ITable;
|
||||
|
||||
/**
|
||||
* ADXL345 SPI Accelerometer.
|
||||
*
|
||||
* @author dtjones
|
||||
* @author mwills
|
||||
*/
|
||||
@SuppressWarnings({"TypeName"})
|
||||
public class ADXL345_SPI extends SensorBase implements Accelerometer, LiveWindowSendable {
|
||||
|
||||
@@ -9,8 +9,6 @@ package edu.wpi.first.wpilibj;
|
||||
|
||||
/**
|
||||
* Structure for holding the values stored in an accumulator.
|
||||
*
|
||||
* @author brad
|
||||
*/
|
||||
public class AccumulatorResult {
|
||||
|
||||
|
||||
@@ -15,9 +15,6 @@ import edu.wpi.first.wpilibj.tables.ITable;
|
||||
* Class for reading analog potentiometers. Analog potentiometers read in an analog voltage that
|
||||
* corresponds to a position. The position is in whichever units you choose, by way of the scaling
|
||||
* and offset constants passed to the constructor.
|
||||
*
|
||||
* @author Alex Henning
|
||||
* @author Colby Skeggs (rail voltage)
|
||||
*/
|
||||
public class AnalogPotentiometer implements Potentiometer, LiveWindowSendable {
|
||||
private AnalogInput m_analogInput;
|
||||
|
||||
@@ -20,8 +20,6 @@ import static java.util.Objects.requireNonNull;
|
||||
|
||||
/**
|
||||
* Class for creating and configuring Analog Triggers.
|
||||
*
|
||||
* @author dtjones
|
||||
*/
|
||||
public class AnalogTrigger {
|
||||
|
||||
|
||||
@@ -112,8 +112,6 @@ public class AnalogTriggerOutput extends DigitalSource {
|
||||
|
||||
/**
|
||||
* Defines the state in which the AnalogTrigger triggers.
|
||||
*
|
||||
* @author jonathanleitschuh
|
||||
*/
|
||||
public enum AnalogTriggerType {
|
||||
kInWindow(AnalogJNI.AnalogTriggerType.kInWindow), kState(AnalogJNI.AnalogTriggerType.kState),
|
||||
|
||||
@@ -19,8 +19,6 @@ import edu.wpi.first.wpilibj.util.CheckedAllocationException;
|
||||
|
||||
/**
|
||||
* Texas Instruments Jaguar Speed Controller as a CAN device.
|
||||
*
|
||||
* @author Thomas Clark
|
||||
*/
|
||||
public class CANJaguar implements MotorSafety, PIDOutput, CANSpeedController {
|
||||
|
||||
|
||||
@@ -16,15 +16,12 @@ import edu.wpi.first.wpilibj.hal.InterruptJNI.InterruptJNIHandlerFunction;
|
||||
*
|
||||
* @param <T> The type of the parameter that should be returned to the the method {@link
|
||||
* #interruptFired(int, Object)}
|
||||
* @author Jonathan Leitschuh
|
||||
*/
|
||||
public abstract class InterruptHandlerFunction<T> {
|
||||
/**
|
||||
* The entry point for the interrupt. When the interrupt fires the {@link #apply(int, Object)}
|
||||
* method is called. The outer class is provided as an interface to allow the implementer to pass
|
||||
* a generic object to the interrupt fired method.
|
||||
*
|
||||
* @author Jonathan Leitschuh
|
||||
*/
|
||||
private class Function implements InterruptJNIHandlerFunction {
|
||||
@SuppressWarnings("unchecked")
|
||||
|
||||
@@ -12,8 +12,6 @@ package edu.wpi.first.wpilibj;
|
||||
* Safety protocol. The helper object has the code to actually do the timing and call the motors
|
||||
* Stop() method when the timeout expires. The motor object is expected to call the Feed() method
|
||||
* whenever the motors value is updated.
|
||||
*
|
||||
* @author brad
|
||||
*/
|
||||
public final class MotorSafetyHelper {
|
||||
|
||||
|
||||
@@ -13,8 +13,6 @@ import edu.wpi.first.wpilibj.tables.ITable;
|
||||
|
||||
/**
|
||||
* Class for getting voltage, current, temperature, power and energy from the CAN PDP.
|
||||
*
|
||||
* @author Thomas Clark
|
||||
*/
|
||||
public class PowerDistributionPanel extends SensorBase implements LiveWindowSendable {
|
||||
|
||||
|
||||
@@ -28,8 +28,6 @@ import edu.wpi.first.wpilibj.tables.TableKeyNotDefinedException;
|
||||
*
|
||||
* <p> This will also interact with {@link NetworkTable} by creating a table called "Preferences"
|
||||
* with all the key-value pairs. </p>
|
||||
*
|
||||
* @author Joe Grinstead
|
||||
*/
|
||||
public class Preferences {
|
||||
|
||||
|
||||
@@ -16,8 +16,6 @@ import edu.wpi.first.wpilibj.hal.SPIJNI;
|
||||
|
||||
/**
|
||||
* Represents a SPI bus port.
|
||||
*
|
||||
* @author koconnor
|
||||
*/
|
||||
public class SPI extends SensorBase {
|
||||
|
||||
|
||||
@@ -9,8 +9,6 @@ package edu.wpi.first.wpilibj;
|
||||
|
||||
/**
|
||||
* Manages a PWM object.
|
||||
*
|
||||
* @author brad
|
||||
*/
|
||||
public class SafePWM extends PWM implements MotorSafety {
|
||||
|
||||
|
||||
@@ -13,8 +13,6 @@ import edu.wpi.first.wpilibj.util.SortedVector;
|
||||
|
||||
/**
|
||||
* An image where each pixel is treated as either on or off.
|
||||
*
|
||||
* @author dtjones
|
||||
*/
|
||||
public class BinaryImage extends MonoImage {
|
||||
private int m_numParticles = -1;
|
||||
|
||||
@@ -11,8 +11,6 @@ import com.ni.vision.NIVision;
|
||||
|
||||
/**
|
||||
* A class representing a color image.
|
||||
*
|
||||
* @author dtjones
|
||||
*/
|
||||
public abstract class ColorImage extends ImageBase {
|
||||
|
||||
|
||||
@@ -11,8 +11,6 @@ import com.ni.vision.NIVision;
|
||||
|
||||
/**
|
||||
* A color image represented in HSL color space at 3 bytes per pixel.
|
||||
*
|
||||
* @author dtjones
|
||||
*/
|
||||
public class HSLImage extends ColorImage {
|
||||
|
||||
|
||||
@@ -12,8 +12,6 @@ import com.ni.vision.NIVision.Image;
|
||||
|
||||
/**
|
||||
* Class representing a generic image.
|
||||
*
|
||||
* @author dtjones
|
||||
*/
|
||||
public abstract class ImageBase {
|
||||
|
||||
|
||||
@@ -16,8 +16,6 @@ import com.ni.vision.NIVision.ShapeDetectionOptions;
|
||||
|
||||
/**
|
||||
* A grey scale image represented at a byte per pixel.
|
||||
*
|
||||
* @author dtjones
|
||||
*/
|
||||
public class MonoImage extends ImageBase {
|
||||
|
||||
|
||||
@@ -9,8 +9,6 @@ package edu.wpi.first.wpilibj.image;
|
||||
|
||||
/**
|
||||
* Exception class which looks up nivision error codes.
|
||||
*
|
||||
* @author dtjones
|
||||
*/
|
||||
@SuppressWarnings("all")
|
||||
public class NIVisionException extends Exception {
|
||||
|
||||
@@ -11,8 +11,6 @@ import com.ni.vision.NIVision;
|
||||
|
||||
/**
|
||||
* Class to store commonly used information about a particle.
|
||||
*
|
||||
* @author dtjones
|
||||
*/
|
||||
public class ParticleAnalysisReport {
|
||||
|
||||
|
||||
@@ -11,8 +11,6 @@ import com.ni.vision.NIVision;
|
||||
|
||||
/**
|
||||
* A color image represented in RGB color space at 3 bytes per pixel.
|
||||
*
|
||||
* @author dtjones
|
||||
*/
|
||||
public class RGBImage extends ColorImage {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user