dh

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(eps float32, maxIterations int, cfg ...Config) kinematics.Kinematics

Types

type Config

type Config struct {
	Min   float32
	Max   float32
	Theta float32
	Alpha float32
	R     float32
	D     float32
	Index int
}

func (Config) CalculateTransform

func (c Config) CalculateTransform(parameter float32, m *mat.Matrix4x4) bool

func (Config) Limit

func (c Config) Limit(a float32) float32

type DenavitHartenberg

type DenavitHartenberg struct {
	H0i []mat.Matrix4x4 // TODO replace with Matrix4x4
	// contains filtered or unexported fields
}

func (*DenavitHartenberg) DOF

func (p *DenavitHartenberg) DOF() int

func (*DenavitHartenberg) Effector

func (p *DenavitHartenberg) Effector() vec.Vector

func (*DenavitHartenberg) Forward

func (p *DenavitHartenberg) Forward() bool

func (*DenavitHartenberg) Inverse

func (p *DenavitHartenberg) Inverse() bool

func (*DenavitHartenberg) Params

func (p *DenavitHartenberg) Params() vec.Vector

Jump to

Keyboard shortcuts

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