obstaclesdistance

package
v0.26.0 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2024 License: AGPL-3.0 Imports: 15 Imported by: 0

Documentation

Overview

Package obstaclesdistance uses an underlying camera to fulfill vision service methods, specifically GetObjectPointClouds, which performs several queries of NextPointCloud and returns a median point.

Index

Constants

View Source
const DefaultNumQueries = 10

DefaultNumQueries is the default number of times the camera should be queried before averaging.

Variables

This section is empty.

Functions

This section is empty.

Types

type DistanceDetectorConfig

type DistanceDetectorConfig struct {
	NumQueries int `json:"num_queries"`
}

DistanceDetectorConfig specifies the parameters for the camera to be used for the obstacle distance detection service.

func (*DistanceDetectorConfig) Validate

func (config *DistanceDetectorConfig) Validate(path string) ([]string, error)

Validate ensures all parts of the config are valid.

Jump to

Keyboard shortcuts

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