forked from FIRST-Tech-Challenge/FtcRobotController
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPushBot.java
More file actions
35 lines (22 loc) · 841 Bytes
/
PushBot.java
File metadata and controls
35 lines (22 loc) · 841 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
27
28
29
30
31
32
33
34
35
package org.firstinspires.ftc.teamcode;
public class PushBot {
public static int WHEEL_RADIUS = 100; // in millimeters
public static int PULSES_PER_REVOLUTION = 28; // 28 ticks/pulses represents a single rotation on the motor
public static int MILLIMETERS_PER_INCHES; //
//Todo: Part 1 Driver
/**
* The Push bot has 2 motors, both motors are identical and have 1:50.9 gearboxes
* The motors have two names "leftMotor" and "rightMotor"
*
* 1. Create methods to get leftMotor and rightMotor
* 2. Create a method to get the motor objects
* 3. Create a method to change the power of the motors with the joystick x and y axis as the inputs
* */
public PushBot () {
}
//Todo: Part 2 Auto
public void driveForward () {
}
public void turnRight () {
}
}