xarm

package
v0.1.7 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2022 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 a function used to get the string used to refer to the xarm model of 6 dof.

View Source
const ModelName7DOF = "xArm7"

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

Variables

This section is empty.

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