Documentation ¶
Index ¶
Constants ¶
View Source
const ( ActionConfKey_Red = "red" ActionConfKey_Green = "green" ActionConfKey_Blue = "blue" ActionConfKey_Speed = "speed" ActionConfKey_Heading = "heading" ActionConfKey_DurationInSecs = "durationInSecs" )
Variables ¶
This section is empty.
Functions ¶
func InitSpheros ¶
func InitSpheros()
func RunAction ¶
func RunAction(playerName string, action mqtt.SpheroAction)
Types ¶
type SpheroBot ¶
type SpheroBot struct { RallyePlayer player.RallyePlayer BleAdaptor *ble.ClientAdaptor SprkDriver *sprkplus.SPRKPlusDriver ActionChan chan mqtt.SpheroAction Heading uint16 Color SpheroColor }
type SpheroColor ¶
Click to show internal directories.
Click to hide internal directories.