-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathNumberConstants.java
More file actions
63 lines (46 loc) · 2.79 KB
/
Copy pathNumberConstants.java
File metadata and controls
63 lines (46 loc) · 2.79 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
package com.team1241.frc2017;
/**
* This class is used to save constant values that will be changed every once in awhile.
* This can include PID tuned values or autonomous distances, etc...
*
*@author Kaveesha Siribaddana
* @since 11/01/17
*/
public class NumberConstants {
//**************************************************************************
//*************************** PID VALUES (DRIVE) ***************************
//**************************************************************************
public static final double pDrive = 0.00;
public static final double iDrive = 0.00;
public static final double dDrive = 0.00;
public static final double Drive_Scale = 0.00;
//**************************************************************************
//**************************** PID VALUES (GYRO) ***************************
//**************************************************************************
public static final double pGyro = 0.00;
public static final double iGyro = 0.00;
public static final double dGyro = 0.00;
//**************************************************************************
//************************** PID VALUES (SHOOTER) **************************
//**************************************************************************
public static final double pShooter = 0.00;
public static final double iShooter = 0.00;
public static final double dShooter = 0.00;
//**************************************************************************
//************************** PID VALUES (CONVEYOR) *************************
//**************************************************************************
public static final double pConveyor = 0.00;
public static final double iConveyor = 0.00;
public static final double dConveyor = 0.00;
//**************************************************************************
//**************************** LINE REGRESSION *****************************
//**************************************************************************
public static final int[] RPMS_CONVEYOR = new int[] {4000, 4100, 4250, 4500, 5000};
public static final double[] POWERS_CONVEYOR = new double[] { 0.6, 0.7, 0.8, 0.9, 1.0};
public static final int[] RPMS_SHOOTER = new int[] { 4000, 4300, 4600, 5000, 5500 };
public static final double[] POWERS_SHOOTER = new double[] { 0.72, 0.77, 0.83, 0.91, 0.97 };
//**************************************************************************
//******************************* RPM VALUES *******************************
//**************************************************************************
public static final double ShotRPM = 0.00;
}