Claw, Gantry, and Lift
This commit is contained in:
parent
79a8892b70
commit
cd9bf1f3f0
|
@ -1,6 +1,5 @@
|
|||
package org.firstinspires.ftc.teamcode.hardware;
|
||||
|
||||
import static org.firstinspires.ftc.teamcode.hardware.RobotConfig.DRONE_ROTATION_UP;
|
||||
import static org.firstinspires.ftc.teamcode.hardware.RobotConfig.DRONE_ROTATION_UP_NAME;
|
||||
|
||||
import com.qualcomm.robotcore.hardware.HardwareMap;
|
||||
|
@ -8,14 +7,14 @@ import com.qualcomm.robotcore.hardware.Servo;
|
|||
|
||||
public class Drone {
|
||||
|
||||
private Servo droneUpServo;
|
||||
private Servo droneLaunchServo;
|
||||
|
||||
public Drone(HardwareMap hardwareMap) {
|
||||
this.droneUpServo = hardwareMap.get(Servo.class, DRONE_ROTATION_UP_NAME);
|
||||
this.droneLaunchServo = hardwareMap.get(Servo.class, DRONE_ROTATION_UP_NAME);
|
||||
}
|
||||
|
||||
public void raise() {
|
||||
this.droneUpServo.setPosition(0.2);
|
||||
this.droneLaunchServo.setPosition(0.2);
|
||||
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue