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
  • 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

      public List<Motion.ObstacleDetector> 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 interface Motion.MotionConfigurationOrBuilder
    • getObstacleDetectorsOrBuilderList

      public List<? extends Motion.ObstacleDetectorOrBuilder> 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 interface Motion.MotionConfigurationOrBuilder
    • getObstacleDetectors

      public Motion.ObstacleDetector getObstacleDetectors(int index)
       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 interface Motion.MotionConfigurationOrBuilder
    • getObstacleDetectorsOrBuilder

      public Motion.ObstacleDetectorOrBuilder getObstacleDetectorsOrBuilder(int index)
       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 interface Motion.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 interface Motion.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 interface Motion.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 interface Motion.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 interface Motion.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 interface Motion.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 interface Motion.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 interface Motion.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 interface Motion.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 interface Motion.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

      public static Motion.MotionConfiguration parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Motion.MotionConfiguration parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Motion.MotionConfiguration parseDelimitedFrom(InputStream input) throws IOException
      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

      public static Motion.MotionConfiguration.Builder newBuilder()
    • newBuilder

      public static Motion.MotionConfiguration.Builder newBuilder(Motion.MotionConfiguration prototype)
    • dynamicMethod

      protected final Object dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1)
      Specified by:
      dynamicMethod in class com.google.protobuf.GeneratedMessageLite<Motion.MotionConfiguration,Motion.MotionConfiguration.Builder>
    • getDefaultInstance

      public static Motion.MotionConfiguration getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<Motion.MotionConfiguration> parser()