Class AutonomousStartpoints


  • public class AutonomousStartpoints
    extends java.lang.Object
    Auton startpoints are calculated from the point at the centre of the robot's drivebase. From the alliance wall, forward is positive X, and the Y axis starts at the field centre. So, pressed against the right wall, facing away from the drivers could be calculated as: (FIELD_WIDTH / 2) - (DRIVEBASE_WIDTH / 2)
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static edu.wpi.first.wpilibj.geometry.Translation2d SECTOR_LINE_CENTER  
      static edu.wpi.first.wpilibj.geometry.Translation2d SECTOR_LINE_GOAL  
      static edu.wpi.first.wpilibj.geometry.Translation2d SECTOR_LINE_RIGHT
      This auton startpoint is where the robot is sitting just past the opposing side's sector line, against the right wall, facing towards the centre line of the field.
      static edu.wpi.first.wpilibj.geometry.Pose2d ZERO  
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • ZERO

        public static final edu.wpi.first.wpilibj.geometry.Pose2d ZERO
      • SECTOR_LINE_RIGHT

        public static final edu.wpi.first.wpilibj.geometry.Translation2d SECTOR_LINE_RIGHT
        This auton startpoint is where the robot is sitting just past the opposing side's sector line, against the right wall, facing towards the centre line of the field.
      • SECTOR_LINE_GOAL

        public static final edu.wpi.first.wpilibj.geometry.Translation2d SECTOR_LINE_GOAL
      • SECTOR_LINE_CENTER

        public static final edu.wpi.first.wpilibj.geometry.Translation2d SECTOR_LINE_CENTER
    • Constructor Detail

      • AutonomousStartpoints

        public AutonomousStartpoints()