servos

package
v0.0.0-...-af67c94 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Device ID for robot.transport
	ID = 0x00000100
)

Variables

This section is empty.

Functions

func New

func New(writer io.Writer) actuator.Actuator

func WithCalibration

func WithCalibration(scale, offset float32) options.Option

func WithMicroseconds

func WithMicroseconds(min, max, middle uint32, angleRange float32) options.Option

func WithPin

func WithPin(pin uint32) options.Option

func WithRange

func WithRange(min, max float32) options.Option

Types

type Config

type Config = pb.Config

type Motor

type Motor = pb.Motor

func NewMotorConfig

func NewMotorConfig(opts ...options.Option) Motor

type State

type State = kinematics.State

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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