dualgps

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: 11 Imported by: 0

Documentation

Overview

Package dualgps implements a movement sensor that calculates compass heading from two gps movement sensors

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Gps1   string   `json:"first_gps"`
	Gps2   string   `json:"second_gps"`
	Offset *float64 `json:"offset_degrees,omitempty"`
}

Config is used for converting the movementsensor attributes.

func (*Config) Validate

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

Validate validates the dual gps model's config to make sure that it has two gps movement sensors.

Jump to

Keyboard shortcuts

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