xarm

package
v0.2.27 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2023 License: AGPL-3.0 Imports: 23 Imported by: 0

Documentation

Overview

Package xarm implements some xArms.

Index

Constants

This section is empty.

Variables

View Source
var ModelName6DOF = resource.NewDefaultModel("xArm6")

ModelName6DOF is a function used to get the string used to refer to the xarm model of 6 dof.

View Source
var ModelName7DOF = resource.NewDefaultModel("xArm7")

ModelName7DOF is a function used to get the string used to refer to the xarm model of 7 dof.

Functions

func Model added in v0.1.3

func Model(name string, dof int) (referenceframe.Model, error)

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

func NewxArm

func NewxArm(ctx context.Context, r robot.Robot, cfg config.Component, logger golog.Logger, dof int) (arm.LocalArm, error)

NewxArm returns a new xArm with the specified dof.

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