builtin

package
v0.2.16 Latest Latest
Warning

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

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

Documentation

Overview

Package builtin contains a service type that can be used to capture data from a robot's components.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewBuiltIn

func NewBuiltIn(_ context.Context, r robot.Robot, _ config.Service, logger golog.Logger) (datamanager.Service, error)

NewBuiltIn returns a new data manager service for the given robot.

Types

type Config

type Config struct {
	CaptureDir            string         `json:"capture_dir"`
	AdditionalSyncPaths   []string       `json:"additional_sync_paths"`
	SyncIntervalMins      float64        `json:"sync_interval_mins"`
	CaptureDisabled       bool           `json:"capture_disabled"`
	ScheduledSyncDisabled bool           `json:"sync_disabled"`
	ModelsToDeploy        []*model.Model `json:"models_on_robot"`
}

Config describes how to configure the service.

Jump to

Keyboard shortcuts

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