imuwit

package
v0.2.16 Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2023 License: AGPL-3.0 Imports: 21 Imported by: 0

Documentation

Overview

Package imuwit implements wit imus. Tested on the HWT901B and BWT901CL models. Other WT901-based models may work too.

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 int    `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