mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-20 00:51:42 +00:00
Include thirdparty libraries with angle brackets (#5578)
This commit is contained in:
@@ -8,13 +8,13 @@
|
||||
#include <tuple>
|
||||
|
||||
#include <fmt/format.h>
|
||||
#include <gtest/gtest.h>
|
||||
#include <wpi/timestamp.h>
|
||||
|
||||
#include "frc/estimator/SwerveDrivePoseEstimator.h"
|
||||
#include "frc/geometry/Pose2d.h"
|
||||
#include "frc/kinematics/SwerveDriveKinematics.h"
|
||||
#include "frc/trajectory/TrajectoryGenerator.h"
|
||||
#include "gtest/gtest.h"
|
||||
|
||||
void testFollowTrajectory(
|
||||
const frc::SwerveDriveKinematics<4>& kinematics,
|
||||
@@ -133,6 +133,7 @@ void testFollowTrajectory(
|
||||
0.15);
|
||||
|
||||
if (checkError) {
|
||||
// NOLINTNEXTLINE(bugprone-integer-division)
|
||||
EXPECT_LT(errorSum / (trajectory.TotalTime() / dt), 0.058);
|
||||
EXPECT_LT(maxError, 0.2);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user