Small speed changes
This commit is contained in:
@ -99,10 +99,10 @@ public class manual extends OpMode {
|
|||||||
}
|
}
|
||||||
|
|
||||||
//double num = 2.25;
|
//double num = 2.25;
|
||||||
final static double MOTOR_HI_SPEED_RATIO = 2;
|
final static double MOTOR_HI_SPEED_RATIO = 1.75;
|
||||||
final static double MOTOR_MID_SPEED_RATIO = 2.35;
|
final static double MOTOR_MID_SPEED_RATIO = 2.35;
|
||||||
final static double MOTOR_LO_SPEED_RATIO = 3.5;
|
final static double MOTOR_LO_SPEED_RATIO = 3.5;
|
||||||
final static double ARM_POWER = 3.5;
|
final static double ARM_POWER = 3;
|
||||||
double num = MOTOR_HI_SPEED_RATIO;
|
double num = MOTOR_HI_SPEED_RATIO;
|
||||||
/**
|
/**
|
||||||
* User defined loop method.
|
* User defined loop method.
|
||||||
@ -147,10 +147,10 @@ public class manual extends OpMode {
|
|||||||
}
|
}
|
||||||
if(gamepad2.left_trigger > 0.35)
|
if(gamepad2.left_trigger > 0.35)
|
||||||
{
|
{
|
||||||
gripper.setPosition(0);
|
gripper.setPosition(1);
|
||||||
}
|
}
|
||||||
if(gamepad2.right_trigger > 0.35){
|
if(gamepad2.right_trigger > 0.35){
|
||||||
gripper.setPosition(1);
|
gripper.setPosition(0);
|
||||||
}
|
}
|
||||||
if(gamepad2.dpad_up)
|
if(gamepad2.dpad_up)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user