41 lines
797 B
Java
41 lines
797 B
Java
package com.ubtrobot.jimu.robotapi;
|
|
|
|
/* loaded from: classes2.dex */
|
|
public class ServoAngleReadInfo {
|
|
private int a;
|
|
private float b;
|
|
private boolean c;
|
|
private float d;
|
|
|
|
public ServoAngleReadInfo(int i, boolean z, float f, float f2) {
|
|
this.a = i;
|
|
this.c = z;
|
|
this.d = f;
|
|
this.b = f2;
|
|
}
|
|
|
|
public float a() {
|
|
return this.b;
|
|
}
|
|
|
|
public int b() {
|
|
return this.a;
|
|
}
|
|
|
|
public float c() {
|
|
return this.d;
|
|
}
|
|
|
|
public String toString() {
|
|
return "ServoAngleReadInfo{id=" + this.a + ", actualAngle=" + this.b + ", isReciveSuccess=" + this.c + ", targetAngle=" + this.d + '}';
|
|
}
|
|
|
|
public void a(float f) {
|
|
this.b = f;
|
|
}
|
|
|
|
public void b(float f) {
|
|
this.d = f;
|
|
}
|
|
}
|