realigning class comment on PinpointLocalizer

This commit is contained in:
Anyi Lin
2024-11-21 02:06:59 -05:00
parent c8ba9a09db
commit ea381fa92c

View File

@ -16,31 +16,31 @@ import org.firstinspires.ftc.teamcode.pedroPathing.pathGeneration.Vector;
* This is the Pinpoint class. This class extends the Localizer superclass and is a * This is the Pinpoint class. This class extends the Localizer superclass and is a
* localizer that uses the two wheel odometry set up with the IMU to have more accurate heading * localizer that uses the two wheel odometry set up with the IMU to have more accurate heading
* readings. The diagram below, which is modified from Road Runner, shows a typical set up. * readings. The diagram below, which is modified from Road Runner, shows a typical set up.
* *
* The view is from the top of the robot looking downwards. * The view is from the top of the robot looking downwards.
* *
* left on robot is the y positive direction * left on robot is the y positive direction
* *
* forward on robot is the x positive direction * forward on robot is the x positive direction
* *
* forward (x positive) * forward (x positive)
* △ * △
* | * |
* | * |
* /--------------\ * /--------------\
* | | * | |
* | | * | |
* | || | * | || |
* left (y positive) <--- | || | * left (y positive) <--- | || |
* | ____ | * | ____ |
* | ---- | * | ---- |
* \--------------/ * \--------------/
* With the pinpoint your readings will be used in mm * With the pinpoint your readings will be used in mm
* to use inches ensure to divide your mm value by 25.4 * to use inches ensure to divide your mm value by 25.4
* @author Logan Nash * @author Logan Nash
* @author Havish Sripada 12808 - RevAmped Robotics * @author Havish Sripada 12808 - RevAmped Robotics
* @author Ethan Doak - Gobilda * @author Ethan Doak - Gobilda
* @version 1.0, 10/2/2024 * @version 1.0, 10/2/2024
*/ */
public class PinpointLocalizer extends Localizer { public class PinpointLocalizer extends Localizer {
private HardwareMap hardwareMap; private HardwareMap hardwareMap;