Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RSDK-7468: add captureAll method #494

Merged
merged 3 commits into from
May 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions component/arm/v1/arm.pb.gw.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 5 additions & 5 deletions component/encoder/v1/encoder.pb.gw.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 5 additions & 5 deletions component/gantry/v1/gantry.pb.gw.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 5 additions & 5 deletions component/gripper/v1/gripper.pb.gw.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 7 additions & 7 deletions component/movementsensor/v1/movementsensor.pb.gw.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

63 changes: 63 additions & 0 deletions gen/js/service/vision/v1/vision_grpc_web_pb.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ grpc.web = require('grpc-web');

var common_v1_common_pb = require('../../../common/v1/common_pb.js')

var component_camera_v1_camera_pb = require('../../../component/camera/v1/camera_pb.js')

var google_api_annotations_pb = require('../../../google/api/annotations_pb.js')

var google_protobuf_struct_pb = require('google-protobuf/google/protobuf/struct_pb.js')
Expand Down Expand Up @@ -449,6 +451,67 @@ proto.viam.service.vision.v1.VisionServicePromiseClient.prototype.getProperties
};


/**
* @const
* @type {!grpc.web.MethodDescriptor<
* !proto.viam.service.vision.v1.CaptureAllFromCameraRequest,
* !proto.viam.service.vision.v1.CaptureAllFromCameraResponse>}
*/
const methodDescriptor_VisionService_CaptureAllFromCamera = new grpc.web.MethodDescriptor(
'/viam.service.vision.v1.VisionService/CaptureAllFromCamera',
grpc.web.MethodType.UNARY,
proto.viam.service.vision.v1.CaptureAllFromCameraRequest,
proto.viam.service.vision.v1.CaptureAllFromCameraResponse,
/**
* @param {!proto.viam.service.vision.v1.CaptureAllFromCameraRequest} request
* @return {!Uint8Array}
*/
function(request) {
return request.serializeBinary();
},
proto.viam.service.vision.v1.CaptureAllFromCameraResponse.deserializeBinary
);


/**
* @param {!proto.viam.service.vision.v1.CaptureAllFromCameraRequest} request The
* request proto
* @param {?Object<string, string>} metadata User defined
* call metadata
* @param {function(?grpc.web.RpcError, ?proto.viam.service.vision.v1.CaptureAllFromCameraResponse)}
* callback The callback function(error, response)
* @return {!grpc.web.ClientReadableStream<!proto.viam.service.vision.v1.CaptureAllFromCameraResponse>|undefined}
* The XHR Node Readable Stream
*/
proto.viam.service.vision.v1.VisionServiceClient.prototype.captureAllFromCamera =
function(request, metadata, callback) {
return this.client_.rpcCall(this.hostname_ +
'/viam.service.vision.v1.VisionService/CaptureAllFromCamera',
request,
metadata || {},
methodDescriptor_VisionService_CaptureAllFromCamera,
callback);
};


/**
* @param {!proto.viam.service.vision.v1.CaptureAllFromCameraRequest} request The
* request proto
* @param {?Object<string, string>=} metadata User defined
* call metadata
* @return {!Promise<!proto.viam.service.vision.v1.CaptureAllFromCameraResponse>}
* Promise that resolves to the response
*/
proto.viam.service.vision.v1.VisionServicePromiseClient.prototype.captureAllFromCamera =
function(request, metadata) {
return this.client_.unaryCall(this.hostname_ +
'/viam.service.vision.v1.VisionService/CaptureAllFromCamera',
request,
metadata || {},
methodDescriptor_VisionService_CaptureAllFromCamera);
};


/**
* @const
* @type {!grpc.web.MethodDescriptor<
Expand Down
Loading
Loading