Documentation ¶
Overview ¶
Package fake implements a fake camera which always returns the same image with a user specified resolution.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Camera ¶
type Camera struct { resource.Named resource.AlwaysRebuild Model *transform.PinholeCameraModel Width int Height int // contains filtered or unexported fields }
Camera is a fake camera that always returns the same image.
func (*Camera) NextPointCloud ¶
func (c *Camera) NextPointCloud(ctx context.Context) (pointcloud.PointCloud, error)
NextPointCloud always returns a pointcloud of a yellow to blue gradient, with the depth determined by the intensity of blue.
Click to show internal directories.
Click to hide internal directories.