Skip to main content

intrinsic.solutions.perception.Cameras

Convenience wrapper for camera access.

resource_registry

Resource registry to fetch camera resources from.

grpc_channel

Channel to the camera grpc service.

executive

The executive for checking the state.

is_simulated

Whether or not the world is being simulated.

status.StatusNotOk

If the grpc request failed (propagates grpc error).

Methods

for_solution

View source

Creates a Cameras instance for the given Solution.

Args

solution

The deployed solution.

Returns

The new Cameras instance.

getitem

View source

Returns camera wrapper for the specified identifier.

Args

camera_name

Unique identifier of the camera.

Returns

A camera wrapper object that contains a handle to the camera.

Raises

KeyError

if there is no camera with available with the given name.

len

View source

Returns the number of cameras.