mybase

package
v0.8.0-rc0 Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2023 License: AGPL-3.0 Imports: 12 Imported by: 0

Documentation

Overview

Package mybase implements a base that only supports SetPower (basic forward/back/turn controls.)

Index

Constants

This section is empty.

Variables

View Source
var (
	// Model is the full model definition.
	Model = resource.NewModel("acme", "demo", "mybase")
)

Functions

This section is empty.

Types

type Config added in v0.5.0

type Config struct {
	LeftMotor  string `json:"motorL"`
	RightMotor string `json:"motorR"`
}

Config contains two component (motor) names.

func (*Config) Validate added in v0.5.0

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

Validate validates the config and returns implicit dependencies.

Jump to

Keyboard shortcuts

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