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/motors/big/motor_controls.h b/motors/big/motor_controls.h
index 5c59ef1..8aae5d1 100644
--- a/motors/big/motor_controls.h
+++ b/motors/big/motor_controls.h
@@ -4,11 +4,11 @@
#include <array>
#include <complex>
+#include "Eigen/Dense"
+
#include "motors/math.h"
#include "motors/motor.h"
-#include "Eigen/Dense"
-
namespace frc971 {
namespace motors {
@@ -40,8 +40,8 @@
}
::std::array<float, 3> DoIteration(const float raw_currents[3],
- uint32_t theta,
- const float command_current) override;
+ uint32_t theta,
+ const float command_current) override;
int16_t Debug(uint32_t theta) override;