limo

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2022 License: AGPL-3.0 Imports: 17 Imported by: 0

Documentation

Overview

Package limo implements the AgileX Limo base

Index

Constants

View Source
const (
	DIFFERENTIAL = steeringMode(iota)
	ACKERMANN
	OMNI
)

valid steering modes for limo.

Variables

This section is empty.

Functions

func CreateLimoBase

func CreateLimoBase(ctx context.Context, config *Config, logger golog.Logger) (base.LocalBase, error)

CreateLimoBase returns a AgileX limo base.

Types

type Config

type Config struct {
	DriveMode    string `json:"drive_mode"`
	SerialDevice string `json:"serial_path"` // path to /dev/ttyXXXX file

	// TestChan is a fake "serial" path for test use only
	TestChan chan []uint8 `json:"-"`
}

Config is how you configure a limo base.

Jump to

Keyboard shortcuts

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