Package com.crossbotics.ftchelper.launcher
package com.crossbotics.ftchelper.launcher
-
ClassDescriptionPushes ONE game piece into the launcher when asked.A flywheel (shooter wheel) that holds a speed in RPM, says when it is ready, and notices shots.Joins a flywheel, a feeder, and optionally a hood, a shot table and any "ready" checks into one shooter: spin up, wait until everything is ready, feed, repeat.What the launcher is doing (for telemetry).A feeder driven by a motor (a roller, belt or indexer wheel): runs for a set time per piece, or until a sensor sees the piece leave.A feeder driven by a servo (a kicker or pusher arm): push, wait, come back, wait.Turns a distance into a shot: flywheel RPM and hood angle.One shot setting: at
distance(inches), spin torpmwith the hood athoodDegdegrees.A turret: turns to an angle in degrees, never past its limits (so cables never wind up), and can hold a FIELD direction while the robot drives and turns.