mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-23 01:21:42 +00:00
Include thirdparty libraries with angle brackets (#5578)
This commit is contained in:
@@ -6,11 +6,12 @@
|
||||
#include <random>
|
||||
#include <tuple>
|
||||
|
||||
#include <gtest/gtest.h>
|
||||
|
||||
#include "frc/estimator/MecanumDrivePoseEstimator.h"
|
||||
#include "frc/geometry/Pose2d.h"
|
||||
#include "frc/kinematics/MecanumDriveKinematics.h"
|
||||
#include "frc/trajectory/TrajectoryGenerator.h"
|
||||
#include "gtest/gtest.h"
|
||||
|
||||
void testFollowTrajectory(
|
||||
const frc::MecanumDriveKinematics& kinematics,
|
||||
@@ -129,6 +130,7 @@ void testFollowTrajectory(
|
||||
0.15);
|
||||
|
||||
if (checkError) {
|
||||
// NOLINTNEXTLINE(bugprone-integer-division)
|
||||
EXPECT_LT(errorSum / (trajectory.TotalTime() / dt), 0.051);
|
||||
EXPECT_LT(maxError, 0.2);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user