Package com.viam.service.motion.v1
Class Motion.PseudolinearConstraint.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<Motion.PseudolinearConstraint,Motion.PseudolinearConstraint.Builder>
com.viam.service.motion.v1.Motion.PseudolinearConstraint.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,Motion.PseudolinearConstraintOrBuilder,Cloneable
- Enclosing class:
- Motion.PseudolinearConstraint
public static final class Motion.PseudolinearConstraint.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<Motion.PseudolinearConstraint,Motion.PseudolinearConstraint.Builder>
implements Motion.PseudolinearConstraintOrBuilder
PseudolinearConstraint specifies that the component being moved should not deviate from the straight-line path to their goal by more than a factor proportional to the distance from start to goal. For example, if a component is moving 100mm, then a LineToleranceFactor of 1.0 means that the component will remain within a 100mm radius of the straight-line start-goal path.Protobuf type
viam.service.motion.v1.PseudolinearConstraint-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance -
Method Summary
Modifier and TypeMethodDescriptionoptional float line_tolerance_factor = 1 [json_name = "lineToleranceFactor"];optional float orientation_tolerance_factor = 2 [json_name = "orientationToleranceFactor"];floatoptional float line_tolerance_factor = 1 [json_name = "lineToleranceFactor"];floatoptional float orientation_tolerance_factor = 2 [json_name = "orientationToleranceFactor"];booleanoptional float line_tolerance_factor = 1 [json_name = "lineToleranceFactor"];booleanoptional float orientation_tolerance_factor = 2 [json_name = "orientationToleranceFactor"];setLineToleranceFactor(float value) optional float line_tolerance_factor = 1 [json_name = "lineToleranceFactor"];setOrientationToleranceFactor(float value) optional float orientation_tolerance_factor = 2 [json_name = "orientationToleranceFactor"];Methods inherited from class com.google.protobuf.GeneratedMessageLite.Builder
build, buildPartial, clear, clone, copyOnWrite, copyOnWriteInternal, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFrom, mergeFrom, mergeFromMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
hasLineToleranceFactor
public boolean hasLineToleranceFactor()optional float line_tolerance_factor = 1 [json_name = "lineToleranceFactor"];- Specified by:
hasLineToleranceFactorin interfaceMotion.PseudolinearConstraintOrBuilder- Returns:
- Whether the lineToleranceFactor field is set.
-
getLineToleranceFactor
public float getLineToleranceFactor()optional float line_tolerance_factor = 1 [json_name = "lineToleranceFactor"];- Specified by:
getLineToleranceFactorin interfaceMotion.PseudolinearConstraintOrBuilder- Returns:
- The lineToleranceFactor.
-
setLineToleranceFactor
optional float line_tolerance_factor = 1 [json_name = "lineToleranceFactor"];- Parameters:
value- The lineToleranceFactor to set.- Returns:
- This builder for chaining.
-
clearLineToleranceFactor
optional float line_tolerance_factor = 1 [json_name = "lineToleranceFactor"];- Returns:
- This builder for chaining.
-
hasOrientationToleranceFactor
public boolean hasOrientationToleranceFactor()optional float orientation_tolerance_factor = 2 [json_name = "orientationToleranceFactor"];- Specified by:
hasOrientationToleranceFactorin interfaceMotion.PseudolinearConstraintOrBuilder- Returns:
- Whether the orientationToleranceFactor field is set.
-
getOrientationToleranceFactor
public float getOrientationToleranceFactor()optional float orientation_tolerance_factor = 2 [json_name = "orientationToleranceFactor"];- Specified by:
getOrientationToleranceFactorin interfaceMotion.PseudolinearConstraintOrBuilder- Returns:
- The orientationToleranceFactor.
-
setOrientationToleranceFactor
optional float orientation_tolerance_factor = 2 [json_name = "orientationToleranceFactor"];- Parameters:
value- The orientationToleranceFactor to set.- Returns:
- This builder for chaining.
-
clearOrientationToleranceFactor
optional float orientation_tolerance_factor = 2 [json_name = "orientationToleranceFactor"];- Returns:
- This builder for chaining.
-