Package com.viam.component.arm.v1
Interface Arm.JointPositionsOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
- All Known Implementing Classes:
Arm.JointPositions
,Arm.JointPositions.Builder
- Enclosing class:
- Arm
public static interface Arm.JointPositionsOrBuilder
extends com.google.protobuf.MessageLiteOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiondouble
getValues
(int index) A list of joint positions.int
A list of joint positions.A list of joint positions.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
getValuesList
A list of joint positions. Rotations values are in degrees, translational values in mm. There should be 1 entry in the list per joint DOF, ordered spatially from the base toward the end effector of the arm
repeated double values = 1 [json_name = "values"];
- Returns:
- A list containing the values.
-
getValuesCount
int getValuesCount()A list of joint positions. Rotations values are in degrees, translational values in mm. There should be 1 entry in the list per joint DOF, ordered spatially from the base toward the end effector of the arm
repeated double values = 1 [json_name = "values"];
- Returns:
- The count of values.
-
getValues
double getValues(int index) A list of joint positions. Rotations values are in degrees, translational values in mm. There should be 1 entry in the list per joint DOF, ordered spatially from the base toward the end effector of the arm
repeated double values = 1 [json_name = "values"];
- Parameters:
index
- The index of the element to return.- Returns:
- The values at the given index.
-