planar

package
v0.0.0-...-e6cdf45 Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2022 License: MIT Imports: 4 Imported by: 0

README

Planar kinematics

Describes simple rotational joints that lie on a single XZ plane. Each joint is described by an angle constraint and arm length. The very first parameter is the orientation of the XZ plane around Z axis.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New2DOF

func New2DOF(cfg [2]Config) kinematics.Kinematics

func New3DOF

func New3DOF(cfg [3]Config) kinematics.Kinematics

Types

type Config

type Config struct {
	Min    float32
	Max    float32
	Length float32
}

func (Config) Limit

func (c Config) Limit(a float32) float32

Jump to

Keyboard shortcuts

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