Package com.viam.service.motion.v1
Class Motion.LinearConstraint
java.lang.Object
com.google.protobuf.AbstractMessageLite<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite<Motion.LinearConstraint,Motion.LinearConstraint.Builder>
com.viam.service.motion.v1.Motion.LinearConstraint
- All Implemented Interfaces:
com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,Motion.LinearConstraintOrBuilder
- Enclosing class:
- Motion
public static final class Motion.LinearConstraint
extends com.google.protobuf.GeneratedMessageLite<Motion.LinearConstraint,Motion.LinearConstraint.Builder>
implements Motion.LinearConstraintOrBuilder
LinearConstraint specifies that the component being moved should move linearly relative to its goal. It does not constrain the motion of components other than the `component_name` specified in motion.MoveProtobuf type
viam.service.motion.v1.LinearConstraint-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classLinearConstraint specifies that the component being moved should move linearly relative to its goal.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageLite
com.google.protobuf.GeneratedMessageLite.DefaultInstanceBasedParser<T extends com.google.protobuf.GeneratedMessageLite<T,?>>, com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType, BuilderType>, BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType, BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType, BuilderType>, BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType, BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType, BuilderType>, BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType, BuilderType>>, com.google.protobuf.GeneratedMessageLite.GeneratedExtension<ContainingType extends com.google.protobuf.MessageLite, Type extends Object>, com.google.protobuf.GeneratedMessageLite.MethodToInvoke, com.google.protobuf.GeneratedMessageLite.SerializedForm Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageLite
unknownFieldsFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionprotected final ObjectdynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1) static Motion.LinearConstraintfloatMax linear deviation from straight-line between start and goal, in mm.floatMax allowable orientation deviation, in degrees, while on the shortest path between start / goal statesbooleanMax linear deviation from straight-line between start and goal, in mm.booleanMax allowable orientation deviation, in degrees, while on the shortest path between start / goal statesnewBuilder(Motion.LinearConstraint prototype) static Motion.LinearConstraintparseDelimitedFrom(InputStream input) static Motion.LinearConstraintparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Motion.LinearConstraintparseFrom(byte[] data) static Motion.LinearConstraintparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Motion.LinearConstraintparseFrom(com.google.protobuf.ByteString data) static Motion.LinearConstraintparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Motion.LinearConstraintparseFrom(com.google.protobuf.CodedInputStream input) static Motion.LinearConstraintparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Motion.LinearConstraintparseFrom(InputStream input) static Motion.LinearConstraintparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Motion.LinearConstraintparseFrom(ByteBuffer data) static Motion.LinearConstraintparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Motion.LinearConstraint>parser()Methods inherited from class com.google.protobuf.GeneratedMessageLite
createBuilder, createBuilder, dynamicMethod, dynamicMethod, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, emptyProtobufList, equals, getDefaultInstanceForType, getParserForType, getSerializedSize, hashCode, isInitialized, isInitialized, makeImmutable, mergeLengthDelimitedField, mergeUnknownFields, mergeVarintField, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBuilderForType, newMessageInfo, newRepeatedGeneratedExtension, newSingularGeneratedExtension, parseDelimitedFrom, parseDelimitedFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parsePartialFrom, parseUnknownField, registerDefaultInstance, toBuilder, toString, writeToMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Field Details
-
LINE_TOLERANCE_MM_FIELD_NUMBER
public static final int LINE_TOLERANCE_MM_FIELD_NUMBER- See Also:
-
ORIENTATION_TOLERANCE_DEGS_FIELD_NUMBER
public static final int ORIENTATION_TOLERANCE_DEGS_FIELD_NUMBER- See Also:
-
-
Method Details
-
hasLineToleranceMm
public boolean hasLineToleranceMm()Max linear deviation from straight-line between start and goal, in mm.
optional float line_tolerance_mm = 1 [json_name = "lineToleranceMm"];- Specified by:
hasLineToleranceMmin interfaceMotion.LinearConstraintOrBuilder- Returns:
- Whether the lineToleranceMm field is set.
-
getLineToleranceMm
public float getLineToleranceMm()Max linear deviation from straight-line between start and goal, in mm.
optional float line_tolerance_mm = 1 [json_name = "lineToleranceMm"];- Specified by:
getLineToleranceMmin interfaceMotion.LinearConstraintOrBuilder- Returns:
- The lineToleranceMm.
-
hasOrientationToleranceDegs
public boolean hasOrientationToleranceDegs()Max allowable orientation deviation, in degrees, while on the shortest path between start / goal states
optional float orientation_tolerance_degs = 2 [json_name = "orientationToleranceDegs"];- Specified by:
hasOrientationToleranceDegsin interfaceMotion.LinearConstraintOrBuilder- Returns:
- Whether the orientationToleranceDegs field is set.
-
getOrientationToleranceDegs
public float getOrientationToleranceDegs()Max allowable orientation deviation, in degrees, while on the shortest path between start / goal states
optional float orientation_tolerance_degs = 2 [json_name = "orientationToleranceDegs"];- Specified by:
getOrientationToleranceDegsin interfaceMotion.LinearConstraintOrBuilder- Returns:
- The orientationToleranceDegs.
-
parseFrom
public static Motion.LinearConstraint parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Motion.LinearConstraint parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Motion.LinearConstraint parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Motion.LinearConstraint parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Motion.LinearConstraint parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Motion.LinearConstraint parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Motion.LinearConstraint parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static Motion.LinearConstraint parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static Motion.LinearConstraint parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static Motion.LinearConstraint parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilder
-
newBuilder
-
dynamicMethod
protected final Object dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1) - Specified by:
dynamicMethodin classcom.google.protobuf.GeneratedMessageLite<Motion.LinearConstraint,Motion.LinearConstraint.Builder>
-
getDefaultInstance
-
parser
-