|
|
|
@ -76,6 +76,12 @@ public final class BspIV { |
|
|
|
* @return The kinfePosition. |
|
|
|
*/ |
|
|
|
int getKinfePosition(); |
|
|
|
|
|
|
|
/** |
|
|
|
* <code>int32 max_laser_sensor = 9;</code> |
|
|
|
* @return The maxLaserSensor. |
|
|
|
*/ |
|
|
|
int getMaxLaserSensor(); |
|
|
|
} |
|
|
|
/** |
|
|
|
* Protobuf type {@code IV_struct_define} |
|
|
|
@ -202,6 +208,17 @@ public final class BspIV { |
|
|
|
return kinfePosition_; |
|
|
|
} |
|
|
|
|
|
|
|
public static final int MAX_LASER_SENSOR_FIELD_NUMBER = 9; |
|
|
|
private int maxLaserSensor_ = 0; |
|
|
|
/** |
|
|
|
* <code>int32 max_laser_sensor = 9;</code> |
|
|
|
* @return The maxLaserSensor. |
|
|
|
*/ |
|
|
|
@java.lang.Override |
|
|
|
public int getMaxLaserSensor() { |
|
|
|
return maxLaserSensor_; |
|
|
|
} |
|
|
|
|
|
|
|
private byte memoizedIsInitialized = -1; |
|
|
|
@java.lang.Override |
|
|
|
public final boolean isInitialized() { |
|
|
|
@ -240,6 +257,9 @@ public final class BspIV { |
|
|
|
if (kinfePosition_ != 0) { |
|
|
|
output.writeInt32(8, kinfePosition_); |
|
|
|
} |
|
|
|
if (maxLaserSensor_ != 0) { |
|
|
|
output.writeInt32(9, maxLaserSensor_); |
|
|
|
} |
|
|
|
getUnknownFields().writeTo(output); |
|
|
|
} |
|
|
|
|
|
|
|
@ -281,6 +301,10 @@ public final class BspIV { |
|
|
|
size += com.google.protobuf.CodedOutputStream |
|
|
|
.computeInt32Size(8, kinfePosition_); |
|
|
|
} |
|
|
|
if (maxLaserSensor_ != 0) { |
|
|
|
size += com.google.protobuf.CodedOutputStream |
|
|
|
.computeInt32Size(9, maxLaserSensor_); |
|
|
|
} |
|
|
|
size += getUnknownFields().getSerializedSize(); |
|
|
|
memoizedSize = size; |
|
|
|
return size; |
|
|
|
@ -313,6 +337,8 @@ public final class BspIV { |
|
|
|
!= other.getKinfeCompleteSignal()) return false; |
|
|
|
if (getKinfePosition() |
|
|
|
!= other.getKinfePosition()) return false; |
|
|
|
if (getMaxLaserSensor() |
|
|
|
!= other.getMaxLaserSensor()) return false; |
|
|
|
if (!getUnknownFields().equals(other.getUnknownFields())) return false; |
|
|
|
return true; |
|
|
|
} |
|
|
|
@ -341,6 +367,8 @@ public final class BspIV { |
|
|
|
hash = (53 * hash) + getKinfeCompleteSignal(); |
|
|
|
hash = (37 * hash) + KINFE_POSITION_FIELD_NUMBER; |
|
|
|
hash = (53 * hash) + getKinfePosition(); |
|
|
|
hash = (37 * hash) + MAX_LASER_SENSOR_FIELD_NUMBER; |
|
|
|
hash = (53 * hash) + getMaxLaserSensor(); |
|
|
|
hash = (29 * hash) + getUnknownFields().hashCode(); |
|
|
|
memoizedHashCode = hash; |
|
|
|
return hash; |
|
|
|
@ -480,6 +508,7 @@ public final class BspIV { |
|
|
|
laserSensor3MeasureDistance_ = 0; |
|
|
|
kinfeCompleteSignal_ = 0; |
|
|
|
kinfePosition_ = 0; |
|
|
|
maxLaserSensor_ = 0; |
|
|
|
return this; |
|
|
|
} |
|
|
|
|
|
|
|
@ -537,6 +566,9 @@ public final class BspIV { |
|
|
|
if (((from_bitField0_ & 0x00000080) != 0)) { |
|
|
|
result.kinfePosition_ = kinfePosition_; |
|
|
|
} |
|
|
|
if (((from_bitField0_ & 0x00000100) != 0)) { |
|
|
|
result.maxLaserSensor_ = maxLaserSensor_; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
@java.lang.Override |
|
|
|
@ -575,6 +607,9 @@ public final class BspIV { |
|
|
|
if (other.getKinfePosition() != 0) { |
|
|
|
setKinfePosition(other.getKinfePosition()); |
|
|
|
} |
|
|
|
if (other.getMaxLaserSensor() != 0) { |
|
|
|
setMaxLaserSensor(other.getMaxLaserSensor()); |
|
|
|
} |
|
|
|
this.mergeUnknownFields(other.getUnknownFields()); |
|
|
|
onChanged(); |
|
|
|
return this; |
|
|
|
@ -641,6 +676,11 @@ public final class BspIV { |
|
|
|
bitField0_ |= 0x00000080; |
|
|
|
break; |
|
|
|
} // case 64
|
|
|
|
case 72: { |
|
|
|
maxLaserSensor_ = input.readInt32(); |
|
|
|
bitField0_ |= 0x00000100; |
|
|
|
break; |
|
|
|
} // case 72
|
|
|
|
default: { |
|
|
|
if (!super.parseUnknownField(input, extensionRegistry, tag)) { |
|
|
|
done = true; // was an endgroup tag
|
|
|
|
@ -914,6 +954,38 @@ public final class BspIV { |
|
|
|
return this; |
|
|
|
} |
|
|
|
|
|
|
|
private int maxLaserSensor_ ; |
|
|
|
/** |
|
|
|
* <code>int32 max_laser_sensor = 9;</code> |
|
|
|
* @return The maxLaserSensor. |
|
|
|
*/ |
|
|
|
@java.lang.Override |
|
|
|
public int getMaxLaserSensor() { |
|
|
|
return maxLaserSensor_; |
|
|
|
} |
|
|
|
/** |
|
|
|
* <code>int32 max_laser_sensor = 9;</code> |
|
|
|
* @param value The maxLaserSensor to set. |
|
|
|
* @return This builder for chaining. |
|
|
|
*/ |
|
|
|
public Builder setMaxLaserSensor(int value) { |
|
|
|
|
|
|
|
maxLaserSensor_ = value; |
|
|
|
bitField0_ |= 0x00000100; |
|
|
|
onChanged(); |
|
|
|
return this; |
|
|
|
} |
|
|
|
/** |
|
|
|
* <code>int32 max_laser_sensor = 9;</code> |
|
|
|
* @return This builder for chaining. |
|
|
|
*/ |
|
|
|
public Builder clearMaxLaserSensor() { |
|
|
|
bitField0_ = (bitField0_ & ~0x00000100); |
|
|
|
maxLaserSensor_ = 0; |
|
|
|
onChanged(); |
|
|
|
return this; |
|
|
|
} |
|
|
|
|
|
|
|
// @@protoc_insertion_point(builder_scope:IV_struct_define)
|
|
|
|
} |
|
|
|
|
|
|
|
@ -979,15 +1051,15 @@ public final class BspIV { |
|
|
|
descriptor; |
|
|
|
static { |
|
|
|
java.lang.String[] descriptorData = { |
|
|
|
"\n\014bsp_IV.proto\"\214\002\n\020IV_struct_define\022\030\n\020R" + |
|
|
|
"\n\014bsp_IV.proto\"\246\002\n\020IV_struct_define\022\030\n\020R" + |
|
|
|
"obot_Move_Speed\030\001 \001(\001\022\025\n\rRF_Angle_Roll\030\002" + |
|
|
|
" \001(\005\022\025\n\rRemote_Status\030\003 \001(\005\022\'\n\037laser_sen" + |
|
|
|
"sor_1_measure_distance\030\004 \001(\005\022\'\n\037laser_se" + |
|
|
|
"nsor_2_measure_distance\030\005 \001(\005\022\'\n\037laser_s" + |
|
|
|
"ensor_3_measure_distance\030\006 \001(\005\022\035\n\025kinfe_" + |
|
|
|
"complete_signal\030\007 \001(\005\022\026\n\016kinfe_position\030" + |
|
|
|
"\010 \001(\005B%\n!com.example.diaoerqiegeapp.mode" + |
|
|
|
"lsP\000b\006proto3" |
|
|
|
"\010 \001(\005\022\030\n\020max_laser_sensor\030\t \001(\005B%\n!com.e" + |
|
|
|
"xample.diaoerqiegeapp.modelsP\000b\006proto3" |
|
|
|
}; |
|
|
|
descriptor = com.google.protobuf.Descriptors.FileDescriptor |
|
|
|
.internalBuildGeneratedFileFrom(descriptorData, |
|
|
|
@ -998,7 +1070,7 @@ public final class BspIV { |
|
|
|
internal_static_IV_struct_define_fieldAccessorTable = new |
|
|
|
com.google.protobuf.GeneratedMessage.FieldAccessorTable( |
|
|
|
internal_static_IV_struct_define_descriptor, |
|
|
|
new java.lang.String[] { "RobotMoveSpeed", "RFAngleRoll", "RemoteStatus", "LaserSensor1MeasureDistance", "LaserSensor2MeasureDistance", "LaserSensor3MeasureDistance", "KinfeCompleteSignal", "KinfePosition", }); |
|
|
|
new java.lang.String[] { "RobotMoveSpeed", "RFAngleRoll", "RemoteStatus", "LaserSensor1MeasureDistance", "LaserSensor2MeasureDistance", "LaserSensor3MeasureDistance", "KinfeCompleteSignal", "KinfePosition", "MaxLaserSensor", }); |
|
|
|
descriptor.resolveAllFeaturesImmutable(); |
|
|
|
} |
|
|
|
|
|
|
|
|