SlideShare ist ein Scribd-Unternehmen logo
1 von 20
Downloaden Sie, um offline zu lesen
© TartanSense
What can Software
learn from Robots
Naman Kumar
1
© TartanSense
● Examples
○ Autonomous Driving
○ Robot Localization
○ Project Management
2
© TartanSense
● Autonomous Driving
3https://www.economist.com/the-economist-explains/2015/05/12/how-does-a-self-driving-car-work
© TartanSense
● Robot Localization
Source: Probabilistic Robotics, Sebastian
Thrun et al. 4
© TartanSense
● Project Management
○ Input:
■ Jira Tasks completed
■ Unit tests passed
■ Integration testing status
■ Code coverage
○ Output: Precise estimate of the project
○ Also, an ability to predict accurately if and when you will
meet the milestone
5
© TartanSense
● TartanSense (Agriculture Robotics)
6
© TartanSense
● TartanSense
7
© TartanSense
● Bayes Filter
○ Terminology
■ X: State
■ Z: Measurement
■ u: Control/ Action
■ t: Timestep
………………..
………………..
X0
X1
’ X1
Xt
’ Xt
u1
Z1
ut
Zt
Source: Probabilistic Robotics, Sebastian
Thrun et al.
8
© TartanSense
● Bayes Filter
○ Estimates a probability density function recursively over time using measurements and some
maths
○
○ Algorithm bayes_filter(bel(xt-1
), ut,
zt
):
■ For all xt
do
● bel’(xt
) = ∫p(xt
| ut
,xt-1
) bel(xt-1
) dx
● bel(xt
) = η p(zt
|xt
) bel’(xt
)
■ Endfor
■ Return bel(xt
) 9
© TartanSense
● But what the heck is a Kalman Filter?
○ It is just a Bayes filter with following conditions:
■ Normally distributed variables
■ Linear transitions
○ To reiterate, it has got two main steps:
■ PREDICT: It generates estimates of the state variables with some
associated uncertainty
■ UPDATE: The new measurements (or data) are incorporated and the
estimates are updated using a weighted average with more weight
given to more certain estimates
10
© TartanSense
● KALMAN FILTER I
11
© TartanSense
● Kalman Filter equations:
○ Next State probability: xt
= At
*xt-1
+ Bt
*ut
+ εt
○ Measurement probability: zt
= Ct
*xt
+ δt
● Kalman Filter Algorithm
○ kalman_filter(μt-1
,Σt-1
,ut
, zt
):
■ μ’t
= At
μt-1
+ Bt
ut
■ Σ’t
= At
Σt-1
AT
t
+ Rt
■ Kt
= Σ’t
CT
t
(Ct
Σ’t
CT
t
+ Qt
)-1
■ μt
= μ’t
+ Kt
(zt
- Ct
μ’t
)
■ Σt
= (I - Kt
Ct
)Σ’t
○ return μt
, Σt
● *K = Error in Prediction /
(Error in Prediction + Error in Measurement)
12
© TartanSense
● Shortcomings of a vanilla Kalman Filter
○ Works only for linear systems
○ Works only for Gaussian noise
○ It can compute beliefs only for continuous states
● Real life Example: Driving home
13
© TartanSense
● Extended Kalman Filter (EKF)
○ Overcomes the linearity assumption. State and measurement probabilities are computed
using nonlinear functions g and h:
■ xt
= g(ut
,xt-1
) + εt
■ zt
= h(xt
) + δt
○ Comparing EKF and KF:
○ What will be the repercussions of this?
■ The belief is no longer gaussian
■ EKF can only calculate an approximate true belief unlike exact belief calculated by KF
14
© TartanSense
● Extended Kalman Filter
○ The key here is the linearization. EKF uses First order Taylor Expansion
○ Algorithm:
Source: Probabilistic Robotics, Sebastian
Thrun et al.
15
© TartanSense
● Where will EKF fail?
○ Lost Robot (Use Sum of Gaussians -> MHEKF)
Source: Probabilistic Robotics, Sebastian
Thrun et al. 16
© TartanSense
● Where will EKF fail?
○ Degree of Nonlinearity
○ Degree of Uncertainty
● Is there a better way to linearize?
○ Unscented Kalman Filter
17
© TartanSense
● Unscented Kalman Filter
○ How can we linearize better?
○ In KF, we have one point (the mean) and we linearize the function around it
○ In UKF, we have a bunch of points and we linearize around them
● When to use what?
○ If you have a linear system, use Kalman Filter
○ If you have a small nonlinear system, use Extended Kalman Filter
○ If you have a highly nonlinear system, use Unscented Kalman Filter
18
© TartanSense
● Alternative to Gaussian Filters: Non-parametric filters
○ Histogram Filters
○ Particle Filters
Source: Probabilistic Robotics, Sebastian
Thrun et al. 19
© TartanSense
Questions/ Thoughts?
20

Weitere ähnliche Inhalte

Kürzlich hochgeladen

Introduction to Serverless with AWS Lambda
Introduction to Serverless with AWS LambdaIntroduction to Serverless with AWS Lambda
Introduction to Serverless with AWS LambdaOmar Fathy
 
2016EF22_0 solar project report rooftop projects
2016EF22_0 solar project report rooftop projects2016EF22_0 solar project report rooftop projects
2016EF22_0 solar project report rooftop projectssmsksolar
 
Thermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VThermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VDineshKumar4165
 
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Bookingdharasingh5698
 
Unit 2- Effective stress & Permeability.pdf
Unit 2- Effective stress & Permeability.pdfUnit 2- Effective stress & Permeability.pdf
Unit 2- Effective stress & Permeability.pdfRagavanV2
 
Unleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leapUnleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leapRishantSharmaFr
 
notes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.pptnotes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.pptMsecMca
 
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night StandCall Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Standamitlee9823
 
Block diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.pptBlock diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.pptNANDHAKUMARA10
 
Thermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.pptThermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.pptDineshKumar4165
 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXssuser89054b
 
Top Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoor
Top Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoorTop Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoor
Top Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoordharasingh5698
 
Employee leave management system project.
Employee leave management system project.Employee leave management system project.
Employee leave management system project.Kamal Acharya
 
University management System project report..pdf
University management System project report..pdfUniversity management System project report..pdf
University management System project report..pdfKamal Acharya
 
Double Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torqueDouble Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torqueBhangaleSonal
 
Design For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the startDesign For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the startQuintin Balsdon
 

Kürzlich hochgeladen (20)

Introduction to Serverless with AWS Lambda
Introduction to Serverless with AWS LambdaIntroduction to Serverless with AWS Lambda
Introduction to Serverless with AWS Lambda
 
2016EF22_0 solar project report rooftop projects
2016EF22_0 solar project report rooftop projects2016EF22_0 solar project report rooftop projects
2016EF22_0 solar project report rooftop projects
 
(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7
(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7
(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7
 
Thermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VThermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - V
 
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
 
Unit 2- Effective stress & Permeability.pdf
Unit 2- Effective stress & Permeability.pdfUnit 2- Effective stress & Permeability.pdf
Unit 2- Effective stress & Permeability.pdf
 
Unleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leapUnleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leap
 
notes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.pptnotes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.ppt
 
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort ServiceCall Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
 
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night StandCall Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
 
Block diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.pptBlock diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.ppt
 
Thermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.pptThermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.ppt
 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
 
Top Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoor
Top Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoorTop Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoor
Top Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoor
 
Employee leave management system project.
Employee leave management system project.Employee leave management system project.
Employee leave management system project.
 
Call Girls in Netaji Nagar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Netaji Nagar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort ServiceCall Girls in Netaji Nagar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Netaji Nagar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
 
(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7
(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7
(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7
 
University management System project report..pdf
University management System project report..pdfUniversity management System project report..pdf
University management System project report..pdf
 
Double Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torqueDouble Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torque
 
Design For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the startDesign For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the start
 

Empfohlen

How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsKurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summarySpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentLily Ray
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project managementMindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...RachelPearson36
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Applitools
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at WorkGetSmarter
 
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...DevGAMM Conference
 
Barbie - Brand Strategy Presentation
Barbie - Brand Strategy PresentationBarbie - Brand Strategy Presentation
Barbie - Brand Strategy PresentationErica Santiago
 
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them well
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them wellGood Stuff Happens in 1:1 Meetings: Why you need them and how to do them well
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them wellSaba Software
 
Introduction to C Programming Language
Introduction to C Programming LanguageIntroduction to C Programming Language
Introduction to C Programming LanguageSimplilearn
 

Empfohlen (20)

How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work
 
ChatGPT webinar slides
ChatGPT webinar slidesChatGPT webinar slides
ChatGPT webinar slides
 
More than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike RoutesMore than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike Routes
 
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
 
Barbie - Brand Strategy Presentation
Barbie - Brand Strategy PresentationBarbie - Brand Strategy Presentation
Barbie - Brand Strategy Presentation
 
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them well
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them wellGood Stuff Happens in 1:1 Meetings: Why you need them and how to do them well
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them well
 
Introduction to C Programming Language
Introduction to C Programming LanguageIntroduction to C Programming Language
Introduction to C Programming Language
 

What can software learn from robots

  • 1. © TartanSense What can Software learn from Robots Naman Kumar 1
  • 2. © TartanSense ● Examples ○ Autonomous Driving ○ Robot Localization ○ Project Management 2
  • 3. © TartanSense ● Autonomous Driving 3https://www.economist.com/the-economist-explains/2015/05/12/how-does-a-self-driving-car-work
  • 4. © TartanSense ● Robot Localization Source: Probabilistic Robotics, Sebastian Thrun et al. 4
  • 5. © TartanSense ● Project Management ○ Input: ■ Jira Tasks completed ■ Unit tests passed ■ Integration testing status ■ Code coverage ○ Output: Precise estimate of the project ○ Also, an ability to predict accurately if and when you will meet the milestone 5
  • 6. © TartanSense ● TartanSense (Agriculture Robotics) 6
  • 8. © TartanSense ● Bayes Filter ○ Terminology ■ X: State ■ Z: Measurement ■ u: Control/ Action ■ t: Timestep ……………….. ……………….. X0 X1 ’ X1 Xt ’ Xt u1 Z1 ut Zt Source: Probabilistic Robotics, Sebastian Thrun et al. 8
  • 9. © TartanSense ● Bayes Filter ○ Estimates a probability density function recursively over time using measurements and some maths ○ ○ Algorithm bayes_filter(bel(xt-1 ), ut, zt ): ■ For all xt do ● bel’(xt ) = ∫p(xt | ut ,xt-1 ) bel(xt-1 ) dx ● bel(xt ) = η p(zt |xt ) bel’(xt ) ■ Endfor ■ Return bel(xt ) 9
  • 10. © TartanSense ● But what the heck is a Kalman Filter? ○ It is just a Bayes filter with following conditions: ■ Normally distributed variables ■ Linear transitions ○ To reiterate, it has got two main steps: ■ PREDICT: It generates estimates of the state variables with some associated uncertainty ■ UPDATE: The new measurements (or data) are incorporated and the estimates are updated using a weighted average with more weight given to more certain estimates 10
  • 12. © TartanSense ● Kalman Filter equations: ○ Next State probability: xt = At *xt-1 + Bt *ut + εt ○ Measurement probability: zt = Ct *xt + δt ● Kalman Filter Algorithm ○ kalman_filter(μt-1 ,Σt-1 ,ut , zt ): ■ μ’t = At μt-1 + Bt ut ■ Σ’t = At Σt-1 AT t + Rt ■ Kt = Σ’t CT t (Ct Σ’t CT t + Qt )-1 ■ μt = μ’t + Kt (zt - Ct μ’t ) ■ Σt = (I - Kt Ct )Σ’t ○ return μt , Σt ● *K = Error in Prediction / (Error in Prediction + Error in Measurement) 12
  • 13. © TartanSense ● Shortcomings of a vanilla Kalman Filter ○ Works only for linear systems ○ Works only for Gaussian noise ○ It can compute beliefs only for continuous states ● Real life Example: Driving home 13
  • 14. © TartanSense ● Extended Kalman Filter (EKF) ○ Overcomes the linearity assumption. State and measurement probabilities are computed using nonlinear functions g and h: ■ xt = g(ut ,xt-1 ) + εt ■ zt = h(xt ) + δt ○ Comparing EKF and KF: ○ What will be the repercussions of this? ■ The belief is no longer gaussian ■ EKF can only calculate an approximate true belief unlike exact belief calculated by KF 14
  • 15. © TartanSense ● Extended Kalman Filter ○ The key here is the linearization. EKF uses First order Taylor Expansion ○ Algorithm: Source: Probabilistic Robotics, Sebastian Thrun et al. 15
  • 16. © TartanSense ● Where will EKF fail? ○ Lost Robot (Use Sum of Gaussians -> MHEKF) Source: Probabilistic Robotics, Sebastian Thrun et al. 16
  • 17. © TartanSense ● Where will EKF fail? ○ Degree of Nonlinearity ○ Degree of Uncertainty ● Is there a better way to linearize? ○ Unscented Kalman Filter 17
  • 18. © TartanSense ● Unscented Kalman Filter ○ How can we linearize better? ○ In KF, we have one point (the mean) and we linearize the function around it ○ In UKF, we have a bunch of points and we linearize around them ● When to use what? ○ If you have a linear system, use Kalman Filter ○ If you have a small nonlinear system, use Extended Kalman Filter ○ If you have a highly nonlinear system, use Unscented Kalman Filter 18
  • 19. © TartanSense ● Alternative to Gaussian Filters: Non-parametric filters ○ Histogram Filters ○ Particle Filters Source: Probabilistic Robotics, Sebastian Thrun et al. 19