Skip to content

Commit

Permalink
??
Browse files Browse the repository at this point in the history
  • Loading branch information
penguinencounter committed Mar 4, 2024
1 parent a56234d commit e48fb7c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
9 changes: 5 additions & 4 deletions TeamCode/src/main/java/org/firstinspires/ftc/teamcode/Var.kt
Original file line number Diff line number Diff line change
Expand Up @@ -62,15 +62,16 @@ object Var {
object DropDownServo {
@JvmField
val positions = doubleArrayOf(
0.633,
0.5094,
0.59391,
// 0.5094,
// 0.4538,
// 0.3999,
// 0.3760,
0.3725
0.327865
)
@JvmField
val up = positions[0]
const val storage = 0.633
}

object TeleOp {
Expand Down Expand Up @@ -158,7 +159,7 @@ object Var {
/**
* How hard we spin the intake?
*/
const val intakePower = 0.6
const val intakePower = 0.8
}

object ApproachObject {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@ public void run() {
// Set up robot hardware
robot.clearEncoders();
robot.purpleDropper().setPosition(Var.PixelDropper.up);
robot.dropDownServo().setPosition(Var.DropDownServo.up);
robot.dropDownServo().setPosition(Var.DropDownServo.storage);

double buttonRepeatDelay = 0.4;
double buttonRepeatRate = 0.2;
Expand Down

0 comments on commit e48fb7c

Please sign in to comment.