MovementSensorServiceBase constructor
MovementSensorServiceBase()
Implementation
MovementSensorServiceBase() {
$addMethod($grpc.ServiceMethod<$25.GetLinearVelocityRequest, $25.GetLinearVelocityResponse>(
'GetLinearVelocity',
getLinearVelocity_Pre,
false,
false,
($core.List<$core.int> value) => $25.GetLinearVelocityRequest.fromBuffer(value),
($25.GetLinearVelocityResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$25.GetAngularVelocityRequest, $25.GetAngularVelocityResponse>(
'GetAngularVelocity',
getAngularVelocity_Pre,
false,
false,
($core.List<$core.int> value) => $25.GetAngularVelocityRequest.fromBuffer(value),
($25.GetAngularVelocityResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$25.GetCompassHeadingRequest, $25.GetCompassHeadingResponse>(
'GetCompassHeading',
getCompassHeading_Pre,
false,
false,
($core.List<$core.int> value) => $25.GetCompassHeadingRequest.fromBuffer(value),
($25.GetCompassHeadingResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$25.GetOrientationRequest, $25.GetOrientationResponse>(
'GetOrientation',
getOrientation_Pre,
false,
false,
($core.List<$core.int> value) => $25.GetOrientationRequest.fromBuffer(value),
($25.GetOrientationResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$25.GetPositionRequest, $25.GetPositionResponse>(
'GetPosition',
getPosition_Pre,
false,
false,
($core.List<$core.int> value) => $25.GetPositionRequest.fromBuffer(value),
($25.GetPositionResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$25.GetPropertiesRequest, $25.GetPropertiesResponse>(
'GetProperties',
getProperties_Pre,
false,
false,
($core.List<$core.int> value) => $25.GetPropertiesRequest.fromBuffer(value),
($25.GetPropertiesResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$25.GetAccuracyRequest, $25.GetAccuracyResponse>(
'GetAccuracy',
getAccuracy_Pre,
false,
false,
($core.List<$core.int> value) => $25.GetAccuracyRequest.fromBuffer(value),
($25.GetAccuracyResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$25.GetLinearAccelerationRequest, $25.GetLinearAccelerationResponse>(
'GetLinearAcceleration',
getLinearAcceleration_Pre,
false,
false,
($core.List<$core.int> value) => $25.GetLinearAccelerationRequest.fromBuffer(value),
($25.GetLinearAccelerationResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$14.DoCommandRequest, $14.DoCommandResponse>(
'DoCommand',
doCommand_Pre,
false,
false,
($core.List<$core.int> value) => $14.DoCommandRequest.fromBuffer(value),
($14.DoCommandResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$14.GetGeometriesRequest, $14.GetGeometriesResponse>(
'GetGeometries',
getGeometries_Pre,
false,
false,
($core.List<$core.int> value) => $14.GetGeometriesRequest.fromBuffer(value),
($14.GetGeometriesResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$14.GetReadingsRequest, $14.GetReadingsResponse>(
'GetReadings',
getReadings_Pre,
false,
false,
($core.List<$core.int> value) => $14.GetReadingsRequest.fromBuffer(value),
($14.GetReadingsResponse value) => value.writeToBuffer()));
}