fake

package
v0.0.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 19, 2022 License: AGPL-3.0 Imports: 10 Imported by: 0

Documentation

Overview

Package fake implements a fake camera.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Camera

type Camera struct {
	generic.Echo
	Name string
	// contains filtered or unexported fields
}

Camera is a fake camera that always returns the same image.

func (*Camera) Next

func (c *Camera) Next(ctx context.Context) (image.Image, func(), error)

Next always returns the same image with dot in the top left corner. The dot is colored either red (default), blue, or yellow.

func (*Camera) NextPointCloud

func (c *Camera) NextPointCloud(ctx context.Context) (pointcloud.PointCloud, error)

NextPointCloud always returns a pointcloud with a single pixel.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL