Class SwerveGains

    • Constructor Detail

      • SwerveGains

        public SwerveGains()
      • SwerveGains

        public SwerveGains​(double width,
                           double length,
                           double maxSpeed,
                           double maxRealSpeed,
                           double maxAcceleration,
                           double maxAngularSpeed,
                           boolean[] turnMotorInverts,
                           boolean[] driveMotorInverts)
    • Method Detail

      • getWidth

        public double getWidth()
      • setWidth

        public void setWidth​(double width)
      • getLength

        public double getLength()
      • setLength

        public void setLength​(double length)
      • setMaxAngularSpeed

        public void setMaxAngularSpeed​(double maxAngularSpeed)
      • getMaxAngularSpeed

        public double getMaxAngularSpeed()
      • getTurnMotorInverts

        public boolean[] getTurnMotorInverts()
      • setTurnMotorInverts

        public void setTurnMotorInverts​(boolean[] turnMotorInverts)
      • getDriveMotorInverts

        public boolean[] getDriveMotorInverts()
      • setDriveMotorInverts

        public void setDriveMotorInverts​(boolean[] driveMotorInverts)
      • getMaxRealSpeed

        public double getMaxRealSpeed()
      • setMaxRealSpeed

        public void setMaxRealSpeed​(double maxRealSpeed)