Package viam.app.v1
Class Robot.Orientation
java.lang.Object
com.google.protobuf.AbstractMessageLite<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite<Robot.Orientation,Robot.Orientation.Builder>
viam.app.v1.Robot.Orientation
- All Implemented Interfaces:
com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,Robot.OrientationOrBuilder
- Enclosing class:
- Robot
public static final class Robot.Orientation
extends com.google.protobuf.GeneratedMessageLite<Robot.Orientation,Robot.Orientation.Builder>
implements Robot.OrientationOrBuilder
Protobuf type
viam.app.v1.Orientation
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
See here for a thorough explanation: https://en.wikipedia.org/wiki/Axis%E2%80%93angle_representation Basic explanation: Imagine a 3d cartesian grid centered at 0,0,0, and a sphere of radius 1 centered at that same point.static interface
static final class
Protobuf typeviam.app.v1.Orientation
static final class
EulerAngles are three angles (in radians) used to represent the rotation of an object in 3D Euclidean space The Tait–Bryan angle formalism is used, with rotations around three distinct axes in the z-y′-x″ sequence.static interface
static final class
Protobuf typeviam.app.v1.Orientation.NoOrientation
static interface
static final class
OrientationVectorDegrees is the orientation vector between two objects, but expressed in degrees rather than radians.static interface
static final class
OrientationVector containing ox, oy, oz, theta represents an orientation vector Structured similarly to an angle axis, an orientation vector works differently.static interface
static final class
Quaternion is a float64 precision quaternion.static interface
static enum
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageLite
com.google.protobuf.GeneratedMessageLite.DefaultInstanceBasedParser<T extends com.google.protobuf.GeneratedMessageLite<T,
?>>, com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType, BuilderType>, BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType, BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType, BuilderType>, BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType, BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType, BuilderType>, BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType, BuilderType>>, com.google.protobuf.GeneratedMessageLite.GeneratedExtension<ContainingType extends com.google.protobuf.MessageLite, Type extends Object>, com.google.protobuf.GeneratedMessageLite.MethodToInvoke, com.google.protobuf.GeneratedMessageLite.SerializedForm Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
static final int
static final int
Fields inherited from class com.google.protobuf.GeneratedMessageLite
unknownFields
Fields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode
-
Method Summary
Modifier and TypeMethodDescriptionprotected final Object
dynamicMethod
(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1) .viam.app.v1.Orientation.AxisAngles axis_angles = 5 [json_name = "axisAngles"];
static Robot.Orientation
.viam.app.v1.Orientation.EulerAngles euler_angles = 4 [json_name = "eulerAngles"];
.viam.app.v1.Orientation.NoOrientation no_orientation = 1 [json_name = "noOrientation"];
.viam.app.v1.Orientation.Quaternion quaternion = 6 [json_name = "quaternion"];
.viam.app.v1.Orientation.OrientationVectorDegrees vector_degrees = 3 [json_name = "vectorDegrees"];
.viam.app.v1.Orientation.OrientationVectorRadians vector_radians = 2 [json_name = "vectorRadians"];
boolean
.viam.app.v1.Orientation.AxisAngles axis_angles = 5 [json_name = "axisAngles"];
boolean
.viam.app.v1.Orientation.EulerAngles euler_angles = 4 [json_name = "eulerAngles"];
boolean
.viam.app.v1.Orientation.NoOrientation no_orientation = 1 [json_name = "noOrientation"];
boolean
.viam.app.v1.Orientation.Quaternion quaternion = 6 [json_name = "quaternion"];
boolean
.viam.app.v1.Orientation.OrientationVectorDegrees vector_degrees = 3 [json_name = "vectorDegrees"];
boolean
.viam.app.v1.Orientation.OrientationVectorRadians vector_radians = 2 [json_name = "vectorRadians"];
static Robot.Orientation.Builder
static Robot.Orientation.Builder
newBuilder
(Robot.Orientation prototype) static Robot.Orientation
parseDelimitedFrom
(InputStream input) static Robot.Orientation
parseDelimitedFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Robot.Orientation
parseFrom
(byte[] data) static Robot.Orientation
parseFrom
(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Robot.Orientation
parseFrom
(com.google.protobuf.ByteString data) static Robot.Orientation
parseFrom
(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Robot.Orientation
parseFrom
(com.google.protobuf.CodedInputStream input) static Robot.Orientation
parseFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Robot.Orientation
parseFrom
(InputStream input) static Robot.Orientation
parseFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Robot.Orientation
parseFrom
(ByteBuffer data) static Robot.Orientation
parseFrom
(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Robot.Orientation>
parser()
Methods inherited from class com.google.protobuf.GeneratedMessageLite
createBuilder, createBuilder, dynamicMethod, dynamicMethod, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, emptyProtobufList, equals, getDefaultInstanceForType, getParserForType, getSerializedSize, hashCode, isInitialized, isInitialized, makeImmutable, mergeLengthDelimitedField, mergeUnknownFields, mergeVarintField, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBuilderForType, newMessageInfo, newRepeatedGeneratedExtension, newSingularGeneratedExtension, parseDelimitedFrom, parseDelimitedFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parsePartialFrom, parseUnknownField, registerDefaultInstance, toBuilder, toString, writeTo
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Field Details
-
NO_ORIENTATION_FIELD_NUMBER
public static final int NO_ORIENTATION_FIELD_NUMBER- See Also:
-
VECTOR_RADIANS_FIELD_NUMBER
public static final int VECTOR_RADIANS_FIELD_NUMBER- See Also:
-
VECTOR_DEGREES_FIELD_NUMBER
public static final int VECTOR_DEGREES_FIELD_NUMBER- See Also:
-
EULER_ANGLES_FIELD_NUMBER
public static final int EULER_ANGLES_FIELD_NUMBER- See Also:
-
AXIS_ANGLES_FIELD_NUMBER
public static final int AXIS_ANGLES_FIELD_NUMBER- See Also:
-
QUATERNION_FIELD_NUMBER
public static final int QUATERNION_FIELD_NUMBER- See Also:
-
-
Method Details
-
getTypeCase
- Specified by:
getTypeCase
in interfaceRobot.OrientationOrBuilder
-
hasNoOrientation
public boolean hasNoOrientation().viam.app.v1.Orientation.NoOrientation no_orientation = 1 [json_name = "noOrientation"];
- Specified by:
hasNoOrientation
in interfaceRobot.OrientationOrBuilder
- Returns:
- Whether the noOrientation field is set.
-
getNoOrientation
.viam.app.v1.Orientation.NoOrientation no_orientation = 1 [json_name = "noOrientation"];
- Specified by:
getNoOrientation
in interfaceRobot.OrientationOrBuilder
- Returns:
- The noOrientation.
-
hasVectorRadians
public boolean hasVectorRadians().viam.app.v1.Orientation.OrientationVectorRadians vector_radians = 2 [json_name = "vectorRadians"];
- Specified by:
hasVectorRadians
in interfaceRobot.OrientationOrBuilder
- Returns:
- Whether the vectorRadians field is set.
-
getVectorRadians
.viam.app.v1.Orientation.OrientationVectorRadians vector_radians = 2 [json_name = "vectorRadians"];
- Specified by:
getVectorRadians
in interfaceRobot.OrientationOrBuilder
- Returns:
- The vectorRadians.
-
hasVectorDegrees
public boolean hasVectorDegrees().viam.app.v1.Orientation.OrientationVectorDegrees vector_degrees = 3 [json_name = "vectorDegrees"];
- Specified by:
hasVectorDegrees
in interfaceRobot.OrientationOrBuilder
- Returns:
- Whether the vectorDegrees field is set.
-
getVectorDegrees
.viam.app.v1.Orientation.OrientationVectorDegrees vector_degrees = 3 [json_name = "vectorDegrees"];
- Specified by:
getVectorDegrees
in interfaceRobot.OrientationOrBuilder
- Returns:
- The vectorDegrees.
-
hasEulerAngles
public boolean hasEulerAngles().viam.app.v1.Orientation.EulerAngles euler_angles = 4 [json_name = "eulerAngles"];
- Specified by:
hasEulerAngles
in interfaceRobot.OrientationOrBuilder
- Returns:
- Whether the eulerAngles field is set.
-
getEulerAngles
.viam.app.v1.Orientation.EulerAngles euler_angles = 4 [json_name = "eulerAngles"];
- Specified by:
getEulerAngles
in interfaceRobot.OrientationOrBuilder
- Returns:
- The eulerAngles.
-
hasAxisAngles
public boolean hasAxisAngles().viam.app.v1.Orientation.AxisAngles axis_angles = 5 [json_name = "axisAngles"];
- Specified by:
hasAxisAngles
in interfaceRobot.OrientationOrBuilder
- Returns:
- Whether the axisAngles field is set.
-
getAxisAngles
.viam.app.v1.Orientation.AxisAngles axis_angles = 5 [json_name = "axisAngles"];
- Specified by:
getAxisAngles
in interfaceRobot.OrientationOrBuilder
- Returns:
- The axisAngles.
-
hasQuaternion
public boolean hasQuaternion().viam.app.v1.Orientation.Quaternion quaternion = 6 [json_name = "quaternion"];
- Specified by:
hasQuaternion
in interfaceRobot.OrientationOrBuilder
- Returns:
- Whether the quaternion field is set.
-
getQuaternion
.viam.app.v1.Orientation.Quaternion quaternion = 6 [json_name = "quaternion"];
- Specified by:
getQuaternion
in interfaceRobot.OrientationOrBuilder
- Returns:
- The quaternion.
-
parseFrom
public static Robot.Orientation parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Robot.Orientation parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Robot.Orientation parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Robot.Orientation parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Robot.Orientation parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Robot.Orientation parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Robot.Orientation parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static Robot.Orientation parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static Robot.Orientation parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static Robot.Orientation parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilder
-
newBuilder
-
dynamicMethod
protected final Object dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1) - Specified by:
dynamicMethod
in classcom.google.protobuf.GeneratedMessageLite<Robot.Orientation,
Robot.Orientation.Builder>
-
getDefaultInstance
-
parser
-