Skip to content

Commit e1e03ed

Browse files
committed
enable driver station logs
1 parent ac84c6e commit e1e03ed

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

robot.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,9 @@ def createObjects(self) -> None:
6060
self.event_loop = wpilib.event.EventLoop()
6161
self.data_log = wpilib.DataLogManager.getLog()
6262

63+
# Log driver station data
64+
wpilib.DriverStation.startDataLog(self.data_log)
65+
6366
# Log deploy info to show in AdvantageScope.
6467
meta_table = ntcore.NetworkTableInstance.getDefault().getTable("Metadata")
6568
deploy_info = wpilib.deployinfo.getDeployData()

0 commit comments

Comments
 (0)