Package com.viam.service.motion.v1
Class Motion.MotionConfiguration
java.lang.Object
com.google.protobuf.AbstractMessageLite<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite<Motion.MotionConfiguration,Motion.MotionConfiguration.Builder>
com.viam.service.motion.v1.Motion.MotionConfiguration
- All Implemented Interfaces:
com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,Motion.MotionConfigurationOrBuilder
- Enclosing class:
- Motion
public static final class Motion.MotionConfiguration
extends com.google.protobuf.GeneratedMessageLite<Motion.MotionConfiguration,Motion.MotionConfiguration.Builder>
implements Motion.MotionConfigurationOrBuilder
Protobuf type
viam.service.motion.v1.MotionConfiguration-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classProtobuf typeviam.service.motion.v1.MotionConfigurationNested 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 intstatic final intstatic final intstatic 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) doubleOptional angular velocity to target when turningstatic Motion.MotionConfigurationdoubleOptional linear velocity to target when movinggetObstacleDetectors(int index) The ObstacleDetectors that will be used for transient obstacle avoidanceintThe ObstacleDetectors that will be used for transient obstacle avoidanceThe ObstacleDetectors that will be used for transient obstacle avoidancegetObstacleDetectorsOrBuilder(int index) The ObstacleDetectors that will be used for transient obstacle avoidanceList<? extends Motion.ObstacleDetectorOrBuilder>The ObstacleDetectors that will be used for transient obstacle avoidancedoubleSets the frequency to poll the vision service(s) for new obstaclesdoubleSets the distance in meters that a robot is allowed to deviate from the motion plandoubleSets the frequency to poll for the position of the robotbooleanOptional angular velocity to target when turningbooleanOptional linear velocity to target when movingbooleanSets the frequency to poll the vision service(s) for new obstaclesbooleanSets the distance in meters that a robot is allowed to deviate from the motion planbooleanSets the frequency to poll for the position of the robotnewBuilder(Motion.MotionConfiguration prototype) static Motion.MotionConfigurationparseDelimitedFrom(InputStream input) static Motion.MotionConfigurationparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Motion.MotionConfigurationparseFrom(byte[] data) static Motion.MotionConfigurationparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Motion.MotionConfigurationparseFrom(com.google.protobuf.ByteString data) static Motion.MotionConfigurationparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Motion.MotionConfigurationparseFrom(com.google.protobuf.CodedInputStream input) static Motion.MotionConfigurationparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Motion.MotionConfigurationparseFrom(InputStream input) static Motion.MotionConfigurationparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Motion.MotionConfigurationparseFrom(ByteBuffer data) static Motion.MotionConfigurationparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Motion.MotionConfiguration>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
-
OBSTACLE_DETECTORS_FIELD_NUMBER
public static final int OBSTACLE_DETECTORS_FIELD_NUMBER- See Also:
-
POSITION_POLLING_FREQUENCY_HZ_FIELD_NUMBER
public static final int POSITION_POLLING_FREQUENCY_HZ_FIELD_NUMBER- See Also:
-
OBSTACLE_POLLING_FREQUENCY_HZ_FIELD_NUMBER
public static final int OBSTACLE_POLLING_FREQUENCY_HZ_FIELD_NUMBER- See Also:
-
PLAN_DEVIATION_M_FIELD_NUMBER
public static final int PLAN_DEVIATION_M_FIELD_NUMBER- See Also:
-
LINEAR_M_PER_SEC_FIELD_NUMBER
public static final int LINEAR_M_PER_SEC_FIELD_NUMBER- See Also:
-
ANGULAR_DEGS_PER_SEC_FIELD_NUMBER
public static final int ANGULAR_DEGS_PER_SEC_FIELD_NUMBER- See Also:
-
-
Method Details
-
getObstacleDetectorsList
The ObstacleDetectors that will be used for transient obstacle avoidance
repeated .viam.service.motion.v1.ObstacleDetector obstacle_detectors = 1 [json_name = "obstacleDetectors"];- Specified by:
getObstacleDetectorsListin interfaceMotion.MotionConfigurationOrBuilder
-
getObstacleDetectorsOrBuilderList
The ObstacleDetectors that will be used for transient obstacle avoidance
repeated .viam.service.motion.v1.ObstacleDetector obstacle_detectors = 1 [json_name = "obstacleDetectors"]; -
getObstacleDetectorsCount
public int getObstacleDetectorsCount()The ObstacleDetectors that will be used for transient obstacle avoidance
repeated .viam.service.motion.v1.ObstacleDetector obstacle_detectors = 1 [json_name = "obstacleDetectors"];- Specified by:
getObstacleDetectorsCountin interfaceMotion.MotionConfigurationOrBuilder
-
getObstacleDetectors
The ObstacleDetectors that will be used for transient obstacle avoidance
repeated .viam.service.motion.v1.ObstacleDetector obstacle_detectors = 1 [json_name = "obstacleDetectors"];- Specified by:
getObstacleDetectorsin interfaceMotion.MotionConfigurationOrBuilder
-
getObstacleDetectorsOrBuilder
The ObstacleDetectors that will be used for transient obstacle avoidance
repeated .viam.service.motion.v1.ObstacleDetector obstacle_detectors = 1 [json_name = "obstacleDetectors"]; -
hasPositionPollingFrequencyHz
public boolean hasPositionPollingFrequencyHz()Sets the frequency to poll for the position of the robot
optional double position_polling_frequency_hz = 2 [json_name = "positionPollingFrequencyHz"];- Specified by:
hasPositionPollingFrequencyHzin interfaceMotion.MotionConfigurationOrBuilder- Returns:
- Whether the positionPollingFrequencyHz field is set.
-
getPositionPollingFrequencyHz
public double getPositionPollingFrequencyHz()Sets the frequency to poll for the position of the robot
optional double position_polling_frequency_hz = 2 [json_name = "positionPollingFrequencyHz"];- Specified by:
getPositionPollingFrequencyHzin interfaceMotion.MotionConfigurationOrBuilder- Returns:
- The positionPollingFrequencyHz.
-
hasObstaclePollingFrequencyHz
public boolean hasObstaclePollingFrequencyHz()Sets the frequency to poll the vision service(s) for new obstacles
optional double obstacle_polling_frequency_hz = 3 [json_name = "obstaclePollingFrequencyHz"];- Specified by:
hasObstaclePollingFrequencyHzin interfaceMotion.MotionConfigurationOrBuilder- Returns:
- Whether the obstaclePollingFrequencyHz field is set.
-
getObstaclePollingFrequencyHz
public double getObstaclePollingFrequencyHz()Sets the frequency to poll the vision service(s) for new obstacles
optional double obstacle_polling_frequency_hz = 3 [json_name = "obstaclePollingFrequencyHz"];- Specified by:
getObstaclePollingFrequencyHzin interfaceMotion.MotionConfigurationOrBuilder- Returns:
- The obstaclePollingFrequencyHz.
-
hasPlanDeviationM
public boolean hasPlanDeviationM()Sets the distance in meters that a robot is allowed to deviate from the motion plan
optional double plan_deviation_m = 4 [json_name = "planDeviationM"];- Specified by:
hasPlanDeviationMin interfaceMotion.MotionConfigurationOrBuilder- Returns:
- Whether the planDeviationM field is set.
-
getPlanDeviationM
public double getPlanDeviationM()Sets the distance in meters that a robot is allowed to deviate from the motion plan
optional double plan_deviation_m = 4 [json_name = "planDeviationM"];- Specified by:
getPlanDeviationMin interfaceMotion.MotionConfigurationOrBuilder- Returns:
- The planDeviationM.
-
hasLinearMPerSec
public boolean hasLinearMPerSec()Optional linear velocity to target when moving
optional double linear_m_per_sec = 5 [json_name = "linearMPerSec"];- Specified by:
hasLinearMPerSecin interfaceMotion.MotionConfigurationOrBuilder- Returns:
- Whether the linearMPerSec field is set.
-
getLinearMPerSec
public double getLinearMPerSec()Optional linear velocity to target when moving
optional double linear_m_per_sec = 5 [json_name = "linearMPerSec"];- Specified by:
getLinearMPerSecin interfaceMotion.MotionConfigurationOrBuilder- Returns:
- The linearMPerSec.
-
hasAngularDegsPerSec
public boolean hasAngularDegsPerSec()Optional angular velocity to target when turning
optional double angular_degs_per_sec = 6 [json_name = "angularDegsPerSec"];- Specified by:
hasAngularDegsPerSecin interfaceMotion.MotionConfigurationOrBuilder- Returns:
- Whether the angularDegsPerSec field is set.
-
getAngularDegsPerSec
public double getAngularDegsPerSec()Optional angular velocity to target when turning
optional double angular_degs_per_sec = 6 [json_name = "angularDegsPerSec"];- Specified by:
getAngularDegsPerSecin interfaceMotion.MotionConfigurationOrBuilder- Returns:
- The angularDegsPerSec.
-
parseFrom
public static Motion.MotionConfiguration parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Motion.MotionConfiguration parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Motion.MotionConfiguration parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Motion.MotionConfiguration 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.MotionConfiguration parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Motion.MotionConfiguration 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.MotionConfiguration parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static Motion.MotionConfiguration parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static Motion.MotionConfiguration parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static Motion.MotionConfiguration 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.MotionConfiguration,Motion.MotionConfiguration.Builder>
-
getDefaultInstance
-
parser
-