Skip to content

Commit

Permalink
Add RobotBuilder usage reporting for C++ (#569)
Browse files Browse the repository at this point in the history
  • Loading branch information
sciencewhiz authored Nov 25, 2023
1 parent ec1e3f4 commit f76b2e8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/main/resources/export/cpp/CommandBasedRobot.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,15 @@

\#include "Robot.h"

\#include <hal/FRCUsageReporting.h>

\#include <frc/smartdashboard/SmartDashboard.h>
\#include <frc2/command/CommandScheduler.h>

void Robot::RobotInit() {
EnableLiveWindowInTest(true);
HAL_Report(HALUsageReporting::kResourceType_Framework,
HALUsageReporting::kFramework_RobotBuilder);
}

/**
Expand Down

0 comments on commit f76b2e8

Please sign in to comment.