sensorprocess

package
v0.3.45 Latest Latest
Warning

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

Go to latest
Published: May 28, 2024 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Overview

Package sensorprocess contains the logic to add lidar or replay sensor readings to cartographer's cartofacade

Package sensorprocess contains the logic to add lidar or replay sensor readings to cartographer's cartofacade

Package sensorprocess contains the logic to add lidar or replay sensor readings to cartographer's cartofacade

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	CartoFacade cartofacade.Interface
	IsOnline    bool

	Lidar          s.TimedLidar
	MovementSensor s.TimedMovementSensor

	Timeout         time.Duration
	InternalTimeout time.Duration
	Logger          logging.Logger
}

Config holds config needed throughout the process of adding a sensor reading to the cartofacade.

func (*Config) StartLidar added in v0.3.26

func (config *Config) StartLidar(ctx context.Context)

StartLidar polls the lidar to get the next sensor reading and adds it to the cartofacade. Stops when the context is Done.

func (*Config) StartMovementSensor added in v0.3.41

func (config *Config) StartMovementSensor(ctx context.Context)

StartMovementSensor polls the movement sensor to get the next sensor reading and adds it to the cartofacade. Stops when the context is Done.

func (*Config) StartOfflineSensorProcess added in v0.3.41

func (config *Config) StartOfflineSensorProcess(ctx context.Context) bool

StartOfflineSensorProcess starts the process of adding lidar and movement sensor data in a deterministically defined order to cartographer. Returns a bool that indicates whether or not the end of either the lidar or movement sensor datasets have been reached.

Jump to

Keyboard shortcuts

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