builtin

package
v0.31.0 Latest Latest
Warning

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

Go to latest
Published: Jul 1, 2024 License: AGPL-3.0 Imports: 41 Imported by: 0

Documentation

Overview

Package builtin implements a motion service.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateMoveOnGlobeTestEnvironment added in v0.31.0

func CreateMoveOnGlobeTestEnvironment(ctx context.Context, t *testing.T, origin *geo.Point, geometrySize float64, noise spatialmath.Pose) (
	motion.Localizer, motion.Service, func(context.Context) error,
)

CreateMoveOnGlobeTestEnvironment creates a testable environment that will simulate a real moving base for MoveOnGlobe calls.

func CreateMoveOnMapTestEnvironment added in v0.31.0

func CreateMoveOnMapTestEnvironment(
	ctx context.Context,
	t *testing.T,
	pcdPath string,
	geomSize float64,
	origin spatialmath.Pose,
) (motion.Localizer, motion.Service, func(context.Context) error)

CreateMoveOnMapTestEnvironment creates a testable environment that will simulate a real moving base for MoveOnMap calls.

func NewBuiltIn

func NewBuiltIn(
	ctx context.Context, deps resource.Dependencies, conf resource.Config, logger logging.Logger,
) (motion.Service, error)

NewBuiltIn returns a new move and grab service for the given robot.

Types

type Config added in v0.2.37

type Config struct {
	LogFilePath string `json:"log_file_path"`
}

Config describes how to configure the service; currently only used for specifying dependency on framesystem service.

func (*Config) Validate added in v0.2.37

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

Validate here adds a dependency on the internal framesystem service.

Directories

Path Synopsis
Package state provides apis for motion builtin plan executions and manages the state of those executions
Package state provides apis for motion builtin plan executions and manages the state of those executions

Jump to

Keyboard shortcuts

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