wheeled

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: 22 Imported by: 0

Documentation

Overview

Package wheeled implements some bases, like a wheeled base.

Index

Constants

This section is empty.

Variables

View Source
var ModelName = resource.NewDefaultModel("wheeled")

ModelName is the name of the wheeled model of a base component.

Functions

func CreateWheeledBase

func CreateWheeledBase(
	ctx context.Context,
	deps registry.Dependencies,
	cfg config.Component,
	logger golog.Logger,
) (base.LocalBase, error)

CreateWheeledBase returns a new wheeled base defined by the given config.

func Model added in v0.2.35

func Model(name string, collisionGeometry spatialmath.Geometry, limits []referenceframe.Limit) (referenceframe.Model, error)

Model builds the kinematic model associated with the kinematicWheeledBase Note that this model is not intended to be registered in the frame system.

Types

type AttrConfig added in v0.2.21

type AttrConfig struct {
	WidthMM              int      `json:"width_mm"`
	WheelCircumferenceMM int      `json:"wheel_circumference_mm"`
	SpinSlipFactor       float64  `json:"spin_slip_factor,omitempty"`
	Left                 []string `json:"left"`
	Right                []string `json:"right"`
}

AttrConfig is how you configure a wheeled base.

func (*AttrConfig) Validate added in v0.2.21

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

Validate ensures all parts of the config are valid.

Jump to

Keyboard shortcuts

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