Package com.viam.service.motion.v1
Class Motion.OrientationConstraint
java.lang.Object
com.google.protobuf.AbstractMessageLite<Motion.OrientationConstraint,Motion.OrientationConstraint.Builder>
com.google.protobuf.GeneratedMessageLite<Motion.OrientationConstraint,Motion.OrientationConstraint.Builder>
com.viam.service.motion.v1.Motion.OrientationConstraint
- All Implemented Interfaces:
com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,Motion.OrientationConstraintOrBuilder
- Enclosing class:
Motion
public static final class Motion.OrientationConstraint
extends com.google.protobuf.GeneratedMessageLite<Motion.OrientationConstraint,Motion.OrientationConstraint.Builder>
implements Motion.OrientationConstraintOrBuilder
OrientationConstraint specifies that the component being moved will not deviate its orientation beyond some threshold relative to the goal. It does not constrain the motion of components other than the `component_name` specified in motion.MoveProtobuf type
viam.service.motion.v1.OrientationConstraint-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classOrientationConstraint specifies that the component being moved will not deviate its orientation beyond some threshold relative to the 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>, 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.OrientationConstraintbooleanWhen true, deviation is measured between orientation vectors alone, disregarding rotation about the component's own pointing axis.floatMax allowable orientation deviation, in degrees, while on the shortest path between start / goal statesbooleanWhen true, deviation is measured between orientation vectors alone, disregarding rotation about the component's own pointing axis.booleanMax allowable orientation deviation, in degrees, while on the shortest path between start / goal statesnewBuilder(Motion.OrientationConstraint prototype) static Motion.OrientationConstraintparseDelimitedFrom(InputStream input) static Motion.OrientationConstraintparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Motion.OrientationConstraintparseFrom(byte[] data) static Motion.OrientationConstraintparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Motion.OrientationConstraintparseFrom(com.google.protobuf.ByteString data) static Motion.OrientationConstraintparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Motion.OrientationConstraintparseFrom(com.google.protobuf.CodedInputStream input) static Motion.OrientationConstraintparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Motion.OrientationConstraintparseFrom(InputStream input) static Motion.OrientationConstraintparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Motion.OrientationConstraintparseFrom(ByteBuffer data) static Motion.OrientationConstraintparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Motion.OrientationConstraint> parser()Methods inherited from class com.google.protobuf.GeneratedMessageLite
createBuilder, createBuilder, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, emptyProtobufList, equals, getDefaultInstanceForType, getParserForType, getSerializedSize, hashCode, 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
-
ORIENTATION_TOLERANCE_DEGS_FIELD_NUMBER
public static final int ORIENTATION_TOLERANCE_DEGS_FIELD_NUMBER- See Also:
-
IGNORE_THETA_FIELD_NUMBER
public static final int IGNORE_THETA_FIELD_NUMBER- See Also:
-
-
Method Details
-
hasOrientationToleranceDegs
public boolean hasOrientationToleranceDegs()Max allowable orientation deviation, in degrees, while on the shortest path between start / goal states
optional float orientation_tolerance_degs = 1 [json_name = "orientationToleranceDegs"];- Specified by:
hasOrientationToleranceDegsin interfaceMotion.OrientationConstraintOrBuilder- 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 = 1 [json_name = "orientationToleranceDegs"];- Specified by:
getOrientationToleranceDegsin interfaceMotion.OrientationConstraintOrBuilder- Returns:
- The orientationToleranceDegs.
-
hasIgnoreTheta
public boolean hasIgnoreTheta()When true, deviation is measured between orientation vectors alone, disregarding rotation about the component's own pointing axis. Set this for payloads that are symmetric about that axis - an open container spills when tipped, not when spun - so the tolerance does not pin a rotation that cannot matter. Defaults to false, measuring the full orientation.
optional bool ignore_theta = 2 [json_name = "ignoreTheta"];- Specified by:
hasIgnoreThetain interfaceMotion.OrientationConstraintOrBuilder- Returns:
- Whether the ignoreTheta field is set.
-
getIgnoreTheta
public boolean getIgnoreTheta()When true, deviation is measured between orientation vectors alone, disregarding rotation about the component's own pointing axis. Set this for payloads that are symmetric about that axis - an open container spills when tipped, not when spun - so the tolerance does not pin a rotation that cannot matter. Defaults to false, measuring the full orientation.
optional bool ignore_theta = 2 [json_name = "ignoreTheta"];- Specified by:
getIgnoreThetain interfaceMotion.OrientationConstraintOrBuilder- Returns:
- The ignoreTheta.
-
parseFrom
public static Motion.OrientationConstraint parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Motion.OrientationConstraint parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Motion.OrientationConstraint parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Motion.OrientationConstraint 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.OrientationConstraint parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Motion.OrientationConstraint 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.OrientationConstraint parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static Motion.OrientationConstraint parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static Motion.OrientationConstraint parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static Motion.OrientationConstraint parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilder
-
newBuilder
public static Motion.OrientationConstraint.Builder newBuilder(Motion.OrientationConstraint prototype) -
dynamicMethod
protected final Object dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1) - Specified by:
dynamicMethodin classcom.google.protobuf.GeneratedMessageLite<Motion.OrientationConstraint,Motion.OrientationConstraint.Builder>
-
getDefaultInstance
-
parser
-