Package com.viam.component.servo.v1
Interface Servo.StatusOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
- All Known Implementing Classes:
Servo.Status
,Servo.Status.Builder
- Enclosing class:
- Servo
public static interface Servo.StatusOrBuilder
extends com.google.protobuf.MessageLiteOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionboolean
bool is_moving = 2 [json_name = "isMoving"];
int
uint32 position_deg = 1 [json_name = "positionDeg"];
Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
getPositionDeg
int getPositionDeg()uint32 position_deg = 1 [json_name = "positionDeg"];
- Returns:
- The positionDeg.
-
getIsMoving
boolean getIsMoving()bool is_moving = 2 [json_name = "isMoving"];
- Returns:
- The isMoving.
-