record

package
v0.0.0-...-b0e91a5 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2022 License: Apache-2.0 Imports: 9 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,"`
	CamImageArray string  `json:"cam/image_array,"`
}

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