replaypcd

package
v0.2.47 Latest Latest
Warning

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

Go to latest
Published: May 11, 2023 License: AGPL-3.0 Imports: 9 Imported by: 3

Documentation

Overview

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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Source   resource.Name `json:"source,omitempty"`
	RobotID  string        `json:"robot_id,omitempty"`
	Interval TimeInterval  `json:"time_interval,omitempty"`
}

Config describes how to configure the replay camera component.

func (*Config) Validate

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

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

type TimeInterval

type TimeInterval struct {
	Start time.Time `json:"start,omitempty"`
	End   time.Time `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