blob: ba47662e9ac9559ab4db41ae3dcab1af47f8a7bb [file] [log] [blame]
include "frc971/control_loops/control_loops.fbs";
namespace y2022.control_loops.superstructure;
table Position {
climber:frc971.RelativePosition (id: 0);
// Zero for the intake position value is horizontal, and positive is
// up.
intake_front:frc971.PotAndAbsolutePosition (id: 1);
intake_back:frc971.PotAndAbsolutePosition (id: 2);
// Zero is to the front (away from the RIO); positive = counter-clockwise.
turret:frc971.PotAndAbsolutePosition (id: 3);
// Zero is closed and positive is open
flipper_arm_left:frc971.RelativePosition (id: 4);
flipper_arm_right:frc971.RelativePosition (id: 5);
// True means there is a ball in front of the sensor.
intake_beambreak_front:bool (id:6);
intake_beambreak_back:bool (id:7);
turret_beambreak:bool (id:8);
// Position of the catapult. Positive is up to fire. Zero is horizontal
// with the drive base.
catapult:frc971.PotAndAbsolutePosition (id: 9);
}
root_type Position;