-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathRobotMap.java
More file actions
24 lines (20 loc) · 817 Bytes
/
RobotMap.java
File metadata and controls
24 lines (20 loc) · 817 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
package frc.robot;
/**
* A Mapping of motor indexes to robots
*/
public class RobotMap {
/* DRIVE SUBSYSTEM */
public static final int LEFT_DRIVE_MOTOR_FRONT_ID = 11;
public static final int LEFT_DRIVE_MOTOR_REAR_ID = 12;
public static final int RIGHT_DRIVE_MOTOR_FRONT_ID = 13;
public static final int RIGHT_DRIVE_MOTOR_REAR_ID = 14;
/* DRIVE SUBSYSTEM */
// DriveSubsystem Motor Directions
// Assuming a single stage gearbox and motors mounted on
// interior with axle pointing outward. Using right hand
// rule for positive motor command yields the following:
// Left Right
// INVERTED NOT-INVERTED
public static final boolean LEFT_DRIVE_MOTOR_INVERSION_FLAG = true;
public static final boolean RIGHT_DRIVE_MOTOR_INVERSION_FLAG = false;
}