replaypcd

package
v0.21.1 Latest Latest
Warning

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

Go to latest
Published: Feb 29, 2024 License: AGPL-3.0 Imports: 21 Imported by: 3

Documentation

Overview

Package replaypcd implements a replay camera that can return point cloud data.

Index

Constants

This section is empty.

Variables

View Source
var (

	// ErrEndOfDataset represents that the replay sensor has reached the end of the dataset.
	ErrEndOfDataset = errors.New("reached end of dataset")
)

Functions

This section is empty.

Types

type Config

type Config struct {
	Source         string       `json:"source,omitempty"`
	RobotID        string       `json:"robot_id,omitempty"`
	LocationID     string       `json:"location_id,omitempty"`
	OrganizationID string       `json:"organization_id,omitempty"`
	Interval       TimeInterval `json:"time_interval,omitempty"`
	BatchSize      *uint64      `json:"batch_size,omitempty"`
	APIKey         string       `json:"api_key,omitempty"`
	APIKeyID       string       `json:"api_key_id,omitempty"`
}

Config describes how to configure the replay camera component.

func (*Config) Validate

func (cfg *Config) Validate(path string) ([]string, error)

Validate checks that the config attributes are valid for a replay camera.

type TimeInterval

type TimeInterval struct {
	Start string `json:"start,omitempty"`
	End   string `json:"end,omitempty"`
}

TimeInterval holds the start and end time used to filter data.

Jump to

Keyboard shortcuts

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