controller

package
v0.0.0-...-2489e1b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 27, 2023 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Observer

type Observer struct {
	// contains filtered or unexported fields
}

Observer represents the robot's controller.

func NewObserver

func NewObserver(name string, log *logrus.Entry, cfg *config.Config) *Observer

NewObserver constructs a new Observer controller.

func (*Observer) LoadRobot

func (o *Observer) LoadRobot()

LoadRobot loads all required devices for the Robot.

func (*Observer) LoadWork

func (o *Observer) LoadWork()

LoadWork sets a work attribute.

func (*Observer) Start

func (o *Observer) Start() error

Start starts the device.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL