Package com.viam.component.motor.v1
Interface Motor.GetPositionResponseOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
- All Known Implementing Classes:
Motor.GetPositionResponse
,Motor.GetPositionResponse.Builder
- Enclosing class:
- Motor
public static interface Motor.GetPositionResponseOrBuilder
extends com.google.protobuf.MessageLiteOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiondouble
Current position of the motor relative to its homeMethods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
getPosition
double getPosition()Current position of the motor relative to its home
double position = 1 [json_name = "position"];
- Returns:
- The position.
-