lidar

package
v0.3.19 Latest Latest
Warning

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

Go to latest
Published: Jul 5, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package lidar implements the Lidar sensor.

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