Documentation ¶
Overview ¶
Package mybase implements a base that only supports SetPower (basic forward/back/turn controls.)
Index ¶
- Variables
- type MyBase
- func (base *MyBase) Close(ctx context.Context) error
- func (base *MyBase) IsMoving(ctx context.Context) (bool, error)
- func (base *MyBase) MoveStraight(ctx context.Context, distanceMm int, mmPerSec float64, ...) error
- func (base *MyBase) Reconfigure(cfg config.Component, deps registry.Dependencies) error
- func (base *MyBase) SetPower(ctx context.Context, linear, angular r3.Vector, extra map[string]interface{}) error
- func (base *MyBase) SetVelocity(ctx context.Context, linear, angular r3.Vector, extra map[string]interface{}) error
- func (base *MyBase) Spin(ctx context.Context, angleDeg, degsPerSec float64, ...) error
- func (base *MyBase) Stop(ctx context.Context, extra map[string]interface{}) error
Constants ¶
This section is empty.
Variables ¶
View Source
var (
Model = resource.NewModel("acme", "demo", "mybase")
)
Functions ¶
This section is empty.
Types ¶
type MyBase ¶
func (*MyBase) MoveStraight ¶
func (*MyBase) Reconfigure ¶
func (*MyBase) SetVelocity ¶
Click to show internal directories.
Click to hide internal directories.