sensorfilter

package
v0.0.0-...-791af7f Latest Latest
Warning

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

Go to latest
Published: May 17, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package sensorfilter implements a modular component that filters the output of an underlying ultrasonic sensor and only keeps captured data if there is a significant change in readings.

Index

Constants

This section is empty.

Variables

View Source
var Model = resource.NewModel("example", "sensor", "sensorfilter")

Model is the full model definition.

Functions

This section is empty.

Types

type Config

type Config struct {
	ActualSensor string `json:"actual_sensor"`
}

Config contains the name to the underlying sensor.

func (*Config) Validate

func (cfg *Config) Validate(path string) ([]string, error)

Validate validates the config and returns implicit dependencies.

Directories

Path Synopsis
Package main is a module which serves the sensorfilter custom module.
Package main is a module which serves the sensorfilter custom module.

Jump to

Keyboard shortcuts

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