update boxElv
This commit is contained in:
parent
c2e4ee111f
commit
a2ecb788d4
1 changed files with 3 additions and 0 deletions
|
@ -70,8 +70,11 @@ public class FTC2024WeRobotControl {
|
|||
Parent.rmelevator.setVelocity(600);
|
||||
Parent.lmelevator.setTargetPosition(90);
|
||||
Parent.rmelevator.setTargetPosition(90);
|
||||
Parent.rotation.setVelocity(600);
|
||||
Parent.rotation.setTargetPosition(-50);
|
||||
Parent.lmelevator.setMode(DcMotor.RunMode.RUN_TO_POSITION);
|
||||
Parent.rmelevator.setMode(DcMotor.RunMode.RUN_TO_POSITION);
|
||||
Parent.rotation.setMode(DcMotor.RunMode.RUN_TO_POSITION);
|
||||
}
|
||||
|
||||
public double getSpeedFromMotorSpeed(double motor_speed) {
|
||||
|
|
Loading…
Reference in a new issue