Package viam.app.v1
Class Robot.Orientation.EulerAngles.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<Robot.Orientation.EulerAngles,Robot.Orientation.EulerAngles.Builder>
viam.app.v1.Robot.Orientation.EulerAngles.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,Cloneable,Robot.Orientation.EulerAnglesOrBuilder
- Enclosing class:
- Robot.Orientation.EulerAngles
public static final class Robot.Orientation.EulerAngles.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<Robot.Orientation.EulerAngles,Robot.Orientation.EulerAngles.Builder>
implements Robot.Orientation.EulerAnglesOrBuilder
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.Protobuf type
viam.app.v1.Orientation.EulerAngles-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance -
Method Summary
Modifier and TypeMethodDescriptiondouble pitch = 2 [json_name = "pitch"];double roll = 1 [json_name = "roll"];clearYaw()double yaw = 3 [json_name = "yaw"];doublegetPitch()double pitch = 2 [json_name = "pitch"];doublegetRoll()double roll = 1 [json_name = "roll"];doublegetYaw()double yaw = 3 [json_name = "yaw"];setPitch(double value) double pitch = 2 [json_name = "pitch"];setRoll(double value) double roll = 1 [json_name = "roll"];setYaw(double value) double yaw = 3 [json_name = "yaw"];Methods inherited from class com.google.protobuf.GeneratedMessageLite.Builder
build, buildPartial, clear, clone, copyOnWrite, copyOnWriteInternal, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFrom, mergeFrom, mergeFromMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
getRoll
public double getRoll()double roll = 1 [json_name = "roll"];- Specified by:
getRollin interfaceRobot.Orientation.EulerAnglesOrBuilder- Returns:
- The roll.
-
setRoll
double roll = 1 [json_name = "roll"];- Parameters:
value- The roll to set.- Returns:
- This builder for chaining.
-
clearRoll
double roll = 1 [json_name = "roll"];- Returns:
- This builder for chaining.
-
getPitch
public double getPitch()double pitch = 2 [json_name = "pitch"];- Specified by:
getPitchin interfaceRobot.Orientation.EulerAnglesOrBuilder- Returns:
- The pitch.
-
setPitch
double pitch = 2 [json_name = "pitch"];- Parameters:
value- The pitch to set.- Returns:
- This builder for chaining.
-
clearPitch
double pitch = 2 [json_name = "pitch"];- Returns:
- This builder for chaining.
-
getYaw
public double getYaw()double yaw = 3 [json_name = "yaw"];- Specified by:
getYawin interfaceRobot.Orientation.EulerAnglesOrBuilder- Returns:
- The yaw.
-
setYaw
double yaw = 3 [json_name = "yaw"];- Parameters:
value- The yaw to set.- Returns:
- This builder for chaining.
-
clearYaw
double yaw = 3 [json_name = "yaw"];- Returns:
- This builder for chaining.
-