Skip to content

Applying echo filter on scans read from a file. Topics: #Algorithm #Scan #Filtering #Sample #SICK-AppSpace

License

Notifications You must be signed in to change notification settings

SICK-AppSpace-samples-2-2-4/EchoFilter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

EchoFilter

Applying echo filter on scans read from a file

Description

The sample shows the effect of the echo filter on scans read from a file. Every time a new scan is read from the given resource file the Lua function "handleOnNewScan" is called. The next scan, passed as argument, is investigated in the following ways:

  1. The number of beams with non-zero distances are counted for all available echoes and the percentage is printed (see function "countNonZeroBeams").
  2. The input scan is filtered with the EchoFilter with option "LAST". For each beam, this copies the last echo with non-zero distance to the first echo. All other echoes are removed.
  3. The number and the percentage of non-zero distances are counted and printed (see function "countNonZeroBeams")
  4. The changes in distance values between the first echo of the original scan and the filtered scan (which has now only one echo) are shown (see function "compareScans").

Topics

Algorithm, Scan, Filtering, Sample, SICK-AppSpace

About

Applying echo filter on scans read from a file. Topics: #Algorithm #Scan #Filtering #Sample #SICK-AppSpace

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages