dataprocess

package
v0.1.35 Latest Latest
Warning

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

Go to latest
Published: May 16, 2023 License: Apache-2.0 Imports: 6 Imported by: 1

Documentation

Overview

Package dataprocess manages code related to the data-saving process. Warning: The code in this package might be transient. Stability is not guaranteed.

Index

Constants

View Source
const (
	// SlamTimeFormat is the timestamp format used in the dataprocess.
	SlamTimeFormat = "2006-01-02T15:04:05.0000Z"
)

Variables

This section is empty.

Functions

func CreateTimestampFilename added in v0.1.31

func CreateTimestampFilename(dataDirectory, primarySensorName, fileType string, timeStamp time.Time) string

CreateTimestampFilename creates an absolute filename with a primary sensor name and timestamp written into the filename.

func WriteBytesToFile

func WriteBytesToFile(bytes []byte, filename string) error

WriteBytesToFile writes the passed bytes to the passed filename.

func WritePCDToFile

func WritePCDToFile(pointcloud pc.PointCloud, filename string) error

WritePCDToFile encodes the pointcloud and then saves it to the passed filename.

Types

This section is empty.

Jump to

Keyboard shortcuts

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