Interface Navigation.StatusOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
All Known Implementing Classes:
Navigation.Status, Navigation.Status.Builder
Enclosing class:
Navigation

public static interface Navigation.StatusOrBuilder extends com.google.protobuf.MessageLiteOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    com.google.protobuf.Struct
    Backend-specific diagnostics
    Latest goal; unset until the first one
    boolean
    Pose is trusted; false blocks new goals
    Same as GetPosition
    com.google.protobuf.Timestamp
    .google.protobuf.Timestamp updated_at = 5 [json_name = "updatedAt"];
    Current body-frame velocity; zero when stopped
    boolean
    Backend-specific diagnostics
    boolean
    Latest goal; unset until the first one
    boolean
    Same as GetPosition
    boolean
    .google.protobuf.Timestamp updated_at = 5 [json_name = "updatedAt"];
    boolean
    Current body-frame velocity; zero when stopped

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    getDefaultInstanceForType, isInitialized
  • Method Details

    • hasPosition

      boolean hasPosition()
       Same as GetPosition
       
      .viam.service.navigation.v1.Position position = 1 [json_name = "position"];
      Returns:
      Whether the position field is set.
    • getPosition

      Navigation.Position getPosition()
       Same as GetPosition
       
      .viam.service.navigation.v1.Position position = 1 [json_name = "position"];
      Returns:
      The position.
    • getLocalized

      boolean getLocalized()
       Pose is trusted; false blocks new goals
       
      bool localized = 2 [json_name = "localized"];
      Returns:
      The localized.
    • hasVelocity

      boolean hasVelocity()
       Current body-frame velocity; zero when stopped
       
      .viam.service.navigation.v1.Velocity velocity = 3 [json_name = "velocity"];
      Returns:
      Whether the velocity field is set.
    • getVelocity

      Navigation.Velocity getVelocity()
       Current body-frame velocity; zero when stopped
       
      .viam.service.navigation.v1.Velocity velocity = 3 [json_name = "velocity"];
      Returns:
      The velocity.
    • hasGoal

      boolean hasGoal()
       Latest goal; unset until the first one
       
      optional .viam.service.navigation.v1.GoalStatus goal = 4 [json_name = "goal"];
      Returns:
      Whether the goal field is set.
    • getGoal

       Latest goal; unset until the first one
       
      optional .viam.service.navigation.v1.GoalStatus goal = 4 [json_name = "goal"];
      Returns:
      The goal.
    • hasUpdatedAt

      boolean hasUpdatedAt()
      .google.protobuf.Timestamp updated_at = 5 [json_name = "updatedAt"];
      Returns:
      Whether the updatedAt field is set.
    • getUpdatedAt

      com.google.protobuf.Timestamp getUpdatedAt()
      .google.protobuf.Timestamp updated_at = 5 [json_name = "updatedAt"];
      Returns:
      The updatedAt.
    • hasExtra

      boolean hasExtra()
       Backend-specific diagnostics
       
      .google.protobuf.Struct extra = 99 [json_name = "extra"];
      Returns:
      Whether the extra field is set.
    • getExtra

      com.google.protobuf.Struct getExtra()
       Backend-specific diagnostics
       
      .google.protobuf.Struct extra = 99 [json_name = "extra"];
      Returns:
      The extra.