lidar

package
v0.1.35 Latest Latest
Warning

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

Go to latest
Published: May 16, 2023 License: Apache-2.0 Imports: 6 Imported by: 1

Documentation

Overview

Package lidar implements the Lidar sensor. Warning: The code in this package might be transient. Stability is not guaranteed.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Lidar

type Lidar struct {
	Name string
	// contains filtered or unexported fields
}

Lidar represents a LIDAR sensor.

func New

func New(deps resource.Dependencies, sensors []string, sensorIndex int) (Lidar, error)

New creates a new Lidar sensor based on the sensor definition and the service config.

func (Lidar) GetData

func (lidar Lidar) GetData(ctx context.Context) (pointcloud.PointCloud, error)

GetData returns data from the lidar sensor.

Jump to

Keyboard shortcuts

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