Package com.marswars.subsystem
Interface SubsystemIoBase
- All Known Implementing Classes:
ArmMech,ElevatorMech,FlywheelMech,GrappleTof,Gyro,MechBase,Module,ModuleTalonFX,Pigeon2Gyro,PwfTof,RollerMech,SubsystemIO,SwerveMech,Tof,TurretMech
public interface SubsystemIoBase
-
Method Summary
Modifier and TypeMethodDescriptionvoidlogData()Log data to NetworkTables or other logging systemsvoidreadInputs(double timestamp) Read inputs from hardware or simulationvoidwriteOutputs(double timestamp) Write outputs to hardware or simulation
-
Method Details
-
readInputs
void readInputs(double timestamp) Read inputs from hardware or simulation- Parameters:
timestamp- the current timestamp
-
writeOutputs
void writeOutputs(double timestamp) Write outputs to hardware or simulation- Parameters:
timestamp- the current timestamp
-
logData
void logData()Log data to NetworkTables or other logging systems
-