replaypcd

package
v0.3.0-rc0 Latest Latest
Warning

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

Go to latest
Published: May 25, 2023 License: AGPL-3.0 Imports: 20 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   string       `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 (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