Skip to content

Commit

Permalink
added datalogging lines
Browse files Browse the repository at this point in the history
  • Loading branch information
r4stered committed Nov 5, 2024
1 parent f439f5d commit a296843
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/main/cpp/Robot.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,14 @@

#include "Robot.h"

#include <frc/DataLogManager.h>
#include <frc/DriverStation.h>
#include <frc2/command/CommandScheduler.h>

Robot::Robot() {}
Robot::Robot() {
frc::DataLogManager::Start();
frc::DriverStation::StartDataLog(frc::DataLogManager::GetLog());
}

void Robot::RobotPeriodic() {
frc2::CommandScheduler::GetInstance().Run();
Expand Down

0 comments on commit a296843

Please sign in to comment.