37 lines
809 B
Java
37 lines
809 B
Java
package com.ubt.jimu.controller.data.command;
|
|
|
|
import com.twitter.sdk.android.core.TwitterAuthConfig;
|
|
import com.ubtrobot.jimu.robotapi.PeripheralType;
|
|
|
|
/* loaded from: classes.dex */
|
|
public enum Gear {
|
|
EMPTY(0, PeripheralType.SERVO, 0),
|
|
FIRST(1, 234, 60),
|
|
SECOND(2, 340, 80),
|
|
THIRD(3, 446, 100),
|
|
FOURTH(4, 552, 120),
|
|
FIFTH(5, 658, TwitterAuthConfig.DEFAULT_AUTH_REQUEST_CODE);
|
|
|
|
private int level;
|
|
private int motorSpeed;
|
|
private int turnSpeed;
|
|
|
|
Gear(int i, int i2, int i3) {
|
|
this.level = i;
|
|
this.turnSpeed = i2;
|
|
this.motorSpeed = i3;
|
|
}
|
|
|
|
public static int getCount() {
|
|
return 5;
|
|
}
|
|
|
|
public int getMotorSpeed() {
|
|
return this.motorSpeed;
|
|
}
|
|
|
|
public int getTurnSpeed() {
|
|
return this.turnSpeed;
|
|
}
|
|
}
|