testhelper

package
v0.2.22 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2023 License: AGPL-3.0 Imports: 10 Imported by: 0

Documentation

Overview

Package testhelper implements a slam service definition with additional exported functions for the purpose of testing

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func TestComparePointCloudsFromPCDs added in v0.2.21

func TestComparePointCloudsFromPCDs(t *testing.T, pcdInput, pcdOutput []byte)

TestComparePointCloudsFromPCDs is a helper function for checking GetPointCloudMapFull response along with associated pcd validity checks.

Types

type Service

type Service interface {
	StartDataProcess(cancelCtx context.Context, cam []camera.Camera, camStreams []gostream.VideoStream, c chan int)
	StartSLAMProcess(ctx context.Context) error
	StopSLAMProcess() error
	Close() error
	GetSLAMProcessConfig() pexec.ProcessConfig
	GetSLAMProcessBufferedLogReader() bufio.Reader
}

Service in the internal package includes additional exported functions relating to the data and slam processes in the slam service. These functions are not exported to the user. This resolves a circular import caused by the inject package.

Jump to

Keyboard shortcuts

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