Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Module ¶
type Module interface { fmt.Stringer // Start starts the module. Start() error // Connected returns true if the module connection has been established. Connected() bool // WaitForConnection waits for the module connection to be established. WaitForConnection(timeout time.Duration) bool // Stop stops the module. Stop() error }
Module is the interface implemented by all modules.
type Type ¶
type Type int8
const ( TypeConnection Type = 1 << iota TypeRobot TypeChassis TypeGimbal TypeCamera TypeGun TypeGamePad TypeAll = TypeConnection | TypeRobot | TypeChassis | TypeGimbal | TypeCamera | TypeGun | TypeGamePad TypeAllButGamePad = TypeConnection | TypeRobot | TypeChassis | TypeGimbal | TypeCamera | TypeGun )
Click to show internal directories.
Click to hide internal directories.