|
|
|
@ -153,6 +153,12 @@ public final class BspPV { |
|
|
|
* @return The toolRotationDirection. |
|
|
|
*/ |
|
|
|
int getToolRotationDirection(); |
|
|
|
|
|
|
|
/** |
|
|
|
* <code>double Horizontal_Calibration = 14;</code> |
|
|
|
* @return The horizontalCalibration. |
|
|
|
*/ |
|
|
|
double getHorizontalCalibration(); |
|
|
|
} |
|
|
|
/** |
|
|
|
* Protobuf type {@code PV_struct_define} |
|
|
|
@ -381,6 +387,17 @@ public final class BspPV { |
|
|
|
return toolRotationDirection_; |
|
|
|
} |
|
|
|
|
|
|
|
public static final int HORIZONTAL_CALIBRATION_FIELD_NUMBER = 14; |
|
|
|
private double horizontalCalibration_ = 0D; |
|
|
|
/** |
|
|
|
* <code>double Horizontal_Calibration = 14;</code> |
|
|
|
* @return The horizontalCalibration. |
|
|
|
*/ |
|
|
|
@java.lang.Override |
|
|
|
public double getHorizontalCalibration() { |
|
|
|
return horizontalCalibration_; |
|
|
|
} |
|
|
|
|
|
|
|
private byte memoizedIsInitialized = -1; |
|
|
|
@java.lang.Override |
|
|
|
public final boolean isInitialized() { |
|
|
|
@ -434,6 +451,9 @@ public final class BspPV { |
|
|
|
if (toolRotationDirection_ != 0) { |
|
|
|
output.writeInt32(13, toolRotationDirection_); |
|
|
|
} |
|
|
|
if (java.lang.Double.doubleToRawLongBits(horizontalCalibration_) != 0) { |
|
|
|
output.writeDouble(14, horizontalCalibration_); |
|
|
|
} |
|
|
|
getUnknownFields().writeTo(output); |
|
|
|
} |
|
|
|
|
|
|
|
@ -495,6 +515,10 @@ public final class BspPV { |
|
|
|
size += com.google.protobuf.CodedOutputStream |
|
|
|
.computeInt32Size(13, toolRotationDirection_); |
|
|
|
} |
|
|
|
if (java.lang.Double.doubleToRawLongBits(horizontalCalibration_) != 0) { |
|
|
|
size += com.google.protobuf.CodedOutputStream |
|
|
|
.computeDoubleSize(14, horizontalCalibration_); |
|
|
|
} |
|
|
|
size += getUnknownFields().getSerializedSize(); |
|
|
|
memoizedSize = size; |
|
|
|
return size; |
|
|
|
@ -539,6 +563,9 @@ public final class BspPV { |
|
|
|
!= other.getDmkSpeed()) return false; |
|
|
|
if (getToolRotationDirection() |
|
|
|
!= other.getToolRotationDirection()) return false; |
|
|
|
if (java.lang.Double.doubleToLongBits(getHorizontalCalibration()) |
|
|
|
!= java.lang.Double.doubleToLongBits( |
|
|
|
other.getHorizontalCalibration())) return false; |
|
|
|
if (!getUnknownFields().equals(other.getUnknownFields())) return false; |
|
|
|
return true; |
|
|
|
} |
|
|
|
@ -580,6 +607,9 @@ public final class BspPV { |
|
|
|
hash = (53 * hash) + getDmkSpeed(); |
|
|
|
hash = (37 * hash) + TOOLROTATIONDIRECTION_FIELD_NUMBER; |
|
|
|
hash = (53 * hash) + getToolRotationDirection(); |
|
|
|
hash = (37 * hash) + HORIZONTAL_CALIBRATION_FIELD_NUMBER; |
|
|
|
hash = (53 * hash) + com.google.protobuf.Internal.hashLong( |
|
|
|
java.lang.Double.doubleToLongBits(getHorizontalCalibration())); |
|
|
|
hash = (29 * hash) + getUnknownFields().hashCode(); |
|
|
|
memoizedHashCode = hash; |
|
|
|
return hash; |
|
|
|
@ -724,6 +754,7 @@ public final class BspPV { |
|
|
|
timeStamp_ = 0L; |
|
|
|
dmkSpeed_ = 0; |
|
|
|
toolRotationDirection_ = 0; |
|
|
|
horizontalCalibration_ = 0D; |
|
|
|
return this; |
|
|
|
} |
|
|
|
|
|
|
|
@ -796,6 +827,9 @@ public final class BspPV { |
|
|
|
if (((from_bitField0_ & 0x00001000) != 0)) { |
|
|
|
result.toolRotationDirection_ = toolRotationDirection_; |
|
|
|
} |
|
|
|
if (((from_bitField0_ & 0x00002000) != 0)) { |
|
|
|
result.horizontalCalibration_ = horizontalCalibration_; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
@java.lang.Override |
|
|
|
@ -849,6 +883,9 @@ public final class BspPV { |
|
|
|
if (other.getToolRotationDirection() != 0) { |
|
|
|
setToolRotationDirection(other.getToolRotationDirection()); |
|
|
|
} |
|
|
|
if (other.getHorizontalCalibration() != 0D) { |
|
|
|
setHorizontalCalibration(other.getHorizontalCalibration()); |
|
|
|
} |
|
|
|
this.mergeUnknownFields(other.getUnknownFields()); |
|
|
|
onChanged(); |
|
|
|
return this; |
|
|
|
@ -940,6 +977,11 @@ public final class BspPV { |
|
|
|
bitField0_ |= 0x00001000; |
|
|
|
break; |
|
|
|
} // case 104
|
|
|
|
case 113: { |
|
|
|
horizontalCalibration_ = input.readDouble(); |
|
|
|
bitField0_ |= 0x00002000; |
|
|
|
break; |
|
|
|
} // case 113
|
|
|
|
default: { |
|
|
|
if (!super.parseUnknownField(input, extensionRegistry, tag)) { |
|
|
|
done = true; // was an endgroup tag
|
|
|
|
@ -1514,6 +1556,38 @@ public final class BspPV { |
|
|
|
return this; |
|
|
|
} |
|
|
|
|
|
|
|
private double horizontalCalibration_ ; |
|
|
|
/** |
|
|
|
* <code>double Horizontal_Calibration = 14;</code> |
|
|
|
* @return The horizontalCalibration. |
|
|
|
*/ |
|
|
|
@java.lang.Override |
|
|
|
public double getHorizontalCalibration() { |
|
|
|
return horizontalCalibration_; |
|
|
|
} |
|
|
|
/** |
|
|
|
* <code>double Horizontal_Calibration = 14;</code> |
|
|
|
* @param value The horizontalCalibration to set. |
|
|
|
* @return This builder for chaining. |
|
|
|
*/ |
|
|
|
public Builder setHorizontalCalibration(double value) { |
|
|
|
|
|
|
|
horizontalCalibration_ = value; |
|
|
|
bitField0_ |= 0x00002000; |
|
|
|
onChanged(); |
|
|
|
return this; |
|
|
|
} |
|
|
|
/** |
|
|
|
* <code>double Horizontal_Calibration = 14;</code> |
|
|
|
* @return This builder for chaining. |
|
|
|
*/ |
|
|
|
public Builder clearHorizontalCalibration() { |
|
|
|
bitField0_ = (bitField0_ & ~0x00002000); |
|
|
|
horizontalCalibration_ = 0D; |
|
|
|
onChanged(); |
|
|
|
return this; |
|
|
|
} |
|
|
|
|
|
|
|
// @@protoc_insertion_point(builder_scope:PV_struct_define)
|
|
|
|
} |
|
|
|
|
|
|
|
@ -1579,7 +1653,7 @@ public final class BspPV { |
|
|
|
descriptor; |
|
|
|
static { |
|
|
|
java.lang.String[] descriptorData = { |
|
|
|
"\n\014bsp_PV.proto\"\334\002\n\020PV_struct_define\022\022\n\nR" + |
|
|
|
"\n\014bsp_PV.proto\"\374\002\n\020PV_struct_define\022\022\n\nR" + |
|
|
|
"obotSpeed\030\001 \001(\005\022\017\n\007RunMode\030\002 \001(\005\022\032\n\022Lane" + |
|
|
|
"ChangeDistance\030\003 \001(\005\022 \n\030HorizontalDistan" + |
|
|
|
"ceMeters\030\004 \001(\001\022\036\n\026VerticalDistanceMeters" + |
|
|
|
@ -1588,8 +1662,9 @@ public final class BspPV { |
|
|
|
"\024Vertical_Calibration\030\t \001(\001\022\034\n\024RobotRest" + |
|
|
|
"artAccepted\030\n \001(\005\022\021\n\tTimeStamp\030\013 \001(\003\022\020\n\010" + |
|
|
|
"DmkSpeed\030\014 \001(\005\022\035\n\025ToolRotationDirection\030" + |
|
|
|
"\r \001(\005B,\n(com.example.roughapp2_0bbwiredr" + |
|
|
|
"pm.modelsP\000b\006proto3" |
|
|
|
"\r \001(\005\022\036\n\026Horizontal_Calibration\030\016 \001(\001B,\n" + |
|
|
|
"(com.example.roughapp2_0bbwiredrpm.model" + |
|
|
|
"sP\000b\006proto3" |
|
|
|
}; |
|
|
|
descriptor = com.google.protobuf.Descriptors.FileDescriptor |
|
|
|
.internalBuildGeneratedFileFrom(descriptorData, |
|
|
|
@ -1600,7 +1675,7 @@ public final class BspPV { |
|
|
|
internal_static_PV_struct_define_fieldAccessorTable = new |
|
|
|
com.google.protobuf.GeneratedMessage.FieldAccessorTable( |
|
|
|
internal_static_PV_struct_define_descriptor, |
|
|
|
new java.lang.String[] { "RobotSpeed", "RunMode", "LaneChangeDistance", "HorizontalDistanceMeters", "VerticalDistanceMeters", "PressSet", "LeftCompensation", "RightCompensation", "VerticalCalibration", "RobotRestartAccepted", "TimeStamp", "DmkSpeed", "ToolRotationDirection", }); |
|
|
|
new java.lang.String[] { "RobotSpeed", "RunMode", "LaneChangeDistance", "HorizontalDistanceMeters", "VerticalDistanceMeters", "PressSet", "LeftCompensation", "RightCompensation", "VerticalCalibration", "RobotRestartAccepted", "TimeStamp", "DmkSpeed", "ToolRotationDirection", "HorizontalCalibration", }); |
|
|
|
descriptor.resolveAllFeaturesImmutable(); |
|
|
|
} |
|
|
|
|
|
|
|
|