SCRIPT Run cc include replacements

This commit is contained in:
PJ Reiniger
2025-11-07 19:56:21 -05:00
committed by Peter Johnson
parent f0a3c64121
commit 7c6efa41ae
2477 changed files with 8882 additions and 8882 deletions

View File

@@ -12,22 +12,22 @@
#include <utility>
#include <string_view>
#include <glass/Context.h>
#include <glass/MainMenuBar.h>
#include <glass/Storage.h>
#include <glass/Window.h>
#include <glass/WindowManager.h>
#include <glass/other/Log.h>
#include "wpi/glass/Context.hpp"
#include "wpi/glass/MainMenuBar.hpp"
#include "wpi/glass/Storage.hpp"
#include "wpi/glass/Window.hpp"
#include "wpi/glass/WindowManager.hpp"
#include "wpi/glass/other/Log.hpp"
#include <imgui.h>
#include <wpi/Logger.h>
#include <wpi/print.h>
#include <wpigui.h>
#include <wpigui_openurl.h>
#include "wpi/util/Logger.hpp"
#include "wpi/util/print.hpp"
#include "wpi/gui/wpigui.hpp"
#include "wpi/gui/wpigui_openurl.hpp"
#include "sysid/view/Analyzer.h"
#include "sysid/view/DataSelector.h"
#include "sysid/view/LogLoader.h"
#include "sysid/view/UILayout.h"
#include "wpi/sysid/view/Analyzer.hpp"
#include "wpi/sysid/view/DataSelector.hpp"
#include "wpi/sysid/view/LogLoader.hpp"
#include "wpi/sysid/view/UILayout.hpp"
namespace gui = wpi::gui;

View File

@@ -2,14 +2,14 @@
// Open Source Software; you can modify and/or share it under the terms of
// the WPILib BSD license file in the root directory of this project.
#include "sysid/Util.h"
#include "wpi/sysid/Util.hpp"
#include <filesystem>
#include <stdexcept>
#include <IconsFontAwesome6.h>
#include <imgui.h>
#include <wpi/raw_ostream.h>
#include "wpi/util/raw_ostream.hpp"
void sysid::CreateTooltip(const char* text) {
ImGui::SameLine();

View File

@@ -2,7 +2,7 @@
// Open Source Software; you can modify and/or share it under the terms of
// the WPILib BSD license file in the root directory of this project.
#include "sysid/analysis/AnalysisManager.h"
#include "wpi/sysid/analysis/AnalysisManager.hpp"
#include <cmath>
#include <limits>
@@ -10,13 +10,13 @@
#include <vector>
#include <fmt/format.h>
#include <units/angle.h>
#include <wpi/MathExtras.h>
#include <wpi/StringExtras.h>
#include <wpi/StringMap.h>
#include "wpi/units/angle.hpp"
#include "wpi/util/MathExtras.hpp"
#include "wpi/util/StringExtras.hpp"
#include "wpi/util/StringMap.hpp"
#include "sysid/analysis/FeedforwardAnalysis.h"
#include "sysid/analysis/FilteringUtils.h"
#include "wpi/sysid/analysis/FeedforwardAnalysis.hpp"
#include "wpi/sysid/analysis/FilteringUtils.hpp"
using namespace sysid;

View File

@@ -2,13 +2,13 @@
// Open Source Software; you can modify and/or share it under the terms of
// the WPILib BSD license file in the root directory of this project.
#include "sysid/analysis/ArmSim.h"
#include "wpi/sysid/analysis/ArmSim.hpp"
#include <cmath>
#include <frc/StateSpaceUtil.h>
#include <frc/system/NumericalIntegration.h>
#include <wpi/MathExtras.h>
#include "wpi/math/util/StateSpaceUtil.hpp"
#include "wpi/math/system/NumericalIntegration.hpp"
#include "wpi/util/MathExtras.hpp"
using namespace sysid;

View File

@@ -2,11 +2,11 @@
// Open Source Software; you can modify and/or share it under the terms of
// the WPILib BSD license file in the root directory of this project.
#include "sysid/analysis/ElevatorSim.h"
#include "wpi/sysid/analysis/ElevatorSim.hpp"
#include <frc/StateSpaceUtil.h>
#include <frc/system/Discretization.h>
#include <wpi/MathExtras.h>
#include "wpi/math/util/StateSpaceUtil.hpp"
#include "wpi/math/system/Discretization.hpp"
#include "wpi/util/MathExtras.hpp"
using namespace sysid;

View File

@@ -2,18 +2,18 @@
// Open Source Software; you can modify and/or share it under the terms of
// the WPILib BSD license file in the root directory of this project.
#include "sysid/analysis/FeedbackAnalysis.h"
#include "wpi/sysid/analysis/FeedbackAnalysis.hpp"
#include <cmath>
#include <frc/controller/LinearQuadraticRegulator.h>
#include <frc/system/LinearSystem.h>
#include <frc/system/plant/LinearSystemId.h>
#include <units/acceleration.h>
#include <units/velocity.h>
#include <units/voltage.h>
#include "wpi/math/controller/LinearQuadraticRegulator.hpp"
#include "wpi/math/system/LinearSystem.hpp"
#include "wpi/math/system/plant/LinearSystemId.hpp"
#include "wpi/units/acceleration.hpp"
#include "wpi/units/velocity.hpp"
#include "wpi/units/voltage.hpp"
#include "sysid/analysis/FeedbackControllerPreset.h"
#include "wpi/sysid/analysis/FeedbackControllerPreset.hpp"
using namespace sysid;

View File

@@ -2,7 +2,7 @@
// Open Source Software; you can modify and/or share it under the terms of
// the WPILib BSD license file in the root directory of this project.
#include "sysid/analysis/FeedforwardAnalysis.h"
#include "wpi/sysid/analysis/FeedforwardAnalysis.hpp"
#include <array>
#include <bitset>
@@ -13,10 +13,10 @@
#include <Eigen/Eigenvalues>
#include <fmt/format.h>
#include <fmt/ranges.h>
#include <units/math.h>
#include <units/time.h>
#include "wpi/units/math.hpp"
#include "wpi/units/time.hpp"
#include "sysid/analysis/OLS.h"
#include "wpi/sysid/analysis/OLS.hpp"
namespace sysid {

View File

@@ -2,7 +2,7 @@
// Open Source Software; you can modify and/or share it under the terms of
// the WPILib BSD license file in the root directory of this project.
#include "sysid/analysis/FilteringUtils.h"
#include "wpi/sysid/analysis/FilteringUtils.hpp"
#include <algorithm>
#include <functional>
@@ -14,11 +14,11 @@
#include <vector>
#include <fmt/format.h>
#include <frc/filter/LinearFilter.h>
#include <frc/filter/MedianFilter.h>
#include <units/math.h>
#include <wpi/MathExtras.h>
#include <wpi/StringExtras.h>
#include "wpi/math/filter/LinearFilter.hpp"
#include "wpi/math/filter/MedianFilter.hpp"
#include "wpi/units/math.hpp"
#include "wpi/util/MathExtras.hpp"
#include "wpi/util/StringExtras.hpp"
using namespace sysid;

View File

@@ -2,7 +2,7 @@
// Open Source Software; you can modify and/or share it under the terms of
// the WPILib BSD license file in the root directory of this project.
#include "sysid/analysis/OLS.h"
#include "wpi/sysid/analysis/OLS.hpp"
#include <cassert>
#include <cmath>

View File

@@ -2,11 +2,11 @@
// Open Source Software; you can modify and/or share it under the terms of
// the WPILib BSD license file in the root directory of this project.
#include "sysid/analysis/SimpleMotorSim.h"
#include "wpi/sysid/analysis/SimpleMotorSim.hpp"
#include <frc/StateSpaceUtil.h>
#include <frc/system/Discretization.h>
#include <wpi/MathExtras.h>
#include "wpi/math/util/StateSpaceUtil.hpp"
#include "wpi/math/system/Discretization.hpp"
#include "wpi/util/MathExtras.hpp"
using namespace sysid;

View File

@@ -2,7 +2,7 @@
// Open Source Software; you can modify and/or share it under the terms of
// the WPILib BSD license file in the root directory of this project.
#include "sysid/view/Analyzer.h"
#include "wpi/sysid/view/Analyzer.hpp"
#include <algorithm>
#include <exception>
@@ -13,19 +13,19 @@
#include <vector>
#include <fmt/format.h>
#include <glass/Context.h>
#include <glass/Storage.h>
#include "wpi/glass/Context.hpp"
#include "wpi/glass/Storage.hpp"
#include <imgui.h>
#include <imgui_internal.h>
#include <imgui_stdlib.h>
#include <wpi/json.h>
#include "wpi/util/json.hpp"
#include "sysid/Util.h"
#include "sysid/analysis/AnalysisManager.h"
#include "sysid/analysis/AnalysisType.h"
#include "sysid/analysis/FeedbackControllerPreset.h"
#include "sysid/analysis/FilteringUtils.h"
#include "sysid/view/UILayout.h"
#include "wpi/sysid/Util.hpp"
#include "wpi/sysid/analysis/AnalysisManager.hpp"
#include "wpi/sysid/analysis/AnalysisType.hpp"
#include "wpi/sysid/analysis/FeedbackControllerPreset.hpp"
#include "wpi/sysid/analysis/FilteringUtils.hpp"
#include "wpi/sysid/view/UILayout.hpp"
using namespace sysid;

View File

@@ -2,7 +2,7 @@
// Open Source Software; you can modify and/or share it under the terms of
// the WPILib BSD license file in the root directory of this project.
#include "sysid/view/AnalyzerPlot.h"
#include "wpi/sysid/view/AnalyzerPlot.hpp"
#include <algorithm>
#include <cmath>
@@ -12,14 +12,14 @@
#include <vector>
#include <fmt/format.h>
#include <units/math.h>
#include "wpi/units/math.hpp"
#include "sysid/Util.h"
#include "sysid/analysis/AnalysisManager.h"
#include "sysid/analysis/ArmSim.h"
#include "sysid/analysis/ElevatorSim.h"
#include "sysid/analysis/FilteringUtils.h"
#include "sysid/analysis/SimpleMotorSim.h"
#include "wpi/sysid/Util.hpp"
#include "wpi/sysid/analysis/AnalysisManager.hpp"
#include "wpi/sysid/analysis/ArmSim.hpp"
#include "wpi/sysid/analysis/ElevatorSim.hpp"
#include "wpi/sysid/analysis/FilteringUtils.hpp"
#include "wpi/sysid/analysis/SimpleMotorSim.hpp"
using namespace sysid;

View File

@@ -2,7 +2,7 @@
// Open Source Software; you can modify and/or share it under the terms of
// the WPILib BSD license file in the root directory of this project.
#include "sysid/view/DataSelector.h"
#include "wpi/sysid/view/DataSelector.hpp"
#include <algorithm>
#include <string>
@@ -12,14 +12,14 @@
#include <fmt/format.h>
#include <imgui.h>
#include <wpi/Logger.h>
#include <wpi/StringExtras.h>
#include <wpi/datalog/DataLogReader.h>
#include <wpi/datalog/DataLogReaderThread.h>
#include "wpi/util/Logger.hpp"
#include "wpi/util/StringExtras.hpp"
#include "wpi/datalog/DataLogReader.hpp"
#include "wpi/datalog/DataLogReaderThread.hpp"
#include "sysid/Util.h"
#include "sysid/analysis/AnalysisType.h"
#include "sysid/analysis/Storage.h"
#include "wpi/sysid/Util.hpp"
#include "wpi/sysid/analysis/AnalysisType.hpp"
#include "wpi/sysid/analysis/Storage.hpp"
using namespace sysid;

View File

@@ -2,7 +2,7 @@
// Open Source Software; you can modify and/or share it under the terms of
// the WPILib BSD license file in the root directory of this project.
#include "sysid/view/LogLoader.h"
#include "wpi/sysid/view/LogLoader.hpp"
#include <algorithm>
#include <memory>
@@ -14,12 +14,12 @@
#include <imgui.h>
#include <imgui_stdlib.h>
#include <portable-file-dialogs.h>
#include <wpi/SmallVector.h>
#include <wpi/SpanExtras.h>
#include <wpi/StringExtras.h>
#include <wpi/datalog/DataLogReaderThread.h>
#include <wpi/fs.h>
#include "wpi/gui/portable-file-dialogs.h"
#include "wpi/util/SmallVector.hpp"
#include "wpi/util/SpanExtras.hpp"
#include "wpi/util/StringExtras.hpp"
#include "wpi/datalog/DataLogReaderThread.hpp"
#include "wpi/util/fs.hpp"
using namespace sysid;