recorder

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var FileNameFormat = "record_%s.json"

Functions

This section is empty.

Types

type Record

type Record struct {
	UserAngle      float32 `json:"user/angle,"`
	AutopilotAngle float32 `json:"autopilot/angle,"`
	CamImageArray  string  `json:"cam/image_array,"`
	DriveMode      string  `json:"drive/mode,omitempty"`
}

type Recorder

type Recorder struct {
	// contains filtered or unexported fields
}

func New

func New(client mqtt.Client, recordsDir, recordTopic string) (*Recorder, error)

func (*Recorder) Start

func (r *Recorder) Start() error

func (*Recorder) Stop

func (r *Recorder) Stop()

Jump to

Keyboard shortcuts

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