MotorServiceClient class

Annotations
  • @GrpcServiceName('viam.component.motor.v1.MotorService')

Constructors

MotorServiceClient(ClientChannel channel, {CallOptions? options, Iterable<ClientInterceptor>? interceptors})

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

$createCall<Q, R>(ClientMethod<Q, R> method, Stream<Q> requests, {CallOptions? options}) → ClientCall<Q, R>
inherited
$createStreamingCall<Q, R>(ClientMethod<Q, R> method, Stream<Q> requests, {CallOptions? options}) → ResponseStream<R>
inherited
$createUnaryCall<Q, R>(ClientMethod<Q, R> method, Q request, {CallOptions? options}) → ResponseFuture<R>
inherited
doCommand(DoCommandRequest request, {CallOptions? options}) → ResponseFuture<DoCommandResponse>
getGeometries(GetGeometriesRequest request, {CallOptions? options}) → ResponseFuture<GetGeometriesResponse>
getPosition(GetPositionRequest request, {CallOptions? options}) → ResponseFuture<GetPositionResponse>
getProperties(GetPropertiesRequest request, {CallOptions? options}) → ResponseFuture<GetPropertiesResponse>
goFor(GoForRequest request, {CallOptions? options}) → ResponseFuture<GoForResponse>
goTo(GoToRequest request, {CallOptions? options}) → ResponseFuture<GoToResponse>
isMoving(IsMovingRequest request, {CallOptions? options}) → ResponseFuture<IsMovingResponse>
isPowered(IsPoweredRequest request, {CallOptions? options}) → ResponseFuture<IsPoweredResponse>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
resetZeroPosition(ResetZeroPositionRequest request, {CallOptions? options}) → ResponseFuture<ResetZeroPositionResponse>
setPower(SetPowerRequest request, {CallOptions? options}) → ResponseFuture<SetPowerResponse>
setRPM(SetRPMRequest request, {CallOptions? options}) → ResponseFuture<SetRPMResponse>
stop(StopRequest request, {CallOptions? options}) → ResponseFuture<StopResponse>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited