blob: ee99f1c34f4756d865b72e78e2bd968201b9bff0 [file] [log] [blame]
include "frc971/control_loops/profiled_subsystem.fbs";
namespace y2023.control_loops.superstructure;
enum RollerGoal: ubyte {
IDLE = 0,
INTAKE_CONE = 1,
INTAKE_CUBE = 2,
INTAKE_LAST = 3,
SPIT = 4,
}
table Goal {
// Used to identify a position in the planned set of positions on the arm.
// Controls distal, proximal, and roll joints
arm_goal_position:uint32 (id: 0);
// Overrides the current path to go to the next path
trajectory_override:bool (id: 1);
wrist:frc971.control_loops.StaticZeroingSingleDOFProfiledSubsystemGoal (id: 2);
roller_goal:RollerGoal (id: 3);
}
root_type Goal;