mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-20 00:51:42 +00:00
SCRIPT: wpiformat
This commit is contained in:
committed by
Peter Johnson
parent
c48b722dac
commit
1e7604f81c
@@ -9,6 +9,7 @@
|
||||
|
||||
#include <IconsFontAwesome6.h>
|
||||
#include <imgui.h>
|
||||
|
||||
#include "wpi/util/raw_ostream.hpp"
|
||||
|
||||
void sysid::CreateTooltip(const char* text) {
|
||||
|
||||
@@ -10,14 +10,14 @@
|
||||
#include <vector>
|
||||
|
||||
#include <fmt/format.h>
|
||||
|
||||
#include "wpi/sysid/analysis/FeedforwardAnalysis.hpp"
|
||||
#include "wpi/sysid/analysis/FilteringUtils.hpp"
|
||||
#include "wpi/units/angle.hpp"
|
||||
#include "wpi/util/MathExtras.hpp"
|
||||
#include "wpi/util/StringExtras.hpp"
|
||||
#include "wpi/util/StringMap.hpp"
|
||||
|
||||
#include "wpi/sysid/analysis/FeedforwardAnalysis.hpp"
|
||||
#include "wpi/sysid/analysis/FilteringUtils.hpp"
|
||||
|
||||
using namespace sysid;
|
||||
|
||||
static double Lerp(units::second_t time,
|
||||
|
||||
@@ -6,8 +6,8 @@
|
||||
|
||||
#include <cmath>
|
||||
|
||||
#include "wpi/math/util/StateSpaceUtil.hpp"
|
||||
#include "wpi/math/system/NumericalIntegration.hpp"
|
||||
#include "wpi/math/util/StateSpaceUtil.hpp"
|
||||
#include "wpi/util/MathExtras.hpp"
|
||||
|
||||
using namespace sysid;
|
||||
|
||||
@@ -4,8 +4,8 @@
|
||||
|
||||
#include "wpi/sysid/analysis/ElevatorSim.hpp"
|
||||
|
||||
#include "wpi/math/util/StateSpaceUtil.hpp"
|
||||
#include "wpi/math/system/Discretization.hpp"
|
||||
#include "wpi/math/util/StateSpaceUtil.hpp"
|
||||
#include "wpi/util/MathExtras.hpp"
|
||||
|
||||
using namespace sysid;
|
||||
|
||||
@@ -9,12 +9,11 @@
|
||||
#include "wpi/math/controller/LinearQuadraticRegulator.hpp"
|
||||
#include "wpi/math/system/LinearSystem.hpp"
|
||||
#include "wpi/math/system/plant/LinearSystemId.hpp"
|
||||
#include "wpi/sysid/analysis/FeedbackControllerPreset.hpp"
|
||||
#include "wpi/units/acceleration.hpp"
|
||||
#include "wpi/units/velocity.hpp"
|
||||
#include "wpi/units/voltage.hpp"
|
||||
|
||||
#include "wpi/sysid/analysis/FeedbackControllerPreset.hpp"
|
||||
|
||||
using namespace sysid;
|
||||
|
||||
using Kv_t = decltype(1_V / 1_mps);
|
||||
|
||||
@@ -13,10 +13,10 @@
|
||||
#include <Eigen/Eigenvalues>
|
||||
#include <fmt/format.h>
|
||||
#include <fmt/ranges.h>
|
||||
#include "wpi/units/math.hpp"
|
||||
#include "wpi/units/time.hpp"
|
||||
|
||||
#include "wpi/sysid/analysis/OLS.hpp"
|
||||
#include "wpi/units/math.hpp"
|
||||
#include "wpi/units/time.hpp"
|
||||
|
||||
namespace sysid {
|
||||
|
||||
|
||||
@@ -14,6 +14,7 @@
|
||||
#include <vector>
|
||||
|
||||
#include <fmt/format.h>
|
||||
|
||||
#include "wpi/math/filter/LinearFilter.hpp"
|
||||
#include "wpi/math/filter/MedianFilter.hpp"
|
||||
#include "wpi/units/math.hpp"
|
||||
|
||||
@@ -4,8 +4,8 @@
|
||||
|
||||
#include "wpi/sysid/analysis/SimpleMotorSim.hpp"
|
||||
|
||||
#include "wpi/math/util/StateSpaceUtil.hpp"
|
||||
#include "wpi/math/system/Discretization.hpp"
|
||||
#include "wpi/math/util/StateSpaceUtil.hpp"
|
||||
#include "wpi/util/MathExtras.hpp"
|
||||
|
||||
using namespace sysid;
|
||||
|
||||
@@ -13,19 +13,19 @@
|
||||
#include <vector>
|
||||
|
||||
#include <fmt/format.h>
|
||||
#include "wpi/glass/Context.hpp"
|
||||
#include "wpi/glass/Storage.hpp"
|
||||
#include <imgui.h>
|
||||
#include <imgui_internal.h>
|
||||
#include <imgui_stdlib.h>
|
||||
#include "wpi/util/json.hpp"
|
||||
|
||||
#include "wpi/glass/Context.hpp"
|
||||
#include "wpi/glass/Storage.hpp"
|
||||
#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"
|
||||
#include "wpi/util/json.hpp"
|
||||
|
||||
using namespace sysid;
|
||||
|
||||
|
||||
@@ -12,7 +12,6 @@
|
||||
#include <vector>
|
||||
|
||||
#include <fmt/format.h>
|
||||
#include "wpi/units/math.hpp"
|
||||
|
||||
#include "wpi/sysid/Util.hpp"
|
||||
#include "wpi/sysid/analysis/AnalysisManager.hpp"
|
||||
@@ -20,6 +19,7 @@
|
||||
#include "wpi/sysid/analysis/ElevatorSim.hpp"
|
||||
#include "wpi/sysid/analysis/FilteringUtils.hpp"
|
||||
#include "wpi/sysid/analysis/SimpleMotorSim.hpp"
|
||||
#include "wpi/units/math.hpp"
|
||||
|
||||
using namespace sysid;
|
||||
|
||||
|
||||
@@ -12,14 +12,14 @@
|
||||
|
||||
#include <fmt/format.h>
|
||||
#include <imgui.h>
|
||||
#include "wpi/util/Logger.hpp"
|
||||
#include "wpi/util/StringExtras.hpp"
|
||||
|
||||
#include "wpi/datalog/DataLogReader.hpp"
|
||||
#include "wpi/datalog/DataLogReaderThread.hpp"
|
||||
|
||||
#include "wpi/sysid/Util.hpp"
|
||||
#include "wpi/sysid/analysis/AnalysisType.hpp"
|
||||
#include "wpi/sysid/analysis/Storage.hpp"
|
||||
#include "wpi/util/Logger.hpp"
|
||||
#include "wpi/util/StringExtras.hpp"
|
||||
|
||||
using namespace sysid;
|
||||
|
||||
|
||||
@@ -14,11 +14,12 @@
|
||||
|
||||
#include <imgui.h>
|
||||
#include <imgui_stdlib.h>
|
||||
|
||||
#include "wpi/datalog/DataLogReaderThread.hpp"
|
||||
#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;
|
||||
|
||||
Reference in New Issue
Block a user