Fix errors from new cpplint.py (#7105)

This commit is contained in:
Tyler Veness
2024-09-20 17:43:39 -07:00
committed by GitHub
parent f1dde8895e
commit 554024767e
464 changed files with 1026 additions and 218 deletions

View File

@@ -8,6 +8,8 @@
#include <filesystem>
#include <memory>
#include <string>
#include <utility>
#include <string_view>
#include <glass/Context.h>

View File

@@ -83,6 +83,7 @@ void sysid::SaveFile(std::string_view contents,
// Open a fd_ostream to write to file.
std::error_code ec;
// NOLINTNEXTLINE(build/include_what_you_use)
wpi::raw_fd_ostream ostream{path.string(), ec};
// Check error code.

View File

@@ -5,7 +5,9 @@
#include "sysid/analysis/AnalysisManager.h"
#include <cmath>
#include <functional>
#include <limits>
#include <utility>
#include <vector>
#include <fmt/format.h>
#include <units/angle.h>

View File

@@ -7,6 +7,8 @@
#include <array>
#include <bitset>
#include <cmath>
#include <string>
#include <vector>
#include <Eigen/Eigenvalues>
#include <fmt/format.h>
@@ -14,8 +16,6 @@
#include <units/math.h>
#include <units/time.h>
#include "sysid/analysis/AnalysisManager.h"
#include "sysid/analysis/FilteringUtils.h"
#include "sysid/analysis/OLS.h"
namespace sysid {

View File

@@ -4,10 +4,13 @@
#include "sysid/analysis/FilteringUtils.h"
#include <algorithm>
#include <functional>
#include <limits>
#include <numbers>
#include <numeric>
#include <stdexcept>
#include <string>
#include <tuple>
#include <vector>
#include <fmt/format.h>

View File

@@ -6,7 +6,9 @@
#include <algorithm>
#include <exception>
#include <memory>
#include <numbers>
#include <string>
#include <thread>
#include <fmt/format.h>

View File

@@ -6,7 +6,10 @@
#include <algorithm>
#include <cmath>
#include <functional>
#include <mutex>
#include <utility>
#include <vector>
#include <fmt/format.h>
#include <units/math.h>

View File

@@ -4,6 +4,11 @@
#include "sysid/view/DataSelector.h"
#include <algorithm>
#include <string>
#include <utility>
#include <vector>
#include <fmt/format.h>
#include <glass/support/DataLogReaderThread.h>
#include <imgui.h>

View File

@@ -7,7 +7,10 @@
#include <algorithm>
#include <memory>
#include <span>
#include <string>
#include <string_view>
#include <utility>
#include <vector>
#include <glass/support/DataLogReaderThread.h>
#include <imgui.h>