package
Version:
v0.0.0-...-9f5348b
Opens a new window with list of versions in this module.
Published: May 4, 2019
License: MIT, Apache-2.0
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
OnCollision handles collision events.
type BB8 interface {
Start(callback func()) error
Stop() error
AddCollisionEventHandler(handler func(bb8 *bb8, data Collision))
SetSpeed(speed uint8)
TurnAround()
Flash()
}
BB8 is an interface to do things with a BB-8 robot.
NewBB8 initializes a bluetooth connection to a BB-8 robot.
type Collision struct {
}
Collision contains collision data reported by BB-8
Source Files
¶
Click to show internal directories.
Click to hide internal directories.