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

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 08:40, baue4431
What are the three parts to physical security standards for various types of army equipment and the risk level
Answers: 2
image
Computers and Technology, 23.06.2019 15:30, jokerr6323
1. ask the user how many questions are in the quiz. 2. ask the user to enter the key (that is, the correct answers). there should be one answer for each question in the quiz, and each answer should be an integer. e. g., 34 7 13 100 81 3 9 10 321 12 might be the key for a 10-question quiz. you will need to store the key in an array. 3. ask the user to enter the answers for the quiz to be graded. there needs to be one answer for each question. note that these answers do not need to be stored; each answer can simply be compared to the key as it is entered. 4. when the user has entered all of the answers to be graded, print the number correct and the percent correct. 5. add a loop so that the user can grade any number of quizzes with a single key. after the results have been printed for each quiz, ask "grade another quiz? (y/n)." note: you only have one array (the key). you are not creating a new key for each set of quiz answers.
Answers: 3
image
Computers and Technology, 24.06.2019 18:00, janeou17xn
Which of the following is an example of synchronous communication? a) e-mail b) voicemail c) telephone conversation d) text message.
Answers: 1
image
Computers and Technology, 24.06.2019 23:30, binkyv15
Adrian has decided to subscribe for a new internet connection. he wants a high speed connection so that he can stream video content smoothly. which access technology would you advise adrian against using?
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 in other subjects:

Konu
Mathematics, 25.06.2019 00:00