imuwit

package
v0.2.40 Latest Latest
Warning

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

Go to latest
Published: May 2, 2023 License: AGPL-3.0 Imports: 16 Imported by: 0

Documentation

Overview

Package imuwit implements wit imus.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewWit

NewWit creates a new Wit IMU.

Types

type Config added in v0.2.36

type Config struct {
	Port     string `json:"serial_path"`
	BaudRate uint   `json:"serial_baud_rate,omitempty"`
}

Config is used for converting a witmotion IMU MovementSensor config attributes.

func (*Config) Validate added in v0.2.36

func (cfg *Config) 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