Class Navigation.Velocity.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<Navigation.Velocity,Navigation.Velocity.Builder>
com.google.protobuf.GeneratedMessageLite.Builder<Navigation.Velocity,Navigation.Velocity.Builder>
com.viam.service.navigation.v1.Navigation.Velocity.Builder
All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, Navigation.VelocityOrBuilder, Cloneable
Enclosing class:
Navigation.Velocity

public static final class Navigation.Velocity.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<Navigation.Velocity,Navigation.Velocity.Builder> implements Navigation.VelocityOrBuilder
Protobuf type viam.service.navigation.v1.Velocity
  • Method Details

    • getLinearMPerSec

      public double getLinearMPerSec()
       Forward linear velocity
       
      double linear_m_per_sec = 1 [json_name = "linearMPerSec"];
      Specified by:
      getLinearMPerSec in interface Navigation.VelocityOrBuilder
      Returns:
      The linearMPerSec.
    • setLinearMPerSec

      public Navigation.Velocity.Builder setLinearMPerSec(double value)
       Forward linear velocity
       
      double linear_m_per_sec = 1 [json_name = "linearMPerSec"];
      Parameters:
      value - The linearMPerSec to set.
      Returns:
      This builder for chaining.
    • clearLinearMPerSec

      public Navigation.Velocity.Builder clearLinearMPerSec()
       Forward linear velocity
       
      double linear_m_per_sec = 1 [json_name = "linearMPerSec"];
      Returns:
      This builder for chaining.
    • getAngularDegPerSec

      public double getAngularDegPerSec()
       Yaw rate, counterclockwise positive
       
      double angular_deg_per_sec = 2 [json_name = "angularDegPerSec"];
      Specified by:
      getAngularDegPerSec in interface Navigation.VelocityOrBuilder
      Returns:
      The angularDegPerSec.
    • setAngularDegPerSec

      public Navigation.Velocity.Builder setAngularDegPerSec(double value)
       Yaw rate, counterclockwise positive
       
      double angular_deg_per_sec = 2 [json_name = "angularDegPerSec"];
      Parameters:
      value - The angularDegPerSec to set.
      Returns:
      This builder for chaining.
    • clearAngularDegPerSec

      public Navigation.Velocity.Builder clearAngularDegPerSec()
       Yaw rate, counterclockwise positive
       
      double angular_deg_per_sec = 2 [json_name = "angularDegPerSec"];
      Returns:
      This builder for chaining.