Package org.littletonrobotics.junction
Interface ConsoleSource
- All Superinterfaces:
AutoCloseable
- All Known Implementing Classes:
ConsoleSource.RoboRIO,ConsoleSource.Simulator
Console logging source. Users should not interact with this class directly.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classReads console data on the RIO.static classReads console data while running in the simulator. -
Method Summary
Modifier and TypeMethodDescriptionReads all console data that has been produced since the last call to this method.Methods inherited from interface java.lang.AutoCloseable
close
-
Method Details
-
getNewData
String getNewData()Reads all console data that has been produced since the last call to this method.- Returns:
- The console data
-