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, 23.06.2019 01:30
In deadlock avoidance using banker’s algorithm, what would be the consequence(s) of: (i) a process declaring its maximum need as maximum possible for each resource. in other words, if a resource a has 5 instances, then each process declares its maximum need as 5. (ii) a process declaring its minimum needs as maximum needs. for example, a process may need 2-5 instances of resource a. but it declares its maximum need as 2.
Answers: 3
question
Computers and Technology, 23.06.2019 01:50
Create a class named majors that includes an enumeration for the six majors offered by a college as follows: acc, chem, cis, eng, his, phys. display the enumeration values for the user, then prompt the user to enter a major. display the college division in which the major falls. acc and cis are in the business division, chem and phys are in the science division, and eng and his are in the humanities division. save the file as majors.java.
Answers: 2
question
Computers and Technology, 23.06.2019 13:30
Stops: using the information learned in this course, explain three things you will not do when driving. a. b. c. explain why you will not do these things when driving. starts: using the information learned in this course, explain three things you will do when driving. a. b. c. explain why you will do these particular things when driving. explain one thing you will stop doing as a passenger. explain one thing you will start doing as a passenger.
Answers: 3
question
Computers and Technology, 23.06.2019 20:00
Me ajude por favor , coloquei uma senha e não consigo tira-la no chorme
Answers: 2
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
English, 02.11.2020 20:20
question
Mathematics, 02.11.2020 20:20
question
Arts, 02.11.2020 20:20
question
Mathematics, 02.11.2020 20:20
Questions on the website: 13722362