vgripper

package
v0.2.7 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2022 License: AGPL-3.0 Imports: 16 Imported by: 0

Documentation

Overview

Package vgripper implements versions of the Viam gripper. This is an Experimental package

Index

Constants

View Source
const (
	TargetRPM               = 200
	MaxCurrent              = 700
	CurrentBadReadingCounts = 50
	MinRotationGap          = 4.0
	MaxRotationGap          = 5.0
	OpenPosOffset           = 0.4 // Reduce maximum opening width, keeps out of mechanical binding region
	ClosePosOffset          = 0.1 // Prevent false "grabs"
)

TODO.

View Source
const (
	Command           = "command"
	GetPressure       = "get_pressure"
	GetCurrent        = "get_current"
	Home              = "home"
	ReturnCurrent     = "current"
	ReturnPressure    = "pressure"
	ReturnHasPressure = "has_pressure"
)

Do() related constants.

Variables

This section is empty.

Functions

This section is empty.

Types

type AttrConfig added in v0.1.2

type AttrConfig struct {
	Board         string `json:"board"`
	PressureLimit int    `json:"pressure_limit"`
}

AttrConfig is the config for a viam gripper.

func (*AttrConfig) Validate added in v0.1.2

func (config *AttrConfig) Validate(path string) ([]string, error)

Validate ensures all parts of the config are valid.

Jump to

Keyboard shortcuts

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