-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathConstants.java
More file actions
26 lines (19 loc) · 828 Bytes
/
Constants.java
File metadata and controls
26 lines (19 loc) · 828 Bytes
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
// Copyright (c) FIRST and other WPILib contributors.
// Open Source Software; you can modify and/or share it under the terms of
// the WPILib BSD license file in the root directory of this project.
package frc.lib2202;
/**
Constants here will apply to all robots.
Only place things that are not expected to vary from robot to robot.
Values specific to a given year's robot will be in:
frc.robot<year>.Constants
*/
public final class Constants {
// nominal system frame rate, DT (delta T)
public static final double DT = 0.02; // [s] 20ms framerate 50Hz
// Handy feet to meters
public static final double FTperM = 3.28084;
public static final double MperFT = 1.0 / FTperM;
public static final double DEGperRAD = 57.29577951;
public static final int NEO_COUNTS_PER_REVOLUTION = 42;
}