Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CommandStatus ¶
CommandStatus the result of a robot instruction
func CommandError ¶
func CommandError(message string) CommandStatus
CommandError indicate that a fatal error occurred
func CommandNotImplemented ¶
func CommandNotImplemented(message string) CommandStatus
CommandNotImplemented indicates that the function is not implemented for this driver
func CommandWarn ¶
func CommandWarn(message string) CommandStatus
CommandWarn indicate that the function completed successfully but that a warning was generated
func (CommandStatus) Fatal ¶
func (cs CommandStatus) Fatal() bool
Fatal returns true if a fatal error occurred
func (CommandStatus) GetError ¶
func (cs CommandStatus) GetError() error
GetError if a fatal error occurred, returns it. Otherwise returns nil. If a warning was returned, it is written to standard error
func (CommandStatus) Ok ¶
func (cs CommandStatus) Ok() bool
Ok tests whether the function returned successfully
func (CommandStatus) String ¶
func (cs CommandStatus) String() string
String returns a string representation of the CommandStatus
type PositionState ¶
type PositionState map[string]interface{}
Click to show internal directories.
Click to hide internal directories.