Include .h from .inc/.inl files (NFC) (#3017)

This helps both IDEs and linting tools.

Also add some missing braces.
This commit is contained in:
Peter Johnson
2020-12-31 11:26:53 -08:00
committed by GitHub
parent bf8f8710ea
commit b7e46c558f
23 changed files with 129 additions and 50 deletions

View File

@@ -6,6 +6,7 @@
#include <algorithm>
#include "frc/kinematics/SwerveDriveKinematics.h"
#include "units/math.h"
namespace frc {

View File

@@ -4,6 +4,7 @@
#pragma once
#include "frc/kinematics/SwerveDriveOdometry.h"
#include "wpimath/MathShared.h"
namespace frc {

View File

@@ -6,6 +6,7 @@
#include <algorithm>
#include "frc/trajectory/TrapezoidProfile.h"
#include "units/math.h"
namespace frc {

View File

@@ -4,6 +4,7 @@
#pragma once
#include "frc/trajectory/constraint/SwerveDriveKinematicsConstraint.h"
#include "units/math.h"
namespace frc {