accelerometer

package
v0.0.0-...-a6ce1d2 Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2018 License: GPL-2.0 Imports: 0 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Accel

type Accel interface {
	Read() (*Reading, error)
}

Accel is an accelerometer interface

type Reading

type Reading struct {
	Gyro  Vec3
	Accel Vec3
}

Reading is an accelerometer reading

type Vec3

type Vec3 struct {
	X, Y, Z int
}

Vec3 is a 3D vector

Jump to

Keyboard shortcuts

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