LidarLiteV3 Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Lidar Lite v3 is a long-range fixed position distance sensor by Garmin.
public class LidarLiteV3 : IDisposable
type LidarLiteV3 = class
interface IDisposable
Public Class LidarLiteV3
Implements IDisposable
- Inheritance
-
LidarLiteV3
- Implements
Constructors
LidarLiteV3(I2cDevice, GpioController, Int32, Boolean) |
Initialize the LidarLiteV3 |
Fields
DefaultI2cAddress |
Default address for LidarLiteV3 |
Properties
AcquisitionSettings |
Get or set the various settings to control the acquistion behavior. |
AlgorithmBypassThreshold |
Get or set the threshold of peak value that bypasses the internal algorithm. Recommended non-default values are 32 for higher sensitivity but higher erronenous measurement and 96 for reduced sensitivity and fewer erroneous measurements. |
DifferenceBetweenLastTwoDistances |
Get the difference between the current and last measurement resulting in a signed (2's complement) 8-bit number. Positive is away from the device. |
LastDistance |
Get the last distance measurement. |
PowerMode |
Get or set the power control option. |
Status |
Get the system status |
Methods
Dispose() | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. |
MeasureDistance(Boolean) |
Measure distance. |
PowerOff() |
Power off the device if GPIO controller and power enable pin is provided. |
PowerOn() |
Power on the device if GPIO controller and power enable pin is provided. |
Reset() |
Reset FPGA, all registers return to default values |
SetI2cAddressAndDispose(Byte) |
Set a new I2C address and dispose the device. |
SetMeasurementRepetitionMode(MeasurementRepetition, Int32, Int32) |
Set the repetition mode to enable automatic measurement. |
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for