Staudt engineering Blog / LidaRx examples
scanner.OnlyLidarPoints() | |
// 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 | |
.BufferByScan() | |
.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