Package com.viam.component.camera.v1
Interface CameraServiceGrpc.AsyncService
- All Known Implementing Classes:
CameraRPCService
,CameraServiceGrpc.CameraServiceImplBase
- Enclosing class:
- CameraServiceGrpc
public static interface CameraServiceGrpc.AsyncService
A CameraService services all cameras associated with a robot
-
Method Summary
Modifier and TypeMethodDescriptiondefault void
doCommand
(Common.DoCommandRequest request, io.grpc.stub.StreamObserver<Common.DoCommandResponse> responseObserver) DoCommand sends/receives arbitrary commandsdefault void
getGeometries
(Common.GetGeometriesRequest request, io.grpc.stub.StreamObserver<Common.GetGeometriesResponse> responseObserver) GetGeometries returns the geometries of the component in their current configurationdefault void
getImage
(Camera.GetImageRequest request, io.grpc.stub.StreamObserver<Camera.GetImageResponse> responseObserver) GetImage returns a frame from a camera of the underlying robot.default void
getImages
(Camera.GetImagesRequest request, io.grpc.stub.StreamObserver<Camera.GetImagesResponse> responseObserver) default void
getPointCloud
(Camera.GetPointCloudRequest request, io.grpc.stub.StreamObserver<Camera.GetPointCloudResponse> responseObserver) GetPointCloud returns a point cloud from a camera of the underlying robot.default void
getProperties
(Camera.GetPropertiesRequest request, io.grpc.stub.StreamObserver<Camera.GetPropertiesResponse> responseObserver) GetProperties returns the camera intrinsic parameters and camera distortion parameters from a camera of the underlying robot, if available.default void
renderFrame
(Camera.RenderFrameRequest request, io.grpc.stub.StreamObserver<HttpBody> responseObserver) RenderFrame renders a frame from a camera of the underlying robot to an HTTP response.
-
Method Details
-
getImage
default void getImage(Camera.GetImageRequest request, io.grpc.stub.StreamObserver<Camera.GetImageResponse> responseObserver) GetImage returns a frame from a camera of the underlying robot. A specific MIME type can be requested but may not necessarily be the same one returned.
-
getImages
default void getImages(Camera.GetImagesRequest request, io.grpc.stub.StreamObserver<Camera.GetImagesResponse> responseObserver) -
renderFrame
default void renderFrame(Camera.RenderFrameRequest request, io.grpc.stub.StreamObserver<HttpBody> responseObserver) RenderFrame renders a frame from a camera of the underlying robot to an HTTP response. A specific MIME type can be requested but may not necessarily be the same one returned.
-
getPointCloud
default void getPointCloud(Camera.GetPointCloudRequest request, io.grpc.stub.StreamObserver<Camera.GetPointCloudResponse> responseObserver) GetPointCloud returns a point cloud from a camera of the underlying robot. A specific MIME type can be requested but may not necessarily be the same one returned.
-
getProperties
default void getProperties(Camera.GetPropertiesRequest request, io.grpc.stub.StreamObserver<Camera.GetPropertiesResponse> responseObserver) GetProperties returns the camera intrinsic parameters and camera distortion parameters from a camera of the underlying robot, if available.
-
doCommand
default void doCommand(Common.DoCommandRequest request, io.grpc.stub.StreamObserver<Common.DoCommandResponse> responseObserver) DoCommand sends/receives arbitrary commands
-
getGeometries
default void getGeometries(Common.GetGeometriesRequest request, io.grpc.stub.StreamObserver<Common.GetGeometriesResponse> responseObserver) GetGeometries returns the geometries of the component in their current configuration
-