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/y2022/constants.cc b/y2022/constants.cc
index 21ba9e4..ff1c738 100644
--- a/y2022/constants.cc
+++ b/y2022/constants.cc
@@ -8,10 +8,11 @@
#endif
#include "absl/base/call_once.h"
+#include "glog/logging.h"
+
#include "aos/mutex/mutex.h"
#include "aos/network/team_number.h"
#include "frc971/wpilib/wpilib_utils.h"
-#include "glog/logging.h"
#include "y2022/control_loops/superstructure/catapult/integral_catapult_plant.h"
#include "y2022/control_loops/superstructure/climber/integral_climber_plant.h"
#include "y2022/control_loops/superstructure/intake/integral_intake_plant.h"
@@ -219,7 +220,7 @@
0.0172237531191 - 0.0172237531191 +
0.00443383743660001 - 0.0117667224279;
- intake_front->potentiometer_offset = + 3.572389;
+ intake_front->potentiometer_offset = +3.572389;
intake_front->subsystem_params.zeroing_constants
.measured_absolute_position = 0.238611243887673;