MK32_SBus = 0;
+ */
+ MK32_SBus(0),
+ /**
+ * MK32_Serial = 1;
+ */
+ MK32_Serial(1),
+ /**
+ * MK32_InitialState = 2;
+ */
+ MK32_InitialState(2),
+ /**
+ * TL720D = 3;
+ */
+ TL720D(3),
+ /**
+ * Force_sensor = 4;
+ */
+ Force_sensor(4),
+ /**
+ * ZQ_LeftMotor = 5;
+ */
+ ZQ_LeftMotor(5),
+ /**
+ * ZQ_RightMotor = 6;
+ */
+ ZQ_RightMotor(6),
+ /**
+ * + * DMAKE_2 = 8; + * DMAKE_3 = 9; + *+ * + *
DMAKE_1 = 7;
+ */
+ DMAKE_1(7),
+ UNRECOGNIZED(-1),
+ ;
+
+ static {
+ com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
+ com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
+ /* major= */ 4,
+ /* minor= */ 27,
+ /* patch= */ 2,
+ /* suffix= */ "",
+ ComError.class.getName());
+ }
+ /**
+ * MK32_SBus = 0;
+ */
+ public static final int MK32_SBus_VALUE = 0;
+ /**
+ * MK32_Serial = 1;
+ */
+ public static final int MK32_Serial_VALUE = 1;
+ /**
+ * MK32_InitialState = 2;
+ */
+ public static final int MK32_InitialState_VALUE = 2;
+ /**
+ * TL720D = 3;
+ */
+ public static final int TL720D_VALUE = 3;
+ /**
+ * Force_sensor = 4;
+ */
+ public static final int Force_sensor_VALUE = 4;
+ /**
+ * ZQ_LeftMotor = 5;
+ */
+ public static final int ZQ_LeftMotor_VALUE = 5;
+ /**
+ * ZQ_RightMotor = 6;
+ */
+ public static final int ZQ_RightMotor_VALUE = 6;
+ /**
+ * + * DMAKE_2 = 8; + * DMAKE_3 = 9; + *+ * + *
DMAKE_1 = 7;
+ */
+ public static final int DMAKE_1_VALUE = 7;
+
+
+ public final int getNumber() {
+ if (this == UNRECOGNIZED) {
+ throw new java.lang.IllegalArgumentException(
+ "Can't get the number of an unknown enum value.");
+ }
+ return value;
+ }
+
+ /**
+ * @param value The numeric wire value of the corresponding enum entry.
+ * @return The enum associated with the given numeric wire value.
+ * @deprecated Use {@link #forNumber(int)} instead.
+ */
+ @java.lang.Deprecated
+ public static ComError valueOf(int value) {
+ return forNumber(value);
+ }
+
+ /**
+ * @param value The numeric wire value of the corresponding enum entry.
+ * @return The enum associated with the given numeric wire value.
+ */
+ public static ComError forNumber(int value) {
+ switch (value) {
+ case 0: return MK32_SBus;
+ case 1: return MK32_Serial;
+ case 2: return MK32_InitialState;
+ case 3: return TL720D;
+ case 4: return Force_sensor;
+ case 5: return ZQ_LeftMotor;
+ case 6: return ZQ_RightMotor;
+ case 7: return DMAKE_1;
+ default: return null;
+ }
+ }
+
+ public static com.google.protobuf.Internal.EnumLiteMapint32 Com_Error_Code = 1;
+ * @return The comErrorCode.
+ */
+ int getComErrorCode();
+
+ /**
+ * int32 Left_Motor_Error_Code = 2;
+ * @return The leftMotorErrorCode.
+ */
+ int getLeftMotorErrorCode();
+
+ /**
+ * int32 Right_Motor_Error_Code = 3;
+ * @return The rightMotorErrorCode.
+ */
+ int getRightMotorErrorCode();
+ }
+ /**
+ * Protobuf type {@code ErrorData}
+ */
+ public static final class ErrorData extends
+ com.google.protobuf.GeneratedMessage implements
+ // @@protoc_insertion_point(message_implements:ErrorData)
+ ErrorDataOrBuilder {
+ private static final long serialVersionUID = 0L;
+ static {
+ com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
+ com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
+ /* major= */ 4,
+ /* minor= */ 27,
+ /* patch= */ 2,
+ /* suffix= */ "",
+ ErrorData.class.getName());
+ }
+ // Use ErrorData.newBuilder() to construct.
+ private ErrorData(com.google.protobuf.GeneratedMessage.Builder> builder) {
+ super(builder);
+ }
+ private ErrorData() {
+ }
+
+ public static final com.google.protobuf.Descriptors.Descriptor
+ getDescriptor() {
+ return com.example.rougheningapp.models.BspError.internal_static_ErrorData_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.example.rougheningapp.models.BspError.internal_static_ErrorData_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.example.rougheningapp.models.BspError.ErrorData.class, com.example.rougheningapp.models.BspError.ErrorData.Builder.class);
+ }
+
+ public static final int COM_ERROR_CODE_FIELD_NUMBER = 1;
+ private int comErrorCode_ = 0;
+ /**
+ * int32 Com_Error_Code = 1;
+ * @return The comErrorCode.
+ */
+ @java.lang.Override
+ public int getComErrorCode() {
+ return comErrorCode_;
+ }
+
+ public static final int LEFT_MOTOR_ERROR_CODE_FIELD_NUMBER = 2;
+ private int leftMotorErrorCode_ = 0;
+ /**
+ * int32 Left_Motor_Error_Code = 2;
+ * @return The leftMotorErrorCode.
+ */
+ @java.lang.Override
+ public int getLeftMotorErrorCode() {
+ return leftMotorErrorCode_;
+ }
+
+ public static final int RIGHT_MOTOR_ERROR_CODE_FIELD_NUMBER = 3;
+ private int rightMotorErrorCode_ = 0;
+ /**
+ * int32 Right_Motor_Error_Code = 3;
+ * @return The rightMotorErrorCode.
+ */
+ @java.lang.Override
+ public int getRightMotorErrorCode() {
+ return rightMotorErrorCode_;
+ }
+
+ private byte memoizedIsInitialized = -1;
+ @java.lang.Override
+ public final boolean isInitialized() {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized == 1) return true;
+ if (isInitialized == 0) return false;
+
+ memoizedIsInitialized = 1;
+ return true;
+ }
+
+ @java.lang.Override
+ public void writeTo(com.google.protobuf.CodedOutputStream output)
+ throws java.io.IOException {
+ if (comErrorCode_ != 0) {
+ output.writeInt32(1, comErrorCode_);
+ }
+ if (leftMotorErrorCode_ != 0) {
+ output.writeInt32(2, leftMotorErrorCode_);
+ }
+ if (rightMotorErrorCode_ != 0) {
+ output.writeInt32(3, rightMotorErrorCode_);
+ }
+ getUnknownFields().writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (comErrorCode_ != 0) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeInt32Size(1, comErrorCode_);
+ }
+ if (leftMotorErrorCode_ != 0) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeInt32Size(2, leftMotorErrorCode_);
+ }
+ if (rightMotorErrorCode_ != 0) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeInt32Size(3, rightMotorErrorCode_);
+ }
+ size += getUnknownFields().getSerializedSize();
+ memoizedSize = size;
+ return size;
+ }
+
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
+ }
+ if (!(obj instanceof com.example.rougheningapp.models.BspError.ErrorData)) {
+ return super.equals(obj);
+ }
+ com.example.rougheningapp.models.BspError.ErrorData other = (com.example.rougheningapp.models.BspError.ErrorData) obj;
+
+ if (getComErrorCode()
+ != other.getComErrorCode()) return false;
+ if (getLeftMotorErrorCode()
+ != other.getLeftMotorErrorCode()) return false;
+ if (getRightMotorErrorCode()
+ != other.getRightMotorErrorCode()) return false;
+ if (!getUnknownFields().equals(other.getUnknownFields())) return false;
+ return true;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ hash = (37 * hash) + COM_ERROR_CODE_FIELD_NUMBER;
+ hash = (53 * hash) + getComErrorCode();
+ hash = (37 * hash) + LEFT_MOTOR_ERROR_CODE_FIELD_NUMBER;
+ hash = (53 * hash) + getLeftMotorErrorCode();
+ hash = (37 * hash) + RIGHT_MOTOR_ERROR_CODE_FIELD_NUMBER;
+ hash = (53 * hash) + getRightMotorErrorCode();
+ hash = (29 * hash) + getUnknownFields().hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.example.rougheningapp.models.BspError.ErrorData parseFrom(
+ java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static com.example.rougheningapp.models.BspError.ErrorData parseFrom(
+ java.nio.ByteBuffer data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static com.example.rougheningapp.models.BspError.ErrorData parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static com.example.rougheningapp.models.BspError.ErrorData parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static com.example.rougheningapp.models.BspError.ErrorData parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static com.example.rougheningapp.models.BspError.ErrorData parseFrom(
+ byte[] data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static com.example.rougheningapp.models.BspError.ErrorData parseFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage
+ .parseWithIOException(PARSER, input);
+ }
+ public static com.example.rougheningapp.models.BspError.ErrorData parseFrom(
+ java.io.InputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage
+ .parseWithIOException(PARSER, input, extensionRegistry);
+ }
+
+ public static com.example.rougheningapp.models.BspError.ErrorData parseDelimitedFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage
+ .parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static com.example.rougheningapp.models.BspError.ErrorData parseDelimitedFrom(
+ java.io.InputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage
+ .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+ }
+ public static com.example.rougheningapp.models.BspError.ErrorData parseFrom(
+ com.google.protobuf.CodedInputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage
+ .parseWithIOException(PARSER, input);
+ }
+ public static com.example.rougheningapp.models.BspError.ErrorData parseFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage
+ .parseWithIOException(PARSER, input, extensionRegistry);
+ }
+
+ @java.lang.Override
+ public Builder newBuilderForType() { return newBuilder(); }
+ public static Builder newBuilder() {
+ return DEFAULT_INSTANCE.toBuilder();
+ }
+ public static Builder newBuilder(com.example.rougheningapp.models.BspError.ErrorData prototype) {
+ return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
+ }
+ @java.lang.Override
+ public Builder toBuilder() {
+ return this == DEFAULT_INSTANCE
+ ? new Builder() : new Builder().mergeFrom(this);
+ }
+
+ @java.lang.Override
+ protected Builder newBuilderForType(
+ com.google.protobuf.GeneratedMessage.BuilderParent parent) {
+ Builder builder = new Builder(parent);
+ return builder;
+ }
+ /**
+ * Protobuf type {@code ErrorData}
+ */
+ public static final class Builder extends
+ com.google.protobuf.GeneratedMessage.Builderint32 Com_Error_Code = 1;
+ * @return The comErrorCode.
+ */
+ @java.lang.Override
+ public int getComErrorCode() {
+ return comErrorCode_;
+ }
+ /**
+ * int32 Com_Error_Code = 1;
+ * @param value The comErrorCode to set.
+ * @return This builder for chaining.
+ */
+ public Builder setComErrorCode(int value) {
+
+ comErrorCode_ = value;
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
+ /**
+ * int32 Com_Error_Code = 1;
+ * @return This builder for chaining.
+ */
+ public Builder clearComErrorCode() {
+ bitField0_ = (bitField0_ & ~0x00000001);
+ comErrorCode_ = 0;
+ onChanged();
+ return this;
+ }
+
+ private int leftMotorErrorCode_ ;
+ /**
+ * int32 Left_Motor_Error_Code = 2;
+ * @return The leftMotorErrorCode.
+ */
+ @java.lang.Override
+ public int getLeftMotorErrorCode() {
+ return leftMotorErrorCode_;
+ }
+ /**
+ * int32 Left_Motor_Error_Code = 2;
+ * @param value The leftMotorErrorCode to set.
+ * @return This builder for chaining.
+ */
+ public Builder setLeftMotorErrorCode(int value) {
+
+ leftMotorErrorCode_ = value;
+ bitField0_ |= 0x00000002;
+ onChanged();
+ return this;
+ }
+ /**
+ * int32 Left_Motor_Error_Code = 2;
+ * @return This builder for chaining.
+ */
+ public Builder clearLeftMotorErrorCode() {
+ bitField0_ = (bitField0_ & ~0x00000002);
+ leftMotorErrorCode_ = 0;
+ onChanged();
+ return this;
+ }
+
+ private int rightMotorErrorCode_ ;
+ /**
+ * int32 Right_Motor_Error_Code = 3;
+ * @return The rightMotorErrorCode.
+ */
+ @java.lang.Override
+ public int getRightMotorErrorCode() {
+ return rightMotorErrorCode_;
+ }
+ /**
+ * int32 Right_Motor_Error_Code = 3;
+ * @param value The rightMotorErrorCode to set.
+ * @return This builder for chaining.
+ */
+ public Builder setRightMotorErrorCode(int value) {
+
+ rightMotorErrorCode_ = value;
+ bitField0_ |= 0x00000004;
+ onChanged();
+ return this;
+ }
+ /**
+ * int32 Right_Motor_Error_Code = 3;
+ * @return This builder for chaining.
+ */
+ public Builder clearRightMotorErrorCode() {
+ bitField0_ = (bitField0_ & ~0x00000004);
+ rightMotorErrorCode_ = 0;
+ onChanged();
+ return this;
+ }
+
+ // @@protoc_insertion_point(builder_scope:ErrorData)
+ }
+
+ // @@protoc_insertion_point(class_scope:ErrorData)
+ private static final com.example.rougheningapp.models.BspError.ErrorData DEFAULT_INSTANCE;
+ static {
+ DEFAULT_INSTANCE = new com.example.rougheningapp.models.BspError.ErrorData();
+ }
+
+ public static com.example.rougheningapp.models.BspError.ErrorData getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parserint32 Tempature = 1;
+ * @return The tempature.
+ */
+ int getTempature();
+
+ /**
+ * int32 RunMode = 2;
+ * @return The runMode.
+ */
+ int getRunMode();
+
+ /**
+ * + * 单位0.01° + *+ * + *
int32 LeftCompensation = 3;
+ * @return The leftCompensation.
+ */
+ int getLeftCompensation();
+
+ /**
+ * + * 单位0.01° + *+ * + *
int32 RightCompensation = 4;
+ * @return The rightCompensation.
+ */
+ int getRightCompensation();
+
+ /**
+ * + * 单位0.01° + *+ * + *
int32 CurrentAngle = 5;
+ * @return The currentAngle.
+ */
+ int getCurrentAngle();
+
+ /**
+ * + * 单位m/min + *+ * + *
int32 RobotMoveSpeed = 6;
+ * @return The robotMoveSpeed.
+ */
+ int getRobotMoveSpeed();
+
+ /**
+ * int32 EndPressure = 7;
+ * @return The endPressure.
+ */
+ int getEndPressure();
+
+ /**
+ * + * 硬件通讯错误及按键未初始化错误 + *+ * + *
int32 SystemError = 8;
+ * @return The systemError.
+ */
+ int getSystemError();
+
+ /**
+ * + * 左轮电机报警 + *+ * + *
int32 Left_Motor_Err = 9;
+ * @return The leftMotorErr.
+ */
+ int getLeftMotorErr();
+
+ /**
+ * + * 右轮电机报警 + *+ * + *
int32 Right_Motor_Err = 10;
+ * @return The rightMotorErr.
+ */
+ int getRightMotorErr();
+
+ /**
+ * + * 左轮电机温度 + *+ * + *
int32 Left_Motor_Temp = 11;
+ * @return The leftMotorTemp.
+ */
+ int getLeftMotorTemp();
+
+ /**
+ * + * 右轮电机温度 + *+ * + *
int32 Right_Motor_Temp = 12;
+ * @return The rightMotorTemp.
+ */
+ int getRightMotorTemp();
+
+ /**
+ * + * 机器人正在执行运动指令 + *+ * + *
int32 IsWorking = 13;
+ * @return The isWorking.
+ */
+ int getIsWorking();
+ }
+ /**
+ * Protobuf type {@code IV_struct_define}
+ */
+ public static final class IV_struct_define extends
+ com.google.protobuf.GeneratedMessage implements
+ // @@protoc_insertion_point(message_implements:IV_struct_define)
+ IV_struct_defineOrBuilder {
+ private static final long serialVersionUID = 0L;
+ static {
+ com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
+ com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
+ /* major= */ 4,
+ /* minor= */ 27,
+ /* patch= */ 2,
+ /* suffix= */ "",
+ IV_struct_define.class.getName());
+ }
+ // Use IV_struct_define.newBuilder() to construct.
+ private IV_struct_define(com.google.protobuf.GeneratedMessage.Builder> builder) {
+ super(builder);
+ }
+ private IV_struct_define() {
+ }
+
+ public static final com.google.protobuf.Descriptors.Descriptor
+ getDescriptor() {
+ return com.example.rougheningapp.models.BspIV.internal_static_IV_struct_define_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.example.rougheningapp.models.BspIV.internal_static_IV_struct_define_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.example.rougheningapp.models.BspIV.IV_struct_define.class, com.example.rougheningapp.models.BspIV.IV_struct_define.Builder.class);
+ }
+
+ public static final int TEMPATURE_FIELD_NUMBER = 1;
+ private int tempature_ = 0;
+ /**
+ * int32 Tempature = 1;
+ * @return The tempature.
+ */
+ @java.lang.Override
+ public int getTempature() {
+ return tempature_;
+ }
+
+ public static final int RUNMODE_FIELD_NUMBER = 2;
+ private int runMode_ = 0;
+ /**
+ * int32 RunMode = 2;
+ * @return The runMode.
+ */
+ @java.lang.Override
+ public int getRunMode() {
+ return runMode_;
+ }
+
+ public static final int LEFTCOMPENSATION_FIELD_NUMBER = 3;
+ private int leftCompensation_ = 0;
+ /**
+ * + * 单位0.01° + *+ * + *
int32 LeftCompensation = 3;
+ * @return The leftCompensation.
+ */
+ @java.lang.Override
+ public int getLeftCompensation() {
+ return leftCompensation_;
+ }
+
+ public static final int RIGHTCOMPENSATION_FIELD_NUMBER = 4;
+ private int rightCompensation_ = 0;
+ /**
+ * + * 单位0.01° + *+ * + *
int32 RightCompensation = 4;
+ * @return The rightCompensation.
+ */
+ @java.lang.Override
+ public int getRightCompensation() {
+ return rightCompensation_;
+ }
+
+ public static final int CURRENTANGLE_FIELD_NUMBER = 5;
+ private int currentAngle_ = 0;
+ /**
+ * + * 单位0.01° + *+ * + *
int32 CurrentAngle = 5;
+ * @return The currentAngle.
+ */
+ @java.lang.Override
+ public int getCurrentAngle() {
+ return currentAngle_;
+ }
+
+ public static final int ROBOTMOVESPEED_FIELD_NUMBER = 6;
+ private int robotMoveSpeed_ = 0;
+ /**
+ * + * 单位m/min + *+ * + *
int32 RobotMoveSpeed = 6;
+ * @return The robotMoveSpeed.
+ */
+ @java.lang.Override
+ public int getRobotMoveSpeed() {
+ return robotMoveSpeed_;
+ }
+
+ public static final int ENDPRESSURE_FIELD_NUMBER = 7;
+ private int endPressure_ = 0;
+ /**
+ * int32 EndPressure = 7;
+ * @return The endPressure.
+ */
+ @java.lang.Override
+ public int getEndPressure() {
+ return endPressure_;
+ }
+
+ public static final int SYSTEMERROR_FIELD_NUMBER = 8;
+ private int systemError_ = 0;
+ /**
+ * + * 硬件通讯错误及按键未初始化错误 + *+ * + *
int32 SystemError = 8;
+ * @return The systemError.
+ */
+ @java.lang.Override
+ public int getSystemError() {
+ return systemError_;
+ }
+
+ public static final int LEFT_MOTOR_ERR_FIELD_NUMBER = 9;
+ private int leftMotorErr_ = 0;
+ /**
+ * + * 左轮电机报警 + *+ * + *
int32 Left_Motor_Err = 9;
+ * @return The leftMotorErr.
+ */
+ @java.lang.Override
+ public int getLeftMotorErr() {
+ return leftMotorErr_;
+ }
+
+ public static final int RIGHT_MOTOR_ERR_FIELD_NUMBER = 10;
+ private int rightMotorErr_ = 0;
+ /**
+ * + * 右轮电机报警 + *+ * + *
int32 Right_Motor_Err = 10;
+ * @return The rightMotorErr.
+ */
+ @java.lang.Override
+ public int getRightMotorErr() {
+ return rightMotorErr_;
+ }
+
+ public static final int LEFT_MOTOR_TEMP_FIELD_NUMBER = 11;
+ private int leftMotorTemp_ = 0;
+ /**
+ * + * 左轮电机温度 + *+ * + *
int32 Left_Motor_Temp = 11;
+ * @return The leftMotorTemp.
+ */
+ @java.lang.Override
+ public int getLeftMotorTemp() {
+ return leftMotorTemp_;
+ }
+
+ public static final int RIGHT_MOTOR_TEMP_FIELD_NUMBER = 12;
+ private int rightMotorTemp_ = 0;
+ /**
+ * + * 右轮电机温度 + *+ * + *
int32 Right_Motor_Temp = 12;
+ * @return The rightMotorTemp.
+ */
+ @java.lang.Override
+ public int getRightMotorTemp() {
+ return rightMotorTemp_;
+ }
+
+ public static final int ISWORKING_FIELD_NUMBER = 13;
+ private int isWorking_ = 0;
+ /**
+ * + * 机器人正在执行运动指令 + *+ * + *
int32 IsWorking = 13;
+ * @return The isWorking.
+ */
+ @java.lang.Override
+ public int getIsWorking() {
+ return isWorking_;
+ }
+
+ private byte memoizedIsInitialized = -1;
+ @java.lang.Override
+ public final boolean isInitialized() {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized == 1) return true;
+ if (isInitialized == 0) return false;
+
+ memoizedIsInitialized = 1;
+ return true;
+ }
+
+ @java.lang.Override
+ public void writeTo(com.google.protobuf.CodedOutputStream output)
+ throws java.io.IOException {
+ if (tempature_ != 0) {
+ output.writeInt32(1, tempature_);
+ }
+ if (runMode_ != 0) {
+ output.writeInt32(2, runMode_);
+ }
+ if (leftCompensation_ != 0) {
+ output.writeInt32(3, leftCompensation_);
+ }
+ if (rightCompensation_ != 0) {
+ output.writeInt32(4, rightCompensation_);
+ }
+ if (currentAngle_ != 0) {
+ output.writeInt32(5, currentAngle_);
+ }
+ if (robotMoveSpeed_ != 0) {
+ output.writeInt32(6, robotMoveSpeed_);
+ }
+ if (endPressure_ != 0) {
+ output.writeInt32(7, endPressure_);
+ }
+ if (systemError_ != 0) {
+ output.writeInt32(8, systemError_);
+ }
+ if (leftMotorErr_ != 0) {
+ output.writeInt32(9, leftMotorErr_);
+ }
+ if (rightMotorErr_ != 0) {
+ output.writeInt32(10, rightMotorErr_);
+ }
+ if (leftMotorTemp_ != 0) {
+ output.writeInt32(11, leftMotorTemp_);
+ }
+ if (rightMotorTemp_ != 0) {
+ output.writeInt32(12, rightMotorTemp_);
+ }
+ if (isWorking_ != 0) {
+ output.writeInt32(13, isWorking_);
+ }
+ getUnknownFields().writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (tempature_ != 0) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeInt32Size(1, tempature_);
+ }
+ if (runMode_ != 0) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeInt32Size(2, runMode_);
+ }
+ if (leftCompensation_ != 0) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeInt32Size(3, leftCompensation_);
+ }
+ if (rightCompensation_ != 0) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeInt32Size(4, rightCompensation_);
+ }
+ if (currentAngle_ != 0) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeInt32Size(5, currentAngle_);
+ }
+ if (robotMoveSpeed_ != 0) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeInt32Size(6, robotMoveSpeed_);
+ }
+ if (endPressure_ != 0) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeInt32Size(7, endPressure_);
+ }
+ if (systemError_ != 0) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeInt32Size(8, systemError_);
+ }
+ if (leftMotorErr_ != 0) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeInt32Size(9, leftMotorErr_);
+ }
+ if (rightMotorErr_ != 0) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeInt32Size(10, rightMotorErr_);
+ }
+ if (leftMotorTemp_ != 0) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeInt32Size(11, leftMotorTemp_);
+ }
+ if (rightMotorTemp_ != 0) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeInt32Size(12, rightMotorTemp_);
+ }
+ if (isWorking_ != 0) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeInt32Size(13, isWorking_);
+ }
+ size += getUnknownFields().getSerializedSize();
+ memoizedSize = size;
+ return size;
+ }
+
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
+ }
+ if (!(obj instanceof com.example.rougheningapp.models.BspIV.IV_struct_define)) {
+ return super.equals(obj);
+ }
+ com.example.rougheningapp.models.BspIV.IV_struct_define other = (com.example.rougheningapp.models.BspIV.IV_struct_define) obj;
+
+ if (getTempature()
+ != other.getTempature()) return false;
+ if (getRunMode()
+ != other.getRunMode()) return false;
+ if (getLeftCompensation()
+ != other.getLeftCompensation()) return false;
+ if (getRightCompensation()
+ != other.getRightCompensation()) return false;
+ if (getCurrentAngle()
+ != other.getCurrentAngle()) return false;
+ if (getRobotMoveSpeed()
+ != other.getRobotMoveSpeed()) return false;
+ if (getEndPressure()
+ != other.getEndPressure()) return false;
+ if (getSystemError()
+ != other.getSystemError()) return false;
+ if (getLeftMotorErr()
+ != other.getLeftMotorErr()) return false;
+ if (getRightMotorErr()
+ != other.getRightMotorErr()) return false;
+ if (getLeftMotorTemp()
+ != other.getLeftMotorTemp()) return false;
+ if (getRightMotorTemp()
+ != other.getRightMotorTemp()) return false;
+ if (getIsWorking()
+ != other.getIsWorking()) return false;
+ if (!getUnknownFields().equals(other.getUnknownFields())) return false;
+ return true;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ hash = (37 * hash) + TEMPATURE_FIELD_NUMBER;
+ hash = (53 * hash) + getTempature();
+ hash = (37 * hash) + RUNMODE_FIELD_NUMBER;
+ hash = (53 * hash) + getRunMode();
+ hash = (37 * hash) + LEFTCOMPENSATION_FIELD_NUMBER;
+ hash = (53 * hash) + getLeftCompensation();
+ hash = (37 * hash) + RIGHTCOMPENSATION_FIELD_NUMBER;
+ hash = (53 * hash) + getRightCompensation();
+ hash = (37 * hash) + CURRENTANGLE_FIELD_NUMBER;
+ hash = (53 * hash) + getCurrentAngle();
+ hash = (37 * hash) + ROBOTMOVESPEED_FIELD_NUMBER;
+ hash = (53 * hash) + getRobotMoveSpeed();
+ hash = (37 * hash) + ENDPRESSURE_FIELD_NUMBER;
+ hash = (53 * hash) + getEndPressure();
+ hash = (37 * hash) + SYSTEMERROR_FIELD_NUMBER;
+ hash = (53 * hash) + getSystemError();
+ hash = (37 * hash) + LEFT_MOTOR_ERR_FIELD_NUMBER;
+ hash = (53 * hash) + getLeftMotorErr();
+ hash = (37 * hash) + RIGHT_MOTOR_ERR_FIELD_NUMBER;
+ hash = (53 * hash) + getRightMotorErr();
+ hash = (37 * hash) + LEFT_MOTOR_TEMP_FIELD_NUMBER;
+ hash = (53 * hash) + getLeftMotorTemp();
+ hash = (37 * hash) + RIGHT_MOTOR_TEMP_FIELD_NUMBER;
+ hash = (53 * hash) + getRightMotorTemp();
+ hash = (37 * hash) + ISWORKING_FIELD_NUMBER;
+ hash = (53 * hash) + getIsWorking();
+ hash = (29 * hash) + getUnknownFields().hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.example.rougheningapp.models.BspIV.IV_struct_define parseFrom(
+ java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static com.example.rougheningapp.models.BspIV.IV_struct_define parseFrom(
+ java.nio.ByteBuffer data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static com.example.rougheningapp.models.BspIV.IV_struct_define parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static com.example.rougheningapp.models.BspIV.IV_struct_define parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static com.example.rougheningapp.models.BspIV.IV_struct_define parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static com.example.rougheningapp.models.BspIV.IV_struct_define parseFrom(
+ byte[] data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static com.example.rougheningapp.models.BspIV.IV_struct_define parseFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage
+ .parseWithIOException(PARSER, input);
+ }
+ public static com.example.rougheningapp.models.BspIV.IV_struct_define parseFrom(
+ java.io.InputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage
+ .parseWithIOException(PARSER, input, extensionRegistry);
+ }
+
+ public static com.example.rougheningapp.models.BspIV.IV_struct_define parseDelimitedFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage
+ .parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static com.example.rougheningapp.models.BspIV.IV_struct_define parseDelimitedFrom(
+ java.io.InputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage
+ .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+ }
+ public static com.example.rougheningapp.models.BspIV.IV_struct_define parseFrom(
+ com.google.protobuf.CodedInputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage
+ .parseWithIOException(PARSER, input);
+ }
+ public static com.example.rougheningapp.models.BspIV.IV_struct_define parseFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage
+ .parseWithIOException(PARSER, input, extensionRegistry);
+ }
+
+ @java.lang.Override
+ public Builder newBuilderForType() { return newBuilder(); }
+ public static Builder newBuilder() {
+ return DEFAULT_INSTANCE.toBuilder();
+ }
+ public static Builder newBuilder(com.example.rougheningapp.models.BspIV.IV_struct_define prototype) {
+ return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
+ }
+ @java.lang.Override
+ public Builder toBuilder() {
+ return this == DEFAULT_INSTANCE
+ ? new Builder() : new Builder().mergeFrom(this);
+ }
+
+ @java.lang.Override
+ protected Builder newBuilderForType(
+ com.google.protobuf.GeneratedMessage.BuilderParent parent) {
+ Builder builder = new Builder(parent);
+ return builder;
+ }
+ /**
+ * Protobuf type {@code IV_struct_define}
+ */
+ public static final class Builder extends
+ com.google.protobuf.GeneratedMessage.Builderint32 Tempature = 1;
+ * @return The tempature.
+ */
+ @java.lang.Override
+ public int getTempature() {
+ return tempature_;
+ }
+ /**
+ * int32 Tempature = 1;
+ * @param value The tempature to set.
+ * @return This builder for chaining.
+ */
+ public Builder setTempature(int value) {
+
+ tempature_ = value;
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
+ /**
+ * int32 Tempature = 1;
+ * @return This builder for chaining.
+ */
+ public Builder clearTempature() {
+ bitField0_ = (bitField0_ & ~0x00000001);
+ tempature_ = 0;
+ onChanged();
+ return this;
+ }
+
+ private int runMode_ ;
+ /**
+ * int32 RunMode = 2;
+ * @return The runMode.
+ */
+ @java.lang.Override
+ public int getRunMode() {
+ return runMode_;
+ }
+ /**
+ * int32 RunMode = 2;
+ * @param value The runMode to set.
+ * @return This builder for chaining.
+ */
+ public Builder setRunMode(int value) {
+
+ runMode_ = value;
+ bitField0_ |= 0x00000002;
+ onChanged();
+ return this;
+ }
+ /**
+ * int32 RunMode = 2;
+ * @return This builder for chaining.
+ */
+ public Builder clearRunMode() {
+ bitField0_ = (bitField0_ & ~0x00000002);
+ runMode_ = 0;
+ onChanged();
+ return this;
+ }
+
+ private int leftCompensation_ ;
+ /**
+ * + * 单位0.01° + *+ * + *
int32 LeftCompensation = 3;
+ * @return The leftCompensation.
+ */
+ @java.lang.Override
+ public int getLeftCompensation() {
+ return leftCompensation_;
+ }
+ /**
+ * + * 单位0.01° + *+ * + *
int32 LeftCompensation = 3;
+ * @param value The leftCompensation to set.
+ * @return This builder for chaining.
+ */
+ public Builder setLeftCompensation(int value) {
+
+ leftCompensation_ = value;
+ bitField0_ |= 0x00000004;
+ onChanged();
+ return this;
+ }
+ /**
+ * + * 单位0.01° + *+ * + *
int32 LeftCompensation = 3;
+ * @return This builder for chaining.
+ */
+ public Builder clearLeftCompensation() {
+ bitField0_ = (bitField0_ & ~0x00000004);
+ leftCompensation_ = 0;
+ onChanged();
+ return this;
+ }
+
+ private int rightCompensation_ ;
+ /**
+ * + * 单位0.01° + *+ * + *
int32 RightCompensation = 4;
+ * @return The rightCompensation.
+ */
+ @java.lang.Override
+ public int getRightCompensation() {
+ return rightCompensation_;
+ }
+ /**
+ * + * 单位0.01° + *+ * + *
int32 RightCompensation = 4;
+ * @param value The rightCompensation to set.
+ * @return This builder for chaining.
+ */
+ public Builder setRightCompensation(int value) {
+
+ rightCompensation_ = value;
+ bitField0_ |= 0x00000008;
+ onChanged();
+ return this;
+ }
+ /**
+ * + * 单位0.01° + *+ * + *
int32 RightCompensation = 4;
+ * @return This builder for chaining.
+ */
+ public Builder clearRightCompensation() {
+ bitField0_ = (bitField0_ & ~0x00000008);
+ rightCompensation_ = 0;
+ onChanged();
+ return this;
+ }
+
+ private int currentAngle_ ;
+ /**
+ * + * 单位0.01° + *+ * + *
int32 CurrentAngle = 5;
+ * @return The currentAngle.
+ */
+ @java.lang.Override
+ public int getCurrentAngle() {
+ return currentAngle_;
+ }
+ /**
+ * + * 单位0.01° + *+ * + *
int32 CurrentAngle = 5;
+ * @param value The currentAngle to set.
+ * @return This builder for chaining.
+ */
+ public Builder setCurrentAngle(int value) {
+
+ currentAngle_ = value;
+ bitField0_ |= 0x00000010;
+ onChanged();
+ return this;
+ }
+ /**
+ * + * 单位0.01° + *+ * + *
int32 CurrentAngle = 5;
+ * @return This builder for chaining.
+ */
+ public Builder clearCurrentAngle() {
+ bitField0_ = (bitField0_ & ~0x00000010);
+ currentAngle_ = 0;
+ onChanged();
+ return this;
+ }
+
+ private int robotMoveSpeed_ ;
+ /**
+ * + * 单位m/min + *+ * + *
int32 RobotMoveSpeed = 6;
+ * @return The robotMoveSpeed.
+ */
+ @java.lang.Override
+ public int getRobotMoveSpeed() {
+ return robotMoveSpeed_;
+ }
+ /**
+ * + * 单位m/min + *+ * + *
int32 RobotMoveSpeed = 6;
+ * @param value The robotMoveSpeed to set.
+ * @return This builder for chaining.
+ */
+ public Builder setRobotMoveSpeed(int value) {
+
+ robotMoveSpeed_ = value;
+ bitField0_ |= 0x00000020;
+ onChanged();
+ return this;
+ }
+ /**
+ * + * 单位m/min + *+ * + *
int32 RobotMoveSpeed = 6;
+ * @return This builder for chaining.
+ */
+ public Builder clearRobotMoveSpeed() {
+ bitField0_ = (bitField0_ & ~0x00000020);
+ robotMoveSpeed_ = 0;
+ onChanged();
+ return this;
+ }
+
+ private int endPressure_ ;
+ /**
+ * int32 EndPressure = 7;
+ * @return The endPressure.
+ */
+ @java.lang.Override
+ public int getEndPressure() {
+ return endPressure_;
+ }
+ /**
+ * int32 EndPressure = 7;
+ * @param value The endPressure to set.
+ * @return This builder for chaining.
+ */
+ public Builder setEndPressure(int value) {
+
+ endPressure_ = value;
+ bitField0_ |= 0x00000040;
+ onChanged();
+ return this;
+ }
+ /**
+ * int32 EndPressure = 7;
+ * @return This builder for chaining.
+ */
+ public Builder clearEndPressure() {
+ bitField0_ = (bitField0_ & ~0x00000040);
+ endPressure_ = 0;
+ onChanged();
+ return this;
+ }
+
+ private int systemError_ ;
+ /**
+ * + * 硬件通讯错误及按键未初始化错误 + *+ * + *
int32 SystemError = 8;
+ * @return The systemError.
+ */
+ @java.lang.Override
+ public int getSystemError() {
+ return systemError_;
+ }
+ /**
+ * + * 硬件通讯错误及按键未初始化错误 + *+ * + *
int32 SystemError = 8;
+ * @param value The systemError to set.
+ * @return This builder for chaining.
+ */
+ public Builder setSystemError(int value) {
+
+ systemError_ = value;
+ bitField0_ |= 0x00000080;
+ onChanged();
+ return this;
+ }
+ /**
+ * + * 硬件通讯错误及按键未初始化错误 + *+ * + *
int32 SystemError = 8;
+ * @return This builder for chaining.
+ */
+ public Builder clearSystemError() {
+ bitField0_ = (bitField0_ & ~0x00000080);
+ systemError_ = 0;
+ onChanged();
+ return this;
+ }
+
+ private int leftMotorErr_ ;
+ /**
+ * + * 左轮电机报警 + *+ * + *
int32 Left_Motor_Err = 9;
+ * @return The leftMotorErr.
+ */
+ @java.lang.Override
+ public int getLeftMotorErr() {
+ return leftMotorErr_;
+ }
+ /**
+ * + * 左轮电机报警 + *+ * + *
int32 Left_Motor_Err = 9;
+ * @param value The leftMotorErr to set.
+ * @return This builder for chaining.
+ */
+ public Builder setLeftMotorErr(int value) {
+
+ leftMotorErr_ = value;
+ bitField0_ |= 0x00000100;
+ onChanged();
+ return this;
+ }
+ /**
+ * + * 左轮电机报警 + *+ * + *
int32 Left_Motor_Err = 9;
+ * @return This builder for chaining.
+ */
+ public Builder clearLeftMotorErr() {
+ bitField0_ = (bitField0_ & ~0x00000100);
+ leftMotorErr_ = 0;
+ onChanged();
+ return this;
+ }
+
+ private int rightMotorErr_ ;
+ /**
+ * + * 右轮电机报警 + *+ * + *
int32 Right_Motor_Err = 10;
+ * @return The rightMotorErr.
+ */
+ @java.lang.Override
+ public int getRightMotorErr() {
+ return rightMotorErr_;
+ }
+ /**
+ * + * 右轮电机报警 + *+ * + *
int32 Right_Motor_Err = 10;
+ * @param value The rightMotorErr to set.
+ * @return This builder for chaining.
+ */
+ public Builder setRightMotorErr(int value) {
+
+ rightMotorErr_ = value;
+ bitField0_ |= 0x00000200;
+ onChanged();
+ return this;
+ }
+ /**
+ * + * 右轮电机报警 + *+ * + *
int32 Right_Motor_Err = 10;
+ * @return This builder for chaining.
+ */
+ public Builder clearRightMotorErr() {
+ bitField0_ = (bitField0_ & ~0x00000200);
+ rightMotorErr_ = 0;
+ onChanged();
+ return this;
+ }
+
+ private int leftMotorTemp_ ;
+ /**
+ * + * 左轮电机温度 + *+ * + *
int32 Left_Motor_Temp = 11;
+ * @return The leftMotorTemp.
+ */
+ @java.lang.Override
+ public int getLeftMotorTemp() {
+ return leftMotorTemp_;
+ }
+ /**
+ * + * 左轮电机温度 + *+ * + *
int32 Left_Motor_Temp = 11;
+ * @param value The leftMotorTemp to set.
+ * @return This builder for chaining.
+ */
+ public Builder setLeftMotorTemp(int value) {
+
+ leftMotorTemp_ = value;
+ bitField0_ |= 0x00000400;
+ onChanged();
+ return this;
+ }
+ /**
+ * + * 左轮电机温度 + *+ * + *
int32 Left_Motor_Temp = 11;
+ * @return This builder for chaining.
+ */
+ public Builder clearLeftMotorTemp() {
+ bitField0_ = (bitField0_ & ~0x00000400);
+ leftMotorTemp_ = 0;
+ onChanged();
+ return this;
+ }
+
+ private int rightMotorTemp_ ;
+ /**
+ * + * 右轮电机温度 + *+ * + *
int32 Right_Motor_Temp = 12;
+ * @return The rightMotorTemp.
+ */
+ @java.lang.Override
+ public int getRightMotorTemp() {
+ return rightMotorTemp_;
+ }
+ /**
+ * + * 右轮电机温度 + *+ * + *
int32 Right_Motor_Temp = 12;
+ * @param value The rightMotorTemp to set.
+ * @return This builder for chaining.
+ */
+ public Builder setRightMotorTemp(int value) {
+
+ rightMotorTemp_ = value;
+ bitField0_ |= 0x00000800;
+ onChanged();
+ return this;
+ }
+ /**
+ * + * 右轮电机温度 + *+ * + *
int32 Right_Motor_Temp = 12;
+ * @return This builder for chaining.
+ */
+ public Builder clearRightMotorTemp() {
+ bitField0_ = (bitField0_ & ~0x00000800);
+ rightMotorTemp_ = 0;
+ onChanged();
+ return this;
+ }
+
+ private int isWorking_ ;
+ /**
+ * + * 机器人正在执行运动指令 + *+ * + *
int32 IsWorking = 13;
+ * @return The isWorking.
+ */
+ @java.lang.Override
+ public int getIsWorking() {
+ return isWorking_;
+ }
+ /**
+ * + * 机器人正在执行运动指令 + *+ * + *
int32 IsWorking = 13;
+ * @param value The isWorking to set.
+ * @return This builder for chaining.
+ */
+ public Builder setIsWorking(int value) {
+
+ isWorking_ = value;
+ bitField0_ |= 0x00001000;
+ onChanged();
+ return this;
+ }
+ /**
+ * + * 机器人正在执行运动指令 + *+ * + *
int32 IsWorking = 13;
+ * @return This builder for chaining.
+ */
+ public Builder clearIsWorking() {
+ bitField0_ = (bitField0_ & ~0x00001000);
+ isWorking_ = 0;
+ onChanged();
+ return this;
+ }
+
+ // @@protoc_insertion_point(builder_scope:IV_struct_define)
+ }
+
+ // @@protoc_insertion_point(class_scope:IV_struct_define)
+ private static final com.example.rougheningapp.models.BspIV.IV_struct_define DEFAULT_INSTANCE;
+ static {
+ DEFAULT_INSTANCE = new com.example.rougheningapp.models.BspIV.IV_struct_define();
+ }
+
+ public static com.example.rougheningapp.models.BspIV.IV_struct_define getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser+ * 拉毛项目 + *+ * + *
int32 RobotSpeed = 1;
+ * @return The robotSpeed.
+ */
+ int getRobotSpeed();
+
+ /**
+ * + * 1 手动无校准作业 2 手动水平作业 3 手动竖直向左作业 4 手动竖直向右作业 5 自动水平作业 6 自动竖直向左作业 7 自动竖直向右作业; + *+ * + *
int32 RunMode = 2;
+ * @return The runMode.
+ */
+ int getRunMode();
+
+ /**
+ * + * 0-100cm + *+ * + *
int32 LaneChangeDistance = 3;
+ * @return The laneChangeDistance.
+ */
+ int getLaneChangeDistance();
+
+ /**
+ * + * 水平方向 作业长度0-200m + *+ * + *
int32 WorkDistanceMeters = 4;
+ * @return The workDistanceMeters.
+ */
+ int getWorkDistanceMeters();
+
+ /**
+ * + * 竖直方向 作业宽度度0-200m + *+ * + *
int32 WorkWidthMeters = 5;
+ * @return The workWidthMeters.
+ */
+ int getWorkWidthMeters();
+
+ /**
+ * + * 0停止 1正向 2反向 + *+ * + *
int32 ToolRotationDirection = 6;
+ * @return The toolRotationDirection.
+ */
+ int getToolRotationDirection();
+
+ /**
+ * + * 下压到某个值之后,停止运动 + *+ * + *
int32 EndPushForceValue = 7;
+ * @return The endPushForceValue.
+ */
+ int getEndPushForceValue();
+
+ /**
+ * + * 0.01° + *+ * + *
int32 LeftCompensation = 8;
+ * @return The leftCompensation.
+ */
+ int getLeftCompensation();
+
+ /**
+ * + * 0.01° + *+ * + *
int32 RightCompensation = 9;
+ * @return The rightCompensation.
+ */
+ int getRightCompensation();
+
+ /**
+ * + * 1° + *+ * + *
double Vertical_Calibration = 10;
+ * @return The verticalCalibration.
+ */
+ double getVerticalCalibration();
+ }
+ /**
+ * Protobuf type {@code PV_struct_define}
+ */
+ public static final class PV_struct_define extends
+ com.google.protobuf.GeneratedMessage implements
+ // @@protoc_insertion_point(message_implements:PV_struct_define)
+ PV_struct_defineOrBuilder {
+ private static final long serialVersionUID = 0L;
+ static {
+ com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
+ com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
+ /* major= */ 4,
+ /* minor= */ 27,
+ /* patch= */ 2,
+ /* suffix= */ "",
+ PV_struct_define.class.getName());
+ }
+ // Use PV_struct_define.newBuilder() to construct.
+ private PV_struct_define(com.google.protobuf.GeneratedMessage.Builder> builder) {
+ super(builder);
+ }
+ private PV_struct_define() {
+ }
+
+ public static final com.google.protobuf.Descriptors.Descriptor
+ getDescriptor() {
+ return com.example.rougheningapp.models.BspPV.internal_static_PV_struct_define_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.example.rougheningapp.models.BspPV.internal_static_PV_struct_define_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.example.rougheningapp.models.BspPV.PV_struct_define.class, com.example.rougheningapp.models.BspPV.PV_struct_define.Builder.class);
+ }
+
+ public static final int ROBOTSPEED_FIELD_NUMBER = 1;
+ private int robotSpeed_ = 0;
+ /**
+ * + * 拉毛项目 + *+ * + *
int32 RobotSpeed = 1;
+ * @return The robotSpeed.
+ */
+ @java.lang.Override
+ public int getRobotSpeed() {
+ return robotSpeed_;
+ }
+
+ public static final int RUNMODE_FIELD_NUMBER = 2;
+ private int runMode_ = 0;
+ /**
+ * + * 1 手动无校准作业 2 手动水平作业 3 手动竖直向左作业 4 手动竖直向右作业 5 自动水平作业 6 自动竖直向左作业 7 自动竖直向右作业; + *+ * + *
int32 RunMode = 2;
+ * @return The runMode.
+ */
+ @java.lang.Override
+ public int getRunMode() {
+ return runMode_;
+ }
+
+ public static final int LANECHANGEDISTANCE_FIELD_NUMBER = 3;
+ private int laneChangeDistance_ = 0;
+ /**
+ * + * 0-100cm + *+ * + *
int32 LaneChangeDistance = 3;
+ * @return The laneChangeDistance.
+ */
+ @java.lang.Override
+ public int getLaneChangeDistance() {
+ return laneChangeDistance_;
+ }
+
+ public static final int WORKDISTANCEMETERS_FIELD_NUMBER = 4;
+ private int workDistanceMeters_ = 0;
+ /**
+ * + * 水平方向 作业长度0-200m + *+ * + *
int32 WorkDistanceMeters = 4;
+ * @return The workDistanceMeters.
+ */
+ @java.lang.Override
+ public int getWorkDistanceMeters() {
+ return workDistanceMeters_;
+ }
+
+ public static final int WORKWIDTHMETERS_FIELD_NUMBER = 5;
+ private int workWidthMeters_ = 0;
+ /**
+ * + * 竖直方向 作业宽度度0-200m + *+ * + *
int32 WorkWidthMeters = 5;
+ * @return The workWidthMeters.
+ */
+ @java.lang.Override
+ public int getWorkWidthMeters() {
+ return workWidthMeters_;
+ }
+
+ public static final int TOOLROTATIONDIRECTION_FIELD_NUMBER = 6;
+ private int toolRotationDirection_ = 0;
+ /**
+ * + * 0停止 1正向 2反向 + *+ * + *
int32 ToolRotationDirection = 6;
+ * @return The toolRotationDirection.
+ */
+ @java.lang.Override
+ public int getToolRotationDirection() {
+ return toolRotationDirection_;
+ }
+
+ public static final int ENDPUSHFORCEVALUE_FIELD_NUMBER = 7;
+ private int endPushForceValue_ = 0;
+ /**
+ * + * 下压到某个值之后,停止运动 + *+ * + *
int32 EndPushForceValue = 7;
+ * @return The endPushForceValue.
+ */
+ @java.lang.Override
+ public int getEndPushForceValue() {
+ return endPushForceValue_;
+ }
+
+ public static final int LEFTCOMPENSATION_FIELD_NUMBER = 8;
+ private int leftCompensation_ = 0;
+ /**
+ * + * 0.01° + *+ * + *
int32 LeftCompensation = 8;
+ * @return The leftCompensation.
+ */
+ @java.lang.Override
+ public int getLeftCompensation() {
+ return leftCompensation_;
+ }
+
+ public static final int RIGHTCOMPENSATION_FIELD_NUMBER = 9;
+ private int rightCompensation_ = 0;
+ /**
+ * + * 0.01° + *+ * + *
int32 RightCompensation = 9;
+ * @return The rightCompensation.
+ */
+ @java.lang.Override
+ public int getRightCompensation() {
+ return rightCompensation_;
+ }
+
+ public static final int VERTICAL_CALIBRATION_FIELD_NUMBER = 10;
+ private double verticalCalibration_ = 0D;
+ /**
+ * + * 1° + *+ * + *
double Vertical_Calibration = 10;
+ * @return The verticalCalibration.
+ */
+ @java.lang.Override
+ public double getVerticalCalibration() {
+ return verticalCalibration_;
+ }
+
+ private byte memoizedIsInitialized = -1;
+ @java.lang.Override
+ public final boolean isInitialized() {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized == 1) return true;
+ if (isInitialized == 0) return false;
+
+ memoizedIsInitialized = 1;
+ return true;
+ }
+
+ @java.lang.Override
+ public void writeTo(com.google.protobuf.CodedOutputStream output)
+ throws java.io.IOException {
+ if (robotSpeed_ != 0) {
+ output.writeInt32(1, robotSpeed_);
+ }
+ if (runMode_ != 0) {
+ output.writeInt32(2, runMode_);
+ }
+ if (laneChangeDistance_ != 0) {
+ output.writeInt32(3, laneChangeDistance_);
+ }
+ if (workDistanceMeters_ != 0) {
+ output.writeInt32(4, workDistanceMeters_);
+ }
+ if (workWidthMeters_ != 0) {
+ output.writeInt32(5, workWidthMeters_);
+ }
+ if (toolRotationDirection_ != 0) {
+ output.writeInt32(6, toolRotationDirection_);
+ }
+ if (endPushForceValue_ != 0) {
+ output.writeInt32(7, endPushForceValue_);
+ }
+ if (leftCompensation_ != 0) {
+ output.writeInt32(8, leftCompensation_);
+ }
+ if (rightCompensation_ != 0) {
+ output.writeInt32(9, rightCompensation_);
+ }
+ if (java.lang.Double.doubleToRawLongBits(verticalCalibration_) != 0) {
+ output.writeDouble(10, verticalCalibration_);
+ }
+ getUnknownFields().writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (robotSpeed_ != 0) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeInt32Size(1, robotSpeed_);
+ }
+ if (runMode_ != 0) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeInt32Size(2, runMode_);
+ }
+ if (laneChangeDistance_ != 0) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeInt32Size(3, laneChangeDistance_);
+ }
+ if (workDistanceMeters_ != 0) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeInt32Size(4, workDistanceMeters_);
+ }
+ if (workWidthMeters_ != 0) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeInt32Size(5, workWidthMeters_);
+ }
+ if (toolRotationDirection_ != 0) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeInt32Size(6, toolRotationDirection_);
+ }
+ if (endPushForceValue_ != 0) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeInt32Size(7, endPushForceValue_);
+ }
+ if (leftCompensation_ != 0) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeInt32Size(8, leftCompensation_);
+ }
+ if (rightCompensation_ != 0) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeInt32Size(9, rightCompensation_);
+ }
+ if (java.lang.Double.doubleToRawLongBits(verticalCalibration_) != 0) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeDoubleSize(10, verticalCalibration_);
+ }
+ size += getUnknownFields().getSerializedSize();
+ memoizedSize = size;
+ return size;
+ }
+
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
+ }
+ if (!(obj instanceof com.example.rougheningapp.models.BspPV.PV_struct_define)) {
+ return super.equals(obj);
+ }
+ com.example.rougheningapp.models.BspPV.PV_struct_define other = (com.example.rougheningapp.models.BspPV.PV_struct_define) obj;
+
+ if (getRobotSpeed()
+ != other.getRobotSpeed()) return false;
+ if (getRunMode()
+ != other.getRunMode()) return false;
+ if (getLaneChangeDistance()
+ != other.getLaneChangeDistance()) return false;
+ if (getWorkDistanceMeters()
+ != other.getWorkDistanceMeters()) return false;
+ if (getWorkWidthMeters()
+ != other.getWorkWidthMeters()) return false;
+ if (getToolRotationDirection()
+ != other.getToolRotationDirection()) return false;
+ if (getEndPushForceValue()
+ != other.getEndPushForceValue()) return false;
+ if (getLeftCompensation()
+ != other.getLeftCompensation()) return false;
+ if (getRightCompensation()
+ != other.getRightCompensation()) return false;
+ if (java.lang.Double.doubleToLongBits(getVerticalCalibration())
+ != java.lang.Double.doubleToLongBits(
+ other.getVerticalCalibration())) return false;
+ if (!getUnknownFields().equals(other.getUnknownFields())) return false;
+ return true;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ hash = (37 * hash) + ROBOTSPEED_FIELD_NUMBER;
+ hash = (53 * hash) + getRobotSpeed();
+ hash = (37 * hash) + RUNMODE_FIELD_NUMBER;
+ hash = (53 * hash) + getRunMode();
+ hash = (37 * hash) + LANECHANGEDISTANCE_FIELD_NUMBER;
+ hash = (53 * hash) + getLaneChangeDistance();
+ hash = (37 * hash) + WORKDISTANCEMETERS_FIELD_NUMBER;
+ hash = (53 * hash) + getWorkDistanceMeters();
+ hash = (37 * hash) + WORKWIDTHMETERS_FIELD_NUMBER;
+ hash = (53 * hash) + getWorkWidthMeters();
+ hash = (37 * hash) + TOOLROTATIONDIRECTION_FIELD_NUMBER;
+ hash = (53 * hash) + getToolRotationDirection();
+ hash = (37 * hash) + ENDPUSHFORCEVALUE_FIELD_NUMBER;
+ hash = (53 * hash) + getEndPushForceValue();
+ hash = (37 * hash) + LEFTCOMPENSATION_FIELD_NUMBER;
+ hash = (53 * hash) + getLeftCompensation();
+ hash = (37 * hash) + RIGHTCOMPENSATION_FIELD_NUMBER;
+ hash = (53 * hash) + getRightCompensation();
+ hash = (37 * hash) + VERTICAL_CALIBRATION_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
+ java.lang.Double.doubleToLongBits(getVerticalCalibration()));
+ hash = (29 * hash) + getUnknownFields().hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.example.rougheningapp.models.BspPV.PV_struct_define parseFrom(
+ java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static com.example.rougheningapp.models.BspPV.PV_struct_define parseFrom(
+ java.nio.ByteBuffer data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static com.example.rougheningapp.models.BspPV.PV_struct_define parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static com.example.rougheningapp.models.BspPV.PV_struct_define parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static com.example.rougheningapp.models.BspPV.PV_struct_define parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static com.example.rougheningapp.models.BspPV.PV_struct_define parseFrom(
+ byte[] data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static com.example.rougheningapp.models.BspPV.PV_struct_define parseFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage
+ .parseWithIOException(PARSER, input);
+ }
+ public static com.example.rougheningapp.models.BspPV.PV_struct_define parseFrom(
+ java.io.InputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage
+ .parseWithIOException(PARSER, input, extensionRegistry);
+ }
+
+ public static com.example.rougheningapp.models.BspPV.PV_struct_define parseDelimitedFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage
+ .parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static com.example.rougheningapp.models.BspPV.PV_struct_define parseDelimitedFrom(
+ java.io.InputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage
+ .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+ }
+ public static com.example.rougheningapp.models.BspPV.PV_struct_define parseFrom(
+ com.google.protobuf.CodedInputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage
+ .parseWithIOException(PARSER, input);
+ }
+ public static com.example.rougheningapp.models.BspPV.PV_struct_define parseFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage
+ .parseWithIOException(PARSER, input, extensionRegistry);
+ }
+
+ @java.lang.Override
+ public Builder newBuilderForType() { return newBuilder(); }
+ public static Builder newBuilder() {
+ return DEFAULT_INSTANCE.toBuilder();
+ }
+ public static Builder newBuilder(com.example.rougheningapp.models.BspPV.PV_struct_define prototype) {
+ return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
+ }
+ @java.lang.Override
+ public Builder toBuilder() {
+ return this == DEFAULT_INSTANCE
+ ? new Builder() : new Builder().mergeFrom(this);
+ }
+
+ @java.lang.Override
+ protected Builder newBuilderForType(
+ com.google.protobuf.GeneratedMessage.BuilderParent parent) {
+ Builder builder = new Builder(parent);
+ return builder;
+ }
+ /**
+ * Protobuf type {@code PV_struct_define}
+ */
+ public static final class Builder extends
+ com.google.protobuf.GeneratedMessage.Builder+ * 拉毛项目 + *+ * + *
int32 RobotSpeed = 1;
+ * @return The robotSpeed.
+ */
+ @java.lang.Override
+ public int getRobotSpeed() {
+ return robotSpeed_;
+ }
+ /**
+ * + * 拉毛项目 + *+ * + *
int32 RobotSpeed = 1;
+ * @param value The robotSpeed to set.
+ * @return This builder for chaining.
+ */
+ public Builder setRobotSpeed(int value) {
+
+ robotSpeed_ = value;
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
+ /**
+ * + * 拉毛项目 + *+ * + *
int32 RobotSpeed = 1;
+ * @return This builder for chaining.
+ */
+ public Builder clearRobotSpeed() {
+ bitField0_ = (bitField0_ & ~0x00000001);
+ robotSpeed_ = 0;
+ onChanged();
+ return this;
+ }
+
+ private int runMode_ ;
+ /**
+ * + * 1 手动无校准作业 2 手动水平作业 3 手动竖直向左作业 4 手动竖直向右作业 5 自动水平作业 6 自动竖直向左作业 7 自动竖直向右作业; + *+ * + *
int32 RunMode = 2;
+ * @return The runMode.
+ */
+ @java.lang.Override
+ public int getRunMode() {
+ return runMode_;
+ }
+ /**
+ * + * 1 手动无校准作业 2 手动水平作业 3 手动竖直向左作业 4 手动竖直向右作业 5 自动水平作业 6 自动竖直向左作业 7 自动竖直向右作业; + *+ * + *
int32 RunMode = 2;
+ * @param value The runMode to set.
+ * @return This builder for chaining.
+ */
+ public Builder setRunMode(int value) {
+
+ runMode_ = value;
+ bitField0_ |= 0x00000002;
+ onChanged();
+ return this;
+ }
+ /**
+ * + * 1 手动无校准作业 2 手动水平作业 3 手动竖直向左作业 4 手动竖直向右作业 5 自动水平作业 6 自动竖直向左作业 7 自动竖直向右作业; + *+ * + *
int32 RunMode = 2;
+ * @return This builder for chaining.
+ */
+ public Builder clearRunMode() {
+ bitField0_ = (bitField0_ & ~0x00000002);
+ runMode_ = 0;
+ onChanged();
+ return this;
+ }
+
+ private int laneChangeDistance_ ;
+ /**
+ * + * 0-100cm + *+ * + *
int32 LaneChangeDistance = 3;
+ * @return The laneChangeDistance.
+ */
+ @java.lang.Override
+ public int getLaneChangeDistance() {
+ return laneChangeDistance_;
+ }
+ /**
+ * + * 0-100cm + *+ * + *
int32 LaneChangeDistance = 3;
+ * @param value The laneChangeDistance to set.
+ * @return This builder for chaining.
+ */
+ public Builder setLaneChangeDistance(int value) {
+
+ laneChangeDistance_ = value;
+ bitField0_ |= 0x00000004;
+ onChanged();
+ return this;
+ }
+ /**
+ * + * 0-100cm + *+ * + *
int32 LaneChangeDistance = 3;
+ * @return This builder for chaining.
+ */
+ public Builder clearLaneChangeDistance() {
+ bitField0_ = (bitField0_ & ~0x00000004);
+ laneChangeDistance_ = 0;
+ onChanged();
+ return this;
+ }
+
+ private int workDistanceMeters_ ;
+ /**
+ * + * 水平方向 作业长度0-200m + *+ * + *
int32 WorkDistanceMeters = 4;
+ * @return The workDistanceMeters.
+ */
+ @java.lang.Override
+ public int getWorkDistanceMeters() {
+ return workDistanceMeters_;
+ }
+ /**
+ * + * 水平方向 作业长度0-200m + *+ * + *
int32 WorkDistanceMeters = 4;
+ * @param value The workDistanceMeters to set.
+ * @return This builder for chaining.
+ */
+ public Builder setWorkDistanceMeters(int value) {
+
+ workDistanceMeters_ = value;
+ bitField0_ |= 0x00000008;
+ onChanged();
+ return this;
+ }
+ /**
+ * + * 水平方向 作业长度0-200m + *+ * + *
int32 WorkDistanceMeters = 4;
+ * @return This builder for chaining.
+ */
+ public Builder clearWorkDistanceMeters() {
+ bitField0_ = (bitField0_ & ~0x00000008);
+ workDistanceMeters_ = 0;
+ onChanged();
+ return this;
+ }
+
+ private int workWidthMeters_ ;
+ /**
+ * + * 竖直方向 作业宽度度0-200m + *+ * + *
int32 WorkWidthMeters = 5;
+ * @return The workWidthMeters.
+ */
+ @java.lang.Override
+ public int getWorkWidthMeters() {
+ return workWidthMeters_;
+ }
+ /**
+ * + * 竖直方向 作业宽度度0-200m + *+ * + *
int32 WorkWidthMeters = 5;
+ * @param value The workWidthMeters to set.
+ * @return This builder for chaining.
+ */
+ public Builder setWorkWidthMeters(int value) {
+
+ workWidthMeters_ = value;
+ bitField0_ |= 0x00000010;
+ onChanged();
+ return this;
+ }
+ /**
+ * + * 竖直方向 作业宽度度0-200m + *+ * + *
int32 WorkWidthMeters = 5;
+ * @return This builder for chaining.
+ */
+ public Builder clearWorkWidthMeters() {
+ bitField0_ = (bitField0_ & ~0x00000010);
+ workWidthMeters_ = 0;
+ onChanged();
+ return this;
+ }
+
+ private int toolRotationDirection_ ;
+ /**
+ * + * 0停止 1正向 2反向 + *+ * + *
int32 ToolRotationDirection = 6;
+ * @return The toolRotationDirection.
+ */
+ @java.lang.Override
+ public int getToolRotationDirection() {
+ return toolRotationDirection_;
+ }
+ /**
+ * + * 0停止 1正向 2反向 + *+ * + *
int32 ToolRotationDirection = 6;
+ * @param value The toolRotationDirection to set.
+ * @return This builder for chaining.
+ */
+ public Builder setToolRotationDirection(int value) {
+
+ toolRotationDirection_ = value;
+ bitField0_ |= 0x00000020;
+ onChanged();
+ return this;
+ }
+ /**
+ * + * 0停止 1正向 2反向 + *+ * + *
int32 ToolRotationDirection = 6;
+ * @return This builder for chaining.
+ */
+ public Builder clearToolRotationDirection() {
+ bitField0_ = (bitField0_ & ~0x00000020);
+ toolRotationDirection_ = 0;
+ onChanged();
+ return this;
+ }
+
+ private int endPushForceValue_ ;
+ /**
+ * + * 下压到某个值之后,停止运动 + *+ * + *
int32 EndPushForceValue = 7;
+ * @return The endPushForceValue.
+ */
+ @java.lang.Override
+ public int getEndPushForceValue() {
+ return endPushForceValue_;
+ }
+ /**
+ * + * 下压到某个值之后,停止运动 + *+ * + *
int32 EndPushForceValue = 7;
+ * @param value The endPushForceValue to set.
+ * @return This builder for chaining.
+ */
+ public Builder setEndPushForceValue(int value) {
+
+ endPushForceValue_ = value;
+ bitField0_ |= 0x00000040;
+ onChanged();
+ return this;
+ }
+ /**
+ * + * 下压到某个值之后,停止运动 + *+ * + *
int32 EndPushForceValue = 7;
+ * @return This builder for chaining.
+ */
+ public Builder clearEndPushForceValue() {
+ bitField0_ = (bitField0_ & ~0x00000040);
+ endPushForceValue_ = 0;
+ onChanged();
+ return this;
+ }
+
+ private int leftCompensation_ ;
+ /**
+ * + * 0.01° + *+ * + *
int32 LeftCompensation = 8;
+ * @return The leftCompensation.
+ */
+ @java.lang.Override
+ public int getLeftCompensation() {
+ return leftCompensation_;
+ }
+ /**
+ * + * 0.01° + *+ * + *
int32 LeftCompensation = 8;
+ * @param value The leftCompensation to set.
+ * @return This builder for chaining.
+ */
+ public Builder setLeftCompensation(int value) {
+
+ leftCompensation_ = value;
+ bitField0_ |= 0x00000080;
+ onChanged();
+ return this;
+ }
+ /**
+ * + * 0.01° + *+ * + *
int32 LeftCompensation = 8;
+ * @return This builder for chaining.
+ */
+ public Builder clearLeftCompensation() {
+ bitField0_ = (bitField0_ & ~0x00000080);
+ leftCompensation_ = 0;
+ onChanged();
+ return this;
+ }
+
+ private int rightCompensation_ ;
+ /**
+ * + * 0.01° + *+ * + *
int32 RightCompensation = 9;
+ * @return The rightCompensation.
+ */
+ @java.lang.Override
+ public int getRightCompensation() {
+ return rightCompensation_;
+ }
+ /**
+ * + * 0.01° + *+ * + *
int32 RightCompensation = 9;
+ * @param value The rightCompensation to set.
+ * @return This builder for chaining.
+ */
+ public Builder setRightCompensation(int value) {
+
+ rightCompensation_ = value;
+ bitField0_ |= 0x00000100;
+ onChanged();
+ return this;
+ }
+ /**
+ * + * 0.01° + *+ * + *
int32 RightCompensation = 9;
+ * @return This builder for chaining.
+ */
+ public Builder clearRightCompensation() {
+ bitField0_ = (bitField0_ & ~0x00000100);
+ rightCompensation_ = 0;
+ onChanged();
+ return this;
+ }
+
+ private double verticalCalibration_ ;
+ /**
+ * + * 1° + *+ * + *
double Vertical_Calibration = 10;
+ * @return The verticalCalibration.
+ */
+ @java.lang.Override
+ public double getVerticalCalibration() {
+ return verticalCalibration_;
+ }
+ /**
+ * + * 1° + *+ * + *
double Vertical_Calibration = 10;
+ * @param value The verticalCalibration to set.
+ * @return This builder for chaining.
+ */
+ public Builder setVerticalCalibration(double value) {
+
+ verticalCalibration_ = value;
+ bitField0_ |= 0x00000200;
+ onChanged();
+ return this;
+ }
+ /**
+ * + * 1° + *+ * + *
double Vertical_Calibration = 10;
+ * @return This builder for chaining.
+ */
+ public Builder clearVerticalCalibration() {
+ bitField0_ = (bitField0_ & ~0x00000200);
+ verticalCalibration_ = 0D;
+ onChanged();
+ return this;
+ }
+
+ // @@protoc_insertion_point(builder_scope:PV_struct_define)
+ }
+
+ // @@protoc_insertion_point(class_scope:PV_struct_define)
+ private static final com.example.rougheningapp.models.BspPV.PV_struct_define DEFAULT_INSTANCE;
+ static {
+ DEFAULT_INSTANCE = new com.example.rougheningapp.models.BspPV.PV_struct_define();
+ }
+
+ public static com.example.rougheningapp.models.BspPV.PV_struct_define getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser}qZnbvX?Lr*RCb`@NG2ZN281b9EdANRz@G4yg
z{I;3Cz3i#9j*CPenngaX)jkV2&hC{pVZj~?^g`^?1iD-PS)?|co5u7}zuAvMWG?)1
zf<_Dq)XxPr^$gICt{Z~;LS^K#N7&nU;A=84_}Q0^{G}R42M$$JG=Z$wpL4fzTRo9e
zjdk|U;Smf5_VXxBrglBQ_8HdNa;F#EL<7aqLz3z64TXCVjAX~bU5Faq-oqdIT~ekk
zVJ;&gV9h{9KZGKOD?u9pH*5Bir7clakC?y>(+_TFs_vsS!Os+yl6@g XWJ*jrf=WA?Mv|&bo>l4MD^dps9$l`S?u<
z3*81gSj^oNA1!rX{SnGRK>pCvVhT;^|JZ)eL?5U*I&a+mlBy#YW=AJ>9;l0#h>YHi
zCZEQZRvT-4suF#my3Gehp4euxvB*ntg7M9ToT~^wdys6M@;^l4(>9(bjO$GKQn?l+
z=Xu(C)(l1$*-TrZL}{c||Lf6Zf5k2))xNL#{$GBSRYq!iS!Wm>W&yV(j*eeIhG%*|
z8UD)(hrjn1wA|C=DQZyev0RP-2iCCAJ)uA+`c5`X@mWD==^{fnoG2=?AeY< d!<($S_v@e{ItKp}?l@2?UV4ywU2
zj02qYd8$cai!DCUTB7$hH4zA7hH+#|O&l<~_gB>
zCRJM+Q>f22EOiuBTVel;@+RX{hdtu)%;|+E3oyEhPR>JTfH{R>A2Z#{(Q_&}J5OKTTRg$4lWE3RZLXU!Gfqoq~p4W)X<#yK}jrWL>2C
z6cV`zEXO-EO4d~DE*d$Nad8J9WysV5!jo$zB`R(CCFVd
a7<{4rxjx&(RblL;oq4O5S)B&t&Gg&EOLcEj=CBPzo1?LKc`|FE$
z2H(oq_L$T)I_Wgcl=w+5T`@-f&fU}DUtbG%Ifx?X&OKFtKt7;Oti}5SzTGrU^72a&
zs}Vh@K0gd*zs07xqr~IEQ#V1U*?CgclJ)9>jckUO`}OOckYM#rfg2Af?})$JuaJ~z
zx&o$(RHIlGa_r{G-|kcVx)KsXQXR`APVI70?eWx|#{)QCl~_5t&Ua_E9*WIilT67(
z|1;)W>*8#$!wb9i4RF@|xKi-w7Oz7yh8A@KWx*N=#C#Lw2^PaV>`V^jh?Q*CXk$RH
zs#6eS9}}<#>Sn8g$zED7Z^8dLhJ*C_Uc#2L~}9+j~r2nGIh&L1oH
zzOiA!YuZP|n*
XAOxxRA@;177S+#>Q
z=}3Y%{XPn4T1Eco>?5HEYD6)pt|Psa|7AS5b;vV@Bm-3kQgNNqr1|#4gBcjAU8(bt
zFQqU<$@tuwer)-I`8m4t3aB^M@3?yuVp@f9OM^TdU0MMCG4)Ca3S-Aeo4_MIrGeXQ
zQO3Zn*v}KeH}a6)nn=3cl;4X4LRFNc91F