Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Option ¶
type Option func(*options)
Option provides a function definition to set options
func WithSerialNo ¶
WithSerialNo set the serialno for the vector robot.
type RobotSDKInfoStore ¶
type Vector ¶
type Vector struct { Conn vectorpb.ExternalInterfaceClient Cfg options }
Vector is the struct containing info about Vector
func NewEP ¶
NewEP returns either a vector struct for escape pod vector, or an error on failure This function assumes you are working with the old Python SDK, that saves in ".anki_vector" a .ini file with the configuration info needed
func NewWP ¶
NewWP returns either a vector struct for wirepod pod vector, or an error on failure This function assumes you are working with Wirepod, that saves in "./jdocs/botSdkInfo.json" a JSON file with the configuration info needed
func (*Vector) BehaviorControl ¶
BehaviorControl assumes control of the vector robot for SDK usage. Once control is assumed, a signal is sent on the start channel. To give control back to the bot, send a message to the stop channel. Failing to do so may leave your bot in a funny, funny state.