imuwit

package
v0.2.27 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2023 License: AGPL-3.0 Imports: 19 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 AttrConfig

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

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

func (*AttrConfig) Validate

func (cfg *AttrConfig) Validate(path 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