xarm

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2023 License: AGPL-3.0 Imports: 21 Imported by: 0

Documentation

Overview

Package xarm implements some xArms.

Index

Constants

View Source
const (
	ModelName6DOF = "xArm6"    // ModelName6DOF is the name of an xArm6
	ModelName7DOF = "xArm7"    // ModelName7DOF is the name of an xArm7
	ModelNameLite = "xArmLite" // ModelNameLite is the name of an xArmLite
)

Variables

This section is empty.

Functions

func MakeModelFrame added in v0.2.36

func MakeModelFrame(name, modelName string) (referenceframe.Model, error)

MakeModelFrame returns the kinematics model of the xarm arm, which has all Frame information.

func NewxArm

func NewxArm(ctx context.Context, conf resource.Config, logger golog.Logger, modelName string) (arm.Arm, error)

NewxArm returns a new xArm of the specified modelName.

Types

type Config added in v0.2.36

type Config struct {
	Host         string  `json:"host"`
	Port         int     `json:"port"`
	Speed        float32 `json:"speed_degs_per_sec"`
	Acceleration float32 `json:"acceleration_degs_per_sec_per_sec"`
	// contains filtered or unexported fields
}

Config is used for converting config attributes.

func (*Config) Validate added in v0.2.36

func (cfg *Config) Validate(path string) ([]string, error)

Validate validates the config.

Jump to

Keyboard shortcuts

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