Incorrect answer 2-25 when it should be correct.

Kalman filter code

My results are the same as in the description video:

alt text

If i hit sumbit:

alt text

My code is the same as in the solution video. Is it a bug that i can´t get a correct answer? I tried even to line the first numbers row parallel with each other but didn´t manage. Can anyone help me to get a correct answer?

asked 02 Mar '12, 09:19

Martin-1's gravatar image

Martin-1
1211310
accept rate: 0%

retagged 04 Mar '12, 14:12

Alex%20Bravo's gravatar image

Alex Bravo
2.4k143456


5 Answers:

Please print out ONLY the final values of the mean

and the variance in a list [mu, sig].

Your output should be

[10.999906195879419, 4.0058651026392962]

link

answered 02 Mar '12, 09:24

Danil%20Trokhimik's gravatar image

Danil Trokhimik
482718

edited 02 Mar '12, 09:24

you should print only the last result of mu and sig. Do not change the location of the original print command.

link

answered 02 Mar '12, 09:24

Temtsin's gravatar image

Temtsin
3115

Thank you, didn´t pay so much attention what was asked.

link

answered 02 Mar '12, 09:31

Martin-1's gravatar image

Martin-1
1211310

edited 02 Mar '12, 09:31

1

You’re welcome. Pay more attention to homework ;)

(02 Mar '12, 09:39) Danil Trokhimik Danil%20Trokhimik's gravatar image

Feel free to accept the answer.

(02 Mar '12, 11:14) Chad Colgur Chad%20Colgur's gravatar image

Thanks for the answer. But then the video of Pr. Thrun is not correct, because he asks to print exactly as he does !!! Who did not pay attention to the requests ?

link

answered 02 Mar '12, 11:40

Pierre's gravatar image

Pierre
87741331

I also had to change the code of the update function a little bit to

... 1./(1./var1 + 1./var2)

before the answers were correct. Otherwise it seemed to return integers for the variance.

link

answered 04 Mar '12, 16:03

RichardSharpe's gravatar image

RichardSharpe
4615

Your answer
Question text:

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×5,185
×323
×140
×123
×61

Asked: 02 Mar '12, 09:19

Seen: 440 times

Last updated: 04 Mar '12, 16:03