Package com.viam.common.v1
Interface Common.GeoPoseOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
- All Known Implementing Classes:
Common.GeoPose,Common.GeoPose.Builder
- Enclosing class:
Common
public static interface Common.GeoPoseOrBuilder
extends com.google.protobuf.MessageLiteOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiondoubleOptional altitude in metersdoubleCompass heading in degrees, clockwise from north.Latitude and longitude in degreesFull orientation in the east-north-up tangent frame at location.booleanOptional altitude in metersbooleanCompass heading in degrees, clockwise from north.booleanLatitude and longitude in degreesbooleanFull orientation in the east-north-up tangent frame at location.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
hasLocation
boolean hasLocation()Latitude and longitude in degrees
.viam.common.v1.GeoPoint location = 1 [json_name = "location"];- Returns:
- Whether the location field is set.
-
getLocation
Common.GeoPoint getLocation()Latitude and longitude in degrees
.viam.common.v1.GeoPoint location = 1 [json_name = "location"];- Returns:
- The location.
-
hasAltitude
boolean hasAltitude()Optional altitude in meters
optional double altitude = 3 [json_name = "altitude"];- Returns:
- Whether the altitude field is set.
-
getAltitude
double getAltitude()Optional altitude in meters
optional double altitude = 3 [json_name = "altitude"];- Returns:
- The altitude.
-
hasHeading
boolean hasHeading()Compass heading in degrees, clockwise from north. Level pose: pitch 0, roll 0.
double heading = 2 [json_name = "heading"];- Returns:
- Whether the heading field is set.
-
getHeading
double getHeading()Compass heading in degrees, clockwise from north. Level pose: pitch 0, roll 0.
double heading = 2 [json_name = "heading"];- Returns:
- The heading.
-
hasOrientationVector
boolean hasOrientationVector()Full orientation in the east-north-up tangent frame at location. o_x, o_y, o_z, theta in degrees, same orientation vector as Pose.
.viam.common.v1.Orientation orientation_vector = 4 [json_name = "orientationVector"];- Returns:
- Whether the orientationVector field is set.
-
getOrientationVector
Common.Orientation getOrientationVector()Full orientation in the east-north-up tangent frame at location. o_x, o_y, o_z, theta in degrees, same orientation vector as Pose.
.viam.common.v1.Orientation orientation_vector = 4 [json_name = "orientationVector"];- Returns:
- The orientationVector.
-
getOrientationCase
Common.GeoPose.OrientationCase getOrientationCase()
-