Package com.viam.component.servo.v1
Interface Servo.GetPositionResponseOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
- All Known Implementing Classes:
Servo.GetPositionResponse
,Servo.GetPositionResponse.Builder
- Enclosing class:
- Servo
public static interface Servo.GetPositionResponseOrBuilder
extends com.google.protobuf.MessageLiteOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionint
the degrees from neutral by which the servo is currently rotated.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
getPositionDeg
int getPositionDeg()the degrees from neutral by which the servo is currently rotated.
uint32 position_deg = 1 [json_name = "positionDeg"];
- Returns:
- The positionDeg.
-