subject

You have been assigned to write filters to reduce noise in the data coming from a LIDAR sensor attached to your robot. The LIDAR generates scans at a certain rate. Each scan is an array of length N of lloat values representing distance measurements. Nis typically in a range of ~[2Dl]. 1000] measurements, and it is fixed. Measured distances are typically in a range of [0.03, 5D] meters. Each time a scan is received. it will be passed on to the filters. Each filter object should have an update method, that takes a length-N array of ranges and retums a filtered length-N array ot ranges.

We want you to write two different filter objects: a A range filter

The range filter crops all the values that are below range_min (resp. above range_max), and replaces them with the range_min value (resp. range_max)

. A temporal median filter The temporal median filter returns the median of the current and the previous D scans: }' Em =median(x.(r), 116— 1), . xfcx — DJ) where x and y are input and output length—N scans and i ranges from D to N—1. The number of previous scans D is a parameter that should be given when creating a new temporal median filter. Note that, although the update method will receive a single scan, the retumed arrayr depends on the values of previous scans. Note also that the for the first D scans, the filter is expected to return the median of all the scans so far.

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 14:30
Hi plz 11 ! when planning a table, what step comes first: "define the column headers" or "calculate the number of columns/rows"? a. calculate the number of columns/rows b. define the column headers
Answers: 1
question
Computers and Technology, 22.06.2019 18:30
Which of the following commands is more recommended while creating a bot?
Answers: 1
question
Computers and Technology, 23.06.2019 15:20
In a game with three frames, where will the objects on layer 1 appear? a. next to the play area b. in the middle of the game c. behind everything else d. in front of everything else
Answers: 1
question
Computers and Technology, 24.06.2019 12:00
Which spreadsheet operation does a look function perform?
Answers: 1
You know the right answer?
You have been assigned to write filters to reduce noise in the data coming from a LIDAR sensor attac...
Questions
question
History, 10.03.2020 07:46
Questions on the website: 13722367