dataprocess

package
v0.2.35 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2023 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Overview

Package dataprocess manages code related to the data-saving process

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

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