builtin

package
v0.2.7 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2022 License: AGPL-3.0 Imports: 18 Imported by: 0

Documentation

Overview

Package builtin contains the default navigation service, along with a gRPC server and client

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewBuiltIn

func NewBuiltIn(ctx context.Context, deps registry.Dependencies, config config.Service, logger golog.Logger) (navigation.Service, error)

NewBuiltIn returns a new navigation service for the given robot.

Types

type Config

type Config struct {
	Store              navigation.StoreConfig `json:"store"`
	BaseName           string                 `json:"base"`
	MovementSensorName string                 `json:"movement_sensor"`
	DegPerSecDefault   float64                `json:"degs_per_sec"`
	MMPerSecDefault    float64                `json:"mm_per_sec"`
}

Config describes how to configure the service.

func (*Config) Validate added in v0.2.0

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

Validate creates the list of implicit dependencies.

Jump to

Keyboard shortcuts

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