Autogen rules written for elevator module.
Put most things in the y2015 namespace since codegen wants to place
the controller gains in that namespace.
Change-Id: Ib3ef6eb38200bf0d80cba972cbe06ea366522ec6
diff --git a/y2015/control_loops/claw/claw.cc b/y2015/control_loops/claw/claw.cc
index ad8aaee..b4a5a7b 100644
--- a/y2015/control_loops/claw/claw.cc
+++ b/y2015/control_loops/claw/claw.cc
@@ -9,7 +9,7 @@
#include "y2015/control_loops/claw/claw_motor_plant.h"
#include "aos/common/util/trapezoid_profile.h"
-namespace frc971 {
+namespace y2015 {
namespace control_loops {
using ::aos::time::Time;
@@ -280,7 +280,8 @@
status->zeroed = state_ == RUNNING;
status->estopped = state_ == ESTOP;
status->state = state_;
- zeroing::PopulateEstimatorState(claw_estimator_, &status->zeroing_state);
+ ::frc971::zeroing::PopulateEstimatorState(claw_estimator_,
+ &status->zeroing_state);
status->angle = claw_loop_->X_hat(0, 0);
status->angular_velocity = claw_loop_->X_hat(1, 0);
@@ -311,4 +312,4 @@
}
} // namespace control_loops
-} // namespace frc971
+} // namespace y2015