Skip to content

Commit

Permalink
Log roboRIO information
Browse files Browse the repository at this point in the history
  • Loading branch information
superpenguin612 committed Mar 20, 2024
1 parent 3285bca commit 19287c8
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/main/java/frc/robot/RobotContainer.java
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
import com.techhounds.houndutil.houndauto.AutoManager;
import com.techhounds.houndutil.houndauto.Reflector;
import com.techhounds.houndutil.houndlib.SparkConfigurator;
import com.techhounds.houndutil.houndlog.LogGroup;
import com.techhounds.houndutil.houndlog.LogProfileBuilder;
import com.techhounds.houndutil.houndlog.LoggingManager;
import com.techhounds.houndutil.houndlog.interfaces.Log;
import com.techhounds.houndutil.houndlog.interfaces.SendableLog;
Expand Down Expand Up @@ -137,7 +139,8 @@ public RobotContainer() {

LoggingManager.getInstance().registerRobotContainer(this);
LoggingManager.getInstance().registerClass(LoggingManager.class, "houndlog", new ArrayList<>());

LoggingManager.getInstance()
.addGroup(new LogGroup("robotController", LogProfileBuilder.buildRobotControllerLogItems()));
LiveWindow.disableAllTelemetry(); // livewindow is basically deprecated. using houndlog instead.

if (RobotBase.isSimulation()) {
Expand Down

0 comments on commit 19287c8

Please sign in to comment.