blob: 1c8c0e91fd4b797829572d2a07382e1ff0ab5480 [file] [log] [blame]
include "frc971/control_loops/control_loops.fbs";
namespace y2023.control_loops.superstructure;
table ArmPosition {
// Values of the encoder and potentiometer at the base of the proximal
// (connected to drivebase) arm in radians.
proximal:frc971.PotAndAbsolutePosition (id: 0);
// Values of the encoder and potentiometer at the base of the distal
// (connected to proximal) arm in radians.
distal:frc971.PotAndAbsolutePosition (id: 1);
}
table Position {
arm:ArmPosition (id: 0);
// Zero for roll joint is up vertically
// Positive position would be rotated counterclockwise relative to the robot
roll_joint:frc971.PotAndAbsolutePosition (id: 1);
// Zero for wrist is facing staright outward.
// Positive position would be upwards
wrist:frc971.PotAndAbsolutePosition (id: 2);
}
root_type Position;