Package com.viam.service.navigation.v1
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 TypeMethodDescriptioncom.google.protobuf.StructgetExtra()Backend-specific diagnosticsgetGoal()Latest goal; unset until the first onebooleanPose is trusted; false blocks new goalsSame as GetPositioncom.google.protobuf.Timestamp.google.protobuf.Timestamp updated_at = 5 [json_name = "updatedAt"];Current body-frame velocity; zero when stoppedbooleanhasExtra()Backend-specific diagnosticsbooleanhasGoal()Latest goal; unset until the first onebooleanSame as GetPositionboolean.google.protobuf.Timestamp updated_at = 5 [json_name = "updatedAt"];booleanCurrent body-frame velocity; zero when stoppedMethods 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
Navigation.GoalStatus 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.
-