Discover Packages
go.viam.com/rdk
components
base
wheeled
package
Version:
v0.1.0
Opens a new window with list of versions in this module.
Published: Sep 20, 2022
License: AGPL-3.0
Opens a new window with license information.
Imports: 16
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package wheeled implements some bases, like a wheeled base.
CreateWheeledBase returns a new wheeled base defined by the given 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.
Validate ensures all parts of the config are valid.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.