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

@@ -4,6 +4,9 @@
#include "wpimath/MathShared.h"
#include <memory>
#include <utility>
#include <wpi/mutex.h>
#include <wpi/timestamp.h>

View File

@@ -4,6 +4,7 @@
#include "frc/controller/ArmFeedforward.h"
#include <algorithm>
#include <limits>
#include <sleipnir/autodiff/Gradient.hpp>

View File

@@ -4,6 +4,8 @@
#include "frc/estimator/DifferentialDrivePoseEstimator.h"
#include <vector>
using namespace frc;
DifferentialDrivePoseEstimator::DifferentialDrivePoseEstimator(

View File

@@ -5,6 +5,7 @@
#include "frc/geometry/Pose3d.h"
#include <cmath>
#include <utility>
#include <Eigen/Core>
#include <wpi/json.h>

View File

@@ -6,6 +6,7 @@
#include <cmath>
#include <numbers>
#include <string>
#include <Eigen/Core>
#include <Eigen/LU>

View File

@@ -4,6 +4,8 @@
#include "frc/geometry/Transform3d.h"
#include <utility>
#include "frc/geometry/Pose3d.h"
using namespace frc;

View File

@@ -4,6 +4,8 @@
#include "frc/geometry/Translation2d.h"
#include <algorithm>
#include <wpi/json.h>
#include "units/math.h"

View File

@@ -5,6 +5,7 @@
#include <jni.h>
#include <exception>
#include <vector>
#include <wpi/jni_util.h>

View File

@@ -5,6 +5,7 @@
#include "frc/spline/SplineHelper.h"
#include <cstddef>
#include <vector>
using namespace frc;

View File

@@ -6,6 +6,7 @@
#include <algorithm>
#include <stdexcept>
#include <vector>
#include <wpi/MathExtras.h>
#include <wpi/json.h>

View File

@@ -5,6 +5,7 @@
#include "frc/trajectory/TrajectoryGenerator.h"
#include <utility>
#include <vector>
#include <wpi/print.h>

View File

@@ -28,6 +28,8 @@
#include "frc/trajectory/TrajectoryParameterizer.h"
#include <vector>
#include <fmt/format.h>
#include "units/math.h"

View File

@@ -4,6 +4,7 @@
#include "frc/trajectory/TrajectoryUtil.h"
#include <string>
#include <system_error>
#include <fmt/format.h>

View File

@@ -4,6 +4,8 @@
#include "frc/trajectory/constraint/DifferentialDriveKinematicsConstraint.h"
#include <utility>
using namespace frc;
DifferentialDriveKinematicsConstraint::DifferentialDriveKinematicsConstraint(

View File

@@ -6,6 +6,7 @@
#include <algorithm>
#include <limits>
#include <utility>
#include <wpi/MathExtras.h>

View File

@@ -4,6 +4,8 @@
#include "frc/trajectory/proto/TrajectoryProto.h"
#include <vector>
#include <wpi/ProtoHelper.h>
#include "trajectory.pb.h"