Skip to content

Instantly share code, notes, and snippets.

@pysco68 pysco68/filter example.cs Secret

Created Aug 28, 2017
What would you like to do?
Staudt engineering Blog / LidaRx examples
// 400mm to 1200mm range
.Where(x => x.Distance >= 400 && x.Distance <= 1200)
// -45° to +45° (scanner azimuth)
.PointsInAzimuthRange(-45, 45)
// group into full revolution scans
.Subscribe(scan =>
Console.WriteLine($"{scan.Count} points in range (scan id: {scan.Scan})");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.