wheeled

package
v0.42.0-rc0 Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2024 License: AGPL-3.0 Imports: 14 Imported by: 0

Documentation

Overview

Package wheeled implements some bases, like a wheeled base.

Index

Constants

This section is empty.

Variables

View Source
var Model = resource.DefaultModelFamily.WithModel("wheeled")

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

Functions

This section is empty.

Types

type Config

type Config 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"`
}

Config is how you configure a wheeled base.

func (*Config) Validate

func (cfg *Config) 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