engine

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: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Servo

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

Servo represents a Servo engine controller.

func NewServo

func NewServo(blaster blaster.Blaster, servo *observerconfig.Servo) *Servo

NewServo is a constructor of the Servo.

type Servos

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

Servos represent a duo of Servo.

func NewServos

func NewServos(sX, sY *Servo) *Servos

NewServos is a constructor of the Servos.

func (*Servos) Aim

func (ss *Servos) Aim(point image.Point)

Aim moves the Servos to make sure that the given point lies in the tolerable rectangle area.

func (*Servos) Calibrate

func (ss *Servos) Calibrate()

Calibrate calibrates Servos.

func (*Servos) Center

func (ss *Servos) Center()

Center centres a Servos.

func (*Servos) CenterMiddleUp

func (ss *Servos) CenterMiddleUp()

CenterMiddleUp set Servos to the default position.

Jump to

Keyboard shortcuts

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