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/fridge/fridge.q b/y2015/control_loops/fridge/fridge.q
index 257374d..9df30e3 100644
--- a/y2015/control_loops/fridge/fridge.q
+++ b/y2015/control_loops/fridge/fridge.q
@@ -1,4 +1,4 @@
-package frc971.control_loops;
+package y2015.control_loops.fridge;
import "aos/common/controls/control_loops.q";
import "frc971/control_loops/control_loops.q";
@@ -82,8 +82,8 @@
};
message Position {
- PotAndIndexPair arm;
- PotAndIndexPair elevator;
+ .frc971.PotAndIndexPair arm;
+ .frc971.PotAndIndexPair elevator;
};
message Status {
@@ -128,10 +128,10 @@
// The internal state of the state machine.
int32_t state;
- EstimatorState left_elevator_state;
- EstimatorState right_elevator_state;
- EstimatorState left_arm_state;
- EstimatorState right_arm_state;
+ .frc971.EstimatorState left_elevator_state;
+ .frc971.EstimatorState right_elevator_state;
+ .frc971.EstimatorState left_arm_state;
+ .frc971.EstimatorState right_arm_state;
};
message Output {