Package com.crossbotics.ftchelper.drive
package com.crossbotics.ftchelper.drive
-
ClassDescriptionAutonomous moves for a mecanum OR standard (tank) robot, using the wheel encoders and the IMU.How a move ended.Tuning for
AutoDrive(autonomous encoder and IMU moves).The math that turns stick values into left and right powers for a standard (tank) drive.The drivetrain type, the motor names and directions, and a power limit.The kind of drivetrain.Standard TeleOp driving from one gamepad, for mecanum AND standard (tank) robots, in one line per loop.Which way the robot faces compared with the DRIVER, for field-centric driving.Drives a four-wheel mecanum chassis.The math that turns "forward, right, turn" into four mecanum wheel powers.Speed-profile math for autonomous moves.A "drive backwards" mode: when ON, forward and strafe are flipped, so the back of the robot acts as the front.Tells when a move is stuck: the distance left has not gone down enough for a while.Drives a standard (tank / differential) chassis with 2 or 4 motors.