xarm

package
v0.2.35 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2023 License: AGPL-3.0 Imports: 23 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 Model added in v0.1.3

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

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

func NewxArm

func NewxArm(ctx context.Context, cfg config.Component, logger golog.Logger, modelName string) (arm.LocalArm, error)

NewxArm returns a new xArm of the specified modelName.

Types

type AttrConfig

type AttrConfig struct {
	Host         string  `json:"host"`
	Speed        float32 `json:"speed_degs_per_sec"`
	Acceleration float32 `json:"acceleration_degs_per_sec_per_sec"`
}

AttrConfig is used for converting config attributes.

Jump to

Keyboard shortcuts

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