Class Transport

java.lang.Object
edu.wpi.first.wpilibj2.command.SubsystemBase
frc.robot.subsystems.Transport.Transport
All Implemented Interfaces:
edu.wpi.first.util.sendable.Sendable, edu.wpi.first.wpilibj2.command.Subsystem
Direct Known Subclasses:
TransportRealIO

public abstract class Transport extends edu.wpi.first.wpilibj2.command.SubsystemBase
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    edu.wpi.first.wpilibj.Timer
     
    boolean
     
    double
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Turns the transport mechanism on in reverse.
    void
     
    void
     
    void
    Turns the transport mechanism off.
    void
    Turns the transport mechanism on.

    Methods inherited from class edu.wpi.first.wpilibj2.command.SubsystemBase

    addChild, getName, getSubsystem, initSendable, setName, setSubsystem

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface edu.wpi.first.wpilibj2.command.Subsystem

    defer, getCurrentCommand, getDefaultCommand, register, removeDefaultCommand, run, runEnd, runOnce, setDefaultCommand, startEnd
  • Field Details

    • note_stored

      public boolean note_stored
    • color_refresh

      public edu.wpi.first.wpilibj.Timer color_refresh
    • prox

      public double prox
  • Constructor Details

    • Transport

      public Transport()
  • Method Details

    • transportOn

      public void transportOn()
      Turns the transport mechanism on.
    • transportOff

      public void transportOff()
      Turns the transport mechanism off.
    • outtake

      public void outtake()
      Turns the transport mechanism on in reverse.
    • periodic

      public void periodic()
    • simulationPeriodic

      public void simulationPeriodic()