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
Modifier and TypeClassDescriptionstatic final class
LinearConstraint 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
Modifier and TypeFieldDescriptionstatic final int
static final int
Fields inherited from class com.google.protobuf.GeneratedMessageLite
unknownFields
Fields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode
-
Method Summary
Modifier and TypeMethodDescriptionprotected final Object
dynamicMethod
(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1) static Motion.LinearConstraint
float
Max linear deviation from straight-line between start and goal, in mm.float
Max allowable orientation deviation, in degrees, while on the shortest path between start / goal statesboolean
Max linear deviation from straight-line between start and goal, in mm.boolean
Max allowable orientation deviation, in degrees, while on the shortest path between start / goal statesnewBuilder
(Motion.LinearConstraint prototype) static Motion.LinearConstraint
parseDelimitedFrom
(InputStream input) static Motion.LinearConstraint
parseDelimitedFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Motion.LinearConstraint
parseFrom
(byte[] data) static Motion.LinearConstraint
parseFrom
(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Motion.LinearConstraint
parseFrom
(com.google.protobuf.ByteString data) static Motion.LinearConstraint
parseFrom
(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Motion.LinearConstraint
parseFrom
(com.google.protobuf.CodedInputStream input) static Motion.LinearConstraint
parseFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Motion.LinearConstraint
parseFrom
(InputStream input) static Motion.LinearConstraint
parseFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Motion.LinearConstraint
parseFrom
(ByteBuffer data) static Motion.LinearConstraint
parseFrom
(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, writeTo
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods 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:
hasLineToleranceMm
in 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:
getLineToleranceMm
in 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:
hasOrientationToleranceDegs
in 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:
getOrientationToleranceDegs
in 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:
dynamicMethod
in classcom.google.protobuf.GeneratedMessageLite<Motion.LinearConstraint,
Motion.LinearConstraint.Builder>
-
getDefaultInstance
-
parser
-