Class Camera
java.lang.Object
com.viam.sdk.core.resource.Resource
com.viam.sdk.core.component.Component
com.viam.sdk.core.component.camera.Camera
- Direct Known Subclasses:
CameraRPCClient
MovementSensor reports information about the robot's direction, position, and speed
-
Nested Class Summary
Nested classes/interfaces inherited from class com.viam.sdk.core.resource.Resource
Resource.Reconfigurable, Resource.Stoppable
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Camera
fromRobot
(RobotClient robot, String name) Get the component with the provided name from the provided robot.abstract Camera.Image
getImage
(Camera.Format format, Optional<com.google.protobuf.Struct> extra) abstract Map.Entry<List<Camera.Image>,
Common.ResponseMetadata> static Common.ResourceName
Get the ResourceName of the componentMethods inherited from class com.viam.sdk.core.component.Component
getGeometries
Methods inherited from class com.viam.sdk.core.resource.Resource
close, createStatus, doCommand, getName, getSubtype, named
-
Field Details
-
SUBTYPE
-
-
Constructor Details
-
Camera
-
-
Method Details
-
named
Get the ResourceName of the component- Parameters:
name
- the name of the component- Returns:
- the component's ResourceName
-
fromRobot
Get the component with the provided name from the provided robot.- Parameters:
robot
- the RobotClientname
- the name of the component- Returns:
- the component
-
getImage
public abstract Camera.Image getImage(Camera.Format format, Optional<com.google.protobuf.Struct> extra) -
getImages
-