Run clang-format on the entire repo
This patch clang-formats the entire repo. Third-party code is
excluded.
I needed to fix up the .clang-format file so that all the header
includes are ordered properly. I could have sworn that it used to work
without the extra modification, but I guess not.
Signed-off-by: Philipp Schrader <philipp.schrader@gmail.com>
Change-Id: I64bb9f2c795401393f9dfe2fefc4f04cb36b52f6
diff --git a/frc971/control_loops/pose.h b/frc971/control_loops/pose.h
index 7945e5e..1eccf28 100644
--- a/frc971/control_loops/pose.h
+++ b/frc971/control_loops/pose.h
@@ -4,6 +4,7 @@
#include <vector>
#include "Eigen/Dense"
+
#include "aos/util/math.h"
namespace frc971 {
@@ -158,7 +159,7 @@
// Position and yaw relative to base_.
Pos pos_;
Scalar theta_;
-}; // class TypedPose
+}; // class TypedPose
typedef TypedPose<double> Pose;
@@ -222,6 +223,7 @@
::std::vector<TypedPose<Scalar>> PlotPoints() const {
return {pose1_, pose2_};
}
+
private:
TypedPose<Scalar> pose1_;
TypedPose<Scalar> pose2_;