Versions in this module Expand all Collapse all v1 v1.3.0 Mar 22, 2017 v1.2.1 Feb 16, 2017 v1.2.0 Feb 16, 2017 v1.1.0 Jan 9, 2017 v1.0.0 Dec 21, 2016 Changes in this version + type Adaptor struct + func NewAdaptor(port string) *Adaptor + func (l *Adaptor) Connect() (err error) + func (l *Adaptor) Finalize() (err error) + func (l *Adaptor) Name() string + func (l *Adaptor) Port() string + func (l *Adaptor) SetName(n string) + type Driver struct + func NewDriver(a *Adaptor) *Driver + func (l *Driver) Connection() gobot.Connection + func (l *Driver) Halt() (errs error) + func (l *Driver) Name() string + func (l *Driver) ParseFrame(data []byte) Frame + func (l *Driver) SetName(n string) + func (l *Driver) Start() (err error) v0 v0.13.0 Oct 10, 2016 Changes in this version + const GestureEvent + const HandEvent + const MessageEvent v0.12.1 Jul 13, 2016 v0.12.0 Jul 13, 2016 v0.11.0 Feb 17, 2016 Changes in this version + type Frame struct + CurrentFrameRate float64 + Gestures []Gesture + Hands []Hand + ID int + InteractionBox InteractionBox + Pointables []Pointable + R [][]float64 + S float64 + T []float64 + Timestamp int + type Gesture struct + Direction []float64 + Duration int + Hands []Hand + ID int + Pointables []Pointable + Position []float64 + Speed float64 + StartPosition []float64 + State string + Type string + type Hand struct + Direction []float64 + ID int + PalmNormal []float64 + PalmPosition []float64 + PalmVelocity []float64 + R [][]float64 + S float64 + SphereCenter []float64 + SphereRadius float64 + StabilizedPalmPosition []float64 + T []float64 + TimeVisible float64 + func (h *Hand) X() float64 + func (h *Hand) Y() float64 + func (h *Hand) Z() float64 + type InteractionBox struct + Center []int + Size []float64 + type LeapMotionAdaptor struct + func NewLeapMotionAdaptor(name string, port string) *LeapMotionAdaptor + func (l *LeapMotionAdaptor) Connect() (errs []error) + func (l *LeapMotionAdaptor) Finalize() (errs []error) + func (l *LeapMotionAdaptor) Name() string + func (l *LeapMotionAdaptor) Port() string + type LeapMotionDriver struct + func NewLeapMotionDriver(a *LeapMotionAdaptor, name string) *LeapMotionDriver + func (l *LeapMotionDriver) Connection() gobot.Connection + func (l *LeapMotionDriver) Halt() (errs []error) + func (l *LeapMotionDriver) Name() string + func (l *LeapMotionDriver) ParseFrame(data []byte) Frame + func (l *LeapMotionDriver) Start() (errs []error) + type Pointable struct + Direction []float64 + HandID int + ID int + Length float64 + StabilizedTipPosition []float64 + TimeVisible float64 + TipPosition []float64 + TipVelocity []float64 + Tool bool + TouchDistance float64 + TouchZone string