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.cc b/motors/big/motor_controls.cc
index abc71e8..db9878d 100644
--- a/motors/big/motor_controls.cc
+++ b/motors/big/motor_controls.cc
@@ -166,7 +166,8 @@
const ::Eigen::Matrix<float, 3, 1> measured_current =
(::Eigen::Matrix<float, 3, 1>() << scale_current_reading(raw_currents[0]),
scale_current_reading(raw_currents[1]),
- scale_current_reading(raw_currents[2])).finished();
+ scale_current_reading(raw_currents[2]))
+ .finished();
const ComplexMatrix<3, 1> E1 =
E1Unrotated_ *