blob: 36159c97578c141e3d68a5a9eb3bae0d750350a4 [file] [log] [blame]
package frc971.control_loops;
import "aos/common/control_loop/control_loops.q";
// All angles here are 0 horizontal, positive up.
queue_group WristsLoop {
implements aos.control_loops.ControlLoop;
message Goal {
// The angle of the bottom wrist.
double bottom_angle;
// How much higher the top wrist is.
double between_angle;
bool intake;
};
message Position {
double bottom_position, top_position;
bool bottom_hall_effect, top_hall_effect;
double bottom_calibration, top_calibration;
};
queue Goal goal;
queue Position position;
queue aos.control_loops.Output output;
queue aos.control_loops.Status status;
};
queue_group WristsLoop wrists;