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
Nested ClassesModifier and TypeClassDescriptionstatic final classSee 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 interfacestatic final classProtobuf typeviam.app.v1.Orientationstatic final classEulerAngles 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 interfacestatic final classProtobuf typeviam.app.v1.Orientation.NoOrientationstatic interfacestatic final classOrientationVectorDegrees is the orientation vector between two objects, but expressed in degrees rather than radians.static interfacestatic final classOrientationVector containing ox, oy, oz, theta represents an orientation vector Structured similarly to an angle axis, an orientation vector works differently.static interfacestatic final classQuaternion is a float64 precision quaternion.static interfacestatic enumNested 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
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageLite
unknownFieldsFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionprotected final ObjectdynamicMethod(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.Builderstatic Robot.Orientation.BuildernewBuilder(Robot.Orientation prototype) static Robot.OrientationparseDelimitedFrom(InputStream input) static Robot.OrientationparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Robot.OrientationparseFrom(byte[] data) static Robot.OrientationparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Robot.OrientationparseFrom(com.google.protobuf.ByteString data) static Robot.OrientationparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Robot.OrientationparseFrom(com.google.protobuf.CodedInputStream input) static Robot.OrientationparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Robot.OrientationparseFrom(InputStream input) static Robot.OrientationparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Robot.OrientationparseFrom(ByteBuffer data) static Robot.OrientationparseFrom(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, writeToMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods 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:
getTypeCasein interfaceRobot.OrientationOrBuilder
-
hasNoOrientation
public boolean hasNoOrientation().viam.app.v1.Orientation.NoOrientation no_orientation = 1 [json_name = "noOrientation"];- Specified by:
hasNoOrientationin interfaceRobot.OrientationOrBuilder- Returns:
- Whether the noOrientation field is set.
-
getNoOrientation
.viam.app.v1.Orientation.NoOrientation no_orientation = 1 [json_name = "noOrientation"];- Specified by:
getNoOrientationin interfaceRobot.OrientationOrBuilder- Returns:
- The noOrientation.
-
hasVectorRadians
public boolean hasVectorRadians().viam.app.v1.Orientation.OrientationVectorRadians vector_radians = 2 [json_name = "vectorRadians"];- Specified by:
hasVectorRadiansin interfaceRobot.OrientationOrBuilder- Returns:
- Whether the vectorRadians field is set.
-
getVectorRadians
.viam.app.v1.Orientation.OrientationVectorRadians vector_radians = 2 [json_name = "vectorRadians"];- Specified by:
getVectorRadiansin interfaceRobot.OrientationOrBuilder- Returns:
- The vectorRadians.
-
hasVectorDegrees
public boolean hasVectorDegrees().viam.app.v1.Orientation.OrientationVectorDegrees vector_degrees = 3 [json_name = "vectorDegrees"];- Specified by:
hasVectorDegreesin interfaceRobot.OrientationOrBuilder- Returns:
- Whether the vectorDegrees field is set.
-
getVectorDegrees
.viam.app.v1.Orientation.OrientationVectorDegrees vector_degrees = 3 [json_name = "vectorDegrees"];- Specified by:
getVectorDegreesin interfaceRobot.OrientationOrBuilder- Returns:
- The vectorDegrees.
-
hasEulerAngles
public boolean hasEulerAngles().viam.app.v1.Orientation.EulerAngles euler_angles = 4 [json_name = "eulerAngles"];- Specified by:
hasEulerAnglesin interfaceRobot.OrientationOrBuilder- Returns:
- Whether the eulerAngles field is set.
-
getEulerAngles
.viam.app.v1.Orientation.EulerAngles euler_angles = 4 [json_name = "eulerAngles"];- Specified by:
getEulerAnglesin interfaceRobot.OrientationOrBuilder- Returns:
- The eulerAngles.
-
hasAxisAngles
public boolean hasAxisAngles().viam.app.v1.Orientation.AxisAngles axis_angles = 5 [json_name = "axisAngles"];- Specified by:
hasAxisAnglesin interfaceRobot.OrientationOrBuilder- Returns:
- Whether the axisAngles field is set.
-
getAxisAngles
.viam.app.v1.Orientation.AxisAngles axis_angles = 5 [json_name = "axisAngles"];- Specified by:
getAxisAnglesin interfaceRobot.OrientationOrBuilder- Returns:
- The axisAngles.
-
hasQuaternion
public boolean hasQuaternion().viam.app.v1.Orientation.Quaternion quaternion = 6 [json_name = "quaternion"];- Specified by:
hasQuaternionin interfaceRobot.OrientationOrBuilder- Returns:
- Whether the quaternion field is set.
-
getQuaternion
.viam.app.v1.Orientation.Quaternion quaternion = 6 [json_name = "quaternion"];- Specified by:
getQuaternionin 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:
dynamicMethodin classcom.google.protobuf.GeneratedMessageLite<Robot.Orientation,Robot.Orientation.Builder>
-
getDefaultInstance
-
parser
-