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
Modifier and TypeClassDescriptionstatic final class
Protobuf typeviam.service.motion.v1.MotionConfiguration
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
static final int
static final int
static 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) double
Optional angular velocity to target when turningstatic Motion.MotionConfiguration
double
Optional linear velocity to target when movinggetObstacleDetectors
(int index) The ObstacleDetectors that will be used for transient obstacle avoidanceint
The 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 avoidancedouble
Sets the frequency to poll the vision service(s) for new obstaclesdouble
Sets the distance in meters that a robot is allowed to deviate from the motion plandouble
Sets the frequency to poll for the position of the robotboolean
Optional angular velocity to target when turningboolean
Optional linear velocity to target when movingboolean
Sets the frequency to poll the vision service(s) for new obstaclesboolean
Sets the distance in meters that a robot is allowed to deviate from the motion planboolean
Sets the frequency to poll for the position of the robotnewBuilder
(Motion.MotionConfiguration prototype) static Motion.MotionConfiguration
parseDelimitedFrom
(InputStream input) static Motion.MotionConfiguration
parseDelimitedFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Motion.MotionConfiguration
parseFrom
(byte[] data) static Motion.MotionConfiguration
parseFrom
(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Motion.MotionConfiguration
parseFrom
(com.google.protobuf.ByteString data) static Motion.MotionConfiguration
parseFrom
(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Motion.MotionConfiguration
parseFrom
(com.google.protobuf.CodedInputStream input) static Motion.MotionConfiguration
parseFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Motion.MotionConfiguration
parseFrom
(InputStream input) static Motion.MotionConfiguration
parseFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Motion.MotionConfiguration
parseFrom
(ByteBuffer data) static Motion.MotionConfiguration
parseFrom
(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, 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
-
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:
getObstacleDetectorsList
in 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:
getObstacleDetectorsCount
in 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:
getObstacleDetectors
in 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:
hasPositionPollingFrequencyHz
in 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:
getPositionPollingFrequencyHz
in 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:
hasObstaclePollingFrequencyHz
in 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:
getObstaclePollingFrequencyHz
in 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:
hasPlanDeviationM
in 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:
getPlanDeviationM
in 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:
hasLinearMPerSec
in 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:
getLinearMPerSec
in 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:
hasAngularDegsPerSec
in 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:
getAngularDegsPerSec
in 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:
dynamicMethod
in classcom.google.protobuf.GeneratedMessageLite<Motion.MotionConfiguration,
Motion.MotionConfiguration.Builder>
-
getDefaultInstance
-
parser
-