SlideShare a Scribd company logo
1 of 29
Download to read offline
Graph-based SLAM
Pranav Srinivas Kumar
Introduction
● Learning maps under pose uncertainty is SLAM
● Filtering approaches (Kalman filters, information filters)
○ Online state estimation (state = current robot position and the map) - usually called online SLAM
○ Estimation is refined by incorporating the new measurements
● Smoothing approaches
○ Estimate the full trajectory of the robot from the full set of measurements - usually called full SLAM
○ Least-square error minimization techniques
Dense Map Representations for 3D and 2D
3D map acquired with
instrumented car
Point-cloud map and relative
satellite image
Occupancy Grid
Landmark-based Map
German Aerospace Center
Graph-based SLAM
● Use a graph to represent the problem
● Every node in the graph corresponds to a pose of the robot during mapping
● Every edge between two nodes corresponds to a spatial constraint between them
● Graph-Based SLAM: Build a graph and find a node configuration that minimize the
error introduced by the constraints
Graph-based SLAM
● Robot pose (robot position + orientation)
● Constraints on the poses relative to another
● Example in 2D
○ State
○ For some translation
s0
s1
s2
s3
s4
s5
Edge Constraints
Edge Constraint
Product of Gaussians
● Maximize the likelihood of position
given the initial position constraint
Graph-based SLAM
● Define probabilities as a sequence of constraints
● Initial Location Constraints
● Relative Motion Constraints
● Relative Measurement Constraints
● Find the most likely robot trajectory given the constraints
Creating Edges - Odometry Measurement
● Robot moves from
● Based on Odometry
○ Robot can estimate where it *should* be
○ Motion follows the kinematic model that the robot has about itself
○ Counting translational steering, rotational steering etc.
○ Mean estimate of where the robot has been moving from i to i+1
○ Encodes relative pose information
■ How can be seen from
■ How can be seen from s0
s1
Edge represents
odometry measurement
(wheel rotation)
Creating Edges - Arbitrary Poses - Loop Closure
● Robot observes the same environment from and
● Relate this information using sensor data
● Virtual measurement
○ Where *should be* as seen from
si
sj
si
sj
Edge represents
position of sj
as seen from si
based on the observation
Alignment Procedure
(e.g., Iterative Closest Point,
8-point Algorithm)
Spatial Transformations
● Homogeneous coordinates
○ System in Projective Geometry
○ Single Matrix
○ Affine and Projective Transformations
● Odometry-based Edge
● Observation-based Edge
General Transformation Matrix
Rotation Matrix
Translation Matrix
Error Function
● Given a state, we can compute what we expect to perceive
● We have real observations relating the nodes with each other
Find a configuration of the nodes so that the real and
predicted observations are as similar as possible
● Relative transformation (according to odometry) as measurement
● If two poses are exactly the same,
● 2 sequences → 2 unconnected pose graphs
● Adding loop closure edges connects poses across sequences
● Error in the loop
Total Likelihood
● Set of independent and identically distributed points
● Total likelihood is the product of likelihood of each point
where are the model parameters: vector of means and covariance matrix
● In the multivariate Gaussian case,
Log Likelihood
● If we use the log of likelihood, we end up with a sum instead of a product
● In the Gaussian case
Weighted Error Function
● Uncertainties in spatial loop closure and odometry constraints
● Weighted error function - a sum of squared non-linear terms
● Minimization problem
● Find values of for which the error is small
○ The whole state vector needs to be changed
○ Changing the pose of one node is not sufficient
Gauss-Newton - Error Minimization Procedure
1. Define the error function
2. Linearize the error function
3. Compute its derivative
4. Set the derivative to zero
5. Solve the linear system
6. Iterate the procedure until convergence
Linearizing the Error Function
● Approximate the error around an initial guess via Taylor expansion
● Does one error term depend on all state variables?
○ In the SLAM problem, the answer is NO
○ This error term only relates the 2 poses/variables to which this edge is connected
● What is the structure of the Jacobian?
Jacobian - Partial Derivatives of Error Function
● Non-zero only in rows corresponding to and
Sparse Jacobian
Local Approximation of Error Function
Linearized System
● Quadratic form can be minimized in by solving
● Linearized Solution: Add initial guess with computed increments
Example: H Matrix
s0
s1
s2
s3
s4
s5
Example: Loop Closure
● Red not in state vector
● Shows mismatch in the information about
that node
s0
s1
s2
s3
s4
s5
s5
s5
Constructed
from
odometry
Constructed
from
observation
sensor
Loop closure
edge
Example: Linear System Construction after Loop Closure
● Diagonal Elements - Accumulated value of different edges
○ Total probability of correctness of that node in the graph
● Off-Diagonal Elements
○ Probability of correctness of two poses relative to each other
Online SLAM - Graph Pruning
● Size of the H matrix grows linearly with the number of poses
○ Add a new odometry pose? Expand the matrix by 1 row + 1 column
● Running “full” graph-based SLAM online - Prune the graph
○ Fix the memory - The number of poses remembered by the graph
Integrate away the variable - Second-oldest pose
Algorithm
Trivial 1D Example
s0
s1
Role of a Prior
● Constraints are relative
● We don’t know where and actually are in a global reference frame
● One node needs to be fixed - Create a ‘prior’ node
○ Constraint of a gaussian distribution
○ Fixes the first node as the reference frame with a certain uncertainty
○ Additional constraint to our H matrix, setting
● Updated State Vector
References
● G. Grisetti, R. Kümmerle, C. Stachniss and W. Burgard, "A Tutorial on Graph-Based SLAM," in IEEE
Intelligent Transportation Systems Magazine, vol. 2, no. 4, pp. 31-43, winter 2010, doi:
10.1109/MITS.2010.939925.
● Appel, R.N. and Folmer, H.H (2016) “Analysis, optimization, and design of a SLAM solution for an
implementation on reconfigurable hardware (FPGA) using CλaSH.”
● C. Cadena et al., "Past, Present, and Future of Simultaneous Localization and Mapping: Toward the
Robust-Perception Age," in IEEE Transactions on Robotics, vol. 32, no. 6, pp. 1309-1332, Dec. 2016,
doi: 10.1109/TRO.2016.2624754
● Thrun S, Montemerlo M. “The Graph SLAM Algorithm with Applications to Large-Scale Mapping of
Urban Structures”. The International Journal of Robotics Research. 2006;25(5-6):403-429.
doi:10.1177/0278364906065387
● Cyrill Stachniss, “Graph-based SLAM using Pose Graphs (Cyrill Stachniss, 2020)”
https://www.youtube.com/watch?v=uHbRKvD8TWg

More Related Content

What's hot

論文読み会2018 (CodeSLAM)
論文読み会2018 (CodeSLAM)論文読み会2018 (CodeSLAM)
論文読み会2018 (CodeSLAM)Masaya Kaneko
 
입문 Visual SLAM 14강 - 2장 Introduction to slam
입문 Visual SLAM 14강  - 2장 Introduction to slam입문 Visual SLAM 14강  - 2장 Introduction to slam
입문 Visual SLAM 14강 - 2장 Introduction to slamjdo
 
Introductory Level of SLAM Seminar
Introductory Level of SLAM SeminarIntroductory Level of SLAM Seminar
Introductory Level of SLAM SeminarDong-Won Shin
 
Visual SLAM: Why Bundle Adjust?の解説(第4回3D勉強会@関東)
Visual SLAM: Why Bundle Adjust?の解説(第4回3D勉強会@関東)Visual SLAM: Why Bundle Adjust?の解説(第4回3D勉強会@関東)
Visual SLAM: Why Bundle Adjust?の解説(第4回3D勉強会@関東)Masaya Kaneko
 
Visual odometry presentation_without_video
Visual odometry presentation_without_videoVisual odometry presentation_without_video
Visual odometry presentation_without_videoIan Sa
 
Active contour segmentation
Active contour segmentationActive contour segmentation
Active contour segmentationNishant Jain
 
Content based image retrieval(cbir)
Content based image retrieval(cbir)Content based image retrieval(cbir)
Content based image retrieval(cbir)paddu123
 
LSD-SLAM:Large Scale Direct Monocular SLAM
LSD-SLAM:Large Scale Direct Monocular SLAMLSD-SLAM:Large Scale Direct Monocular SLAM
LSD-SLAM:Large Scale Direct Monocular SLAMEndoYuuki
 
2014.02.20_5章ニューラルネットワーク
2014.02.20_5章ニューラルネットワーク2014.02.20_5章ニューラルネットワーク
2014.02.20_5章ニューラルネットワークTakeshi Sakaki
 
Object tracking presentation
Object tracking  presentationObject tracking  presentation
Object tracking presentationMrsShwetaBanait1
 
[DL輪読会]YOLOv4: Optimal Speed and Accuracy of Object Detection
[DL輪読会]YOLOv4: Optimal Speed and Accuracy of Object Detection[DL輪読会]YOLOv4: Optimal Speed and Accuracy of Object Detection
[DL輪読会]YOLOv4: Optimal Speed and Accuracy of Object DetectionDeep Learning JP
 
SLAMチュートリアル大会資料(ORB-SLAM)
SLAMチュートリアル大会資料(ORB-SLAM)SLAMチュートリアル大会資料(ORB-SLAM)
SLAMチュートリアル大会資料(ORB-SLAM)Masaya Kaneko
 
高速な物体候補領域提案手法 (Fast Object Proposal Methods)
高速な物体候補領域提案手法 (Fast Object Proposal Methods)高速な物体候補領域提案手法 (Fast Object Proposal Methods)
高速な物体候補領域提案手法 (Fast Object Proposal Methods)Takao Yamanaka
 
NeRF: Representing Scenes as Neural Radiance Fields for View Synthesis
NeRF: Representing Scenes as Neural Radiance Fields for View Synthesis NeRF: Representing Scenes as Neural Radiance Fields for View Synthesis
NeRF: Representing Scenes as Neural Radiance Fields for View Synthesis taeseon ryu
 
Computer Vision - RANSAC
Computer Vision - RANSACComputer Vision - RANSAC
Computer Vision - RANSACWael Badawy
 

What's hot (20)

Hog
HogHog
Hog
 
Recurrent Neural Networks
Recurrent Neural NetworksRecurrent Neural Networks
Recurrent Neural Networks
 
Hog and sift
Hog and siftHog and sift
Hog and sift
 
Structure from Motion
Structure from MotionStructure from Motion
Structure from Motion
 
論文読み会2018 (CodeSLAM)
論文読み会2018 (CodeSLAM)論文読み会2018 (CodeSLAM)
論文読み会2018 (CodeSLAM)
 
입문 Visual SLAM 14강 - 2장 Introduction to slam
입문 Visual SLAM 14강  - 2장 Introduction to slam입문 Visual SLAM 14강  - 2장 Introduction to slam
입문 Visual SLAM 14강 - 2장 Introduction to slam
 
Introductory Level of SLAM Seminar
Introductory Level of SLAM SeminarIntroductory Level of SLAM Seminar
Introductory Level of SLAM Seminar
 
Introduction of slam
Introduction of slamIntroduction of slam
Introduction of slam
 
Visual SLAM: Why Bundle Adjust?の解説(第4回3D勉強会@関東)
Visual SLAM: Why Bundle Adjust?の解説(第4回3D勉強会@関東)Visual SLAM: Why Bundle Adjust?の解説(第4回3D勉強会@関東)
Visual SLAM: Why Bundle Adjust?の解説(第4回3D勉強会@関東)
 
Visual odometry presentation_without_video
Visual odometry presentation_without_videoVisual odometry presentation_without_video
Visual odometry presentation_without_video
 
Active contour segmentation
Active contour segmentationActive contour segmentation
Active contour segmentation
 
Content based image retrieval(cbir)
Content based image retrieval(cbir)Content based image retrieval(cbir)
Content based image retrieval(cbir)
 
LSD-SLAM:Large Scale Direct Monocular SLAM
LSD-SLAM:Large Scale Direct Monocular SLAMLSD-SLAM:Large Scale Direct Monocular SLAM
LSD-SLAM:Large Scale Direct Monocular SLAM
 
2014.02.20_5章ニューラルネットワーク
2014.02.20_5章ニューラルネットワーク2014.02.20_5章ニューラルネットワーク
2014.02.20_5章ニューラルネットワーク
 
Object tracking presentation
Object tracking  presentationObject tracking  presentation
Object tracking presentation
 
[DL輪読会]YOLOv4: Optimal Speed and Accuracy of Object Detection
[DL輪読会]YOLOv4: Optimal Speed and Accuracy of Object Detection[DL輪読会]YOLOv4: Optimal Speed and Accuracy of Object Detection
[DL輪読会]YOLOv4: Optimal Speed and Accuracy of Object Detection
 
SLAMチュートリアル大会資料(ORB-SLAM)
SLAMチュートリアル大会資料(ORB-SLAM)SLAMチュートリアル大会資料(ORB-SLAM)
SLAMチュートリアル大会資料(ORB-SLAM)
 
高速な物体候補領域提案手法 (Fast Object Proposal Methods)
高速な物体候補領域提案手法 (Fast Object Proposal Methods)高速な物体候補領域提案手法 (Fast Object Proposal Methods)
高速な物体候補領域提案手法 (Fast Object Proposal Methods)
 
NeRF: Representing Scenes as Neural Radiance Fields for View Synthesis
NeRF: Representing Scenes as Neural Radiance Fields for View Synthesis NeRF: Representing Scenes as Neural Radiance Fields for View Synthesis
NeRF: Representing Scenes as Neural Radiance Fields for View Synthesis
 
Computer Vision - RANSAC
Computer Vision - RANSACComputer Vision - RANSAC
Computer Vision - RANSAC
 

Similar to Graph-based SLAM

Dexterous In-hand Manipulation by OpenAI
Dexterous In-hand Manipulation by OpenAIDexterous In-hand Manipulation by OpenAI
Dexterous In-hand Manipulation by OpenAIAnand Joshi
 
eric-yilin cv presentation
eric-yilin cv presentationeric-yilin cv presentation
eric-yilin cv presentationYujia Huang
 
Machine Learning Applications in Subsurface Analysis: Case Study in North Sea
Machine Learning Applications in Subsurface Analysis: Case Study in North SeaMachine Learning Applications in Subsurface Analysis: Case Study in North Sea
Machine Learning Applications in Subsurface Analysis: Case Study in North SeaYohanes Nuwara
 
PRM-RL: Long-range Robotics Navigation Tasks by Combining Reinforcement Learn...
PRM-RL: Long-range Robotics Navigation Tasks by Combining Reinforcement Learn...PRM-RL: Long-range Robotics Navigation Tasks by Combining Reinforcement Learn...
PRM-RL: Long-range Robotics Navigation Tasks by Combining Reinforcement Learn...Dongmin Lee
 
SHARP - A parallel algorithm for shape recognition
SHARP - A parallel algorithm for shape recognitionSHARP - A parallel algorithm for shape recognition
SHARP - A parallel algorithm for shape recognitionLeonardo Arcari
 
Grid generation and adaptive refinement
Grid generation and adaptive refinementGrid generation and adaptive refinement
Grid generation and adaptive refinementGoran Rakic
 
Multiple UGV SLAM Map Sharing
Multiple UGV SLAM Map SharingMultiple UGV SLAM Map Sharing
Multiple UGV SLAM Map SharingAkash Borate
 
Optimizing Deep Networks (D1L6 Insight@DCU Machine Learning Workshop 2017)
Optimizing Deep Networks (D1L6 Insight@DCU Machine Learning Workshop 2017)Optimizing Deep Networks (D1L6 Insight@DCU Machine Learning Workshop 2017)
Optimizing Deep Networks (D1L6 Insight@DCU Machine Learning Workshop 2017)Universitat Politècnica de Catalunya
 
Optimization for Deep Networks (D2L1 2017 UPC Deep Learning for Computer Vision)
Optimization for Deep Networks (D2L1 2017 UPC Deep Learning for Computer Vision)Optimization for Deep Networks (D2L1 2017 UPC Deep Learning for Computer Vision)
Optimization for Deep Networks (D2L1 2017 UPC Deep Learning for Computer Vision)Universitat Politècnica de Catalunya
 
Prediction of route and destination intent shibumon alampatta
Prediction of route and destination intent  shibumon alampattaPrediction of route and destination intent  shibumon alampatta
Prediction of route and destination intent shibumon alampattaShibu Alampatta
 
A Unified PDE model for image multi-phase segmentation and grey-scale inpaint...
A Unified PDE model for image multi-phase segmentation and grey-scale inpaint...A Unified PDE model for image multi-phase segmentation and grey-scale inpaint...
A Unified PDE model for image multi-phase segmentation and grey-scale inpaint...vijayakrishna rowthu
 
Pregel: A System For Large Scale Graph Processing
Pregel: A System For Large Scale Graph ProcessingPregel: A System For Large Scale Graph Processing
Pregel: A System For Large Scale Graph ProcessingRiyad Parvez
 
Robotics:The computational motion planning:: Sampling based algorithms
Robotics:The computational motion planning:: Sampling based algorithmsRobotics:The computational motion planning:: Sampling based algorithms
Robotics:The computational motion planning:: Sampling based algorithmsPRAVEENTALARI4
 
Building 3D Morphable Models from 2D Images
Building 3D Morphable Models from 2D ImagesBuilding 3D Morphable Models from 2D Images
Building 3D Morphable Models from 2D ImagesShanglin Yang
 
06 image features
06 image features06 image features
06 image featuresankit_ppt
 

Similar to Graph-based SLAM (20)

Dexterous In-hand Manipulation by OpenAI
Dexterous In-hand Manipulation by OpenAIDexterous In-hand Manipulation by OpenAI
Dexterous In-hand Manipulation by OpenAI
 
eric-yilin cv presentation
eric-yilin cv presentationeric-yilin cv presentation
eric-yilin cv presentation
 
Machine Learning Applications in Subsurface Analysis: Case Study in North Sea
Machine Learning Applications in Subsurface Analysis: Case Study in North SeaMachine Learning Applications in Subsurface Analysis: Case Study in North Sea
Machine Learning Applications in Subsurface Analysis: Case Study in North Sea
 
PRM-RL: Long-range Robotics Navigation Tasks by Combining Reinforcement Learn...
PRM-RL: Long-range Robotics Navigation Tasks by Combining Reinforcement Learn...PRM-RL: Long-range Robotics Navigation Tasks by Combining Reinforcement Learn...
PRM-RL: Long-range Robotics Navigation Tasks by Combining Reinforcement Learn...
 
SHARP - A parallel algorithm for shape recognition
SHARP - A parallel algorithm for shape recognitionSHARP - A parallel algorithm for shape recognition
SHARP - A parallel algorithm for shape recognition
 
Grid generation and adaptive refinement
Grid generation and adaptive refinementGrid generation and adaptive refinement
Grid generation and adaptive refinement
 
Multiple UGV SLAM Map Sharing
Multiple UGV SLAM Map SharingMultiple UGV SLAM Map Sharing
Multiple UGV SLAM Map Sharing
 
Optimizing Deep Networks (D1L6 Insight@DCU Machine Learning Workshop 2017)
Optimizing Deep Networks (D1L6 Insight@DCU Machine Learning Workshop 2017)Optimizing Deep Networks (D1L6 Insight@DCU Machine Learning Workshop 2017)
Optimizing Deep Networks (D1L6 Insight@DCU Machine Learning Workshop 2017)
 
Deep Learning for Computer Vision: Optimization (UPC 2016)
Deep Learning for Computer Vision: Optimization (UPC 2016)Deep Learning for Computer Vision: Optimization (UPC 2016)
Deep Learning for Computer Vision: Optimization (UPC 2016)
 
Optimization for Deep Networks (D2L1 2017 UPC Deep Learning for Computer Vision)
Optimization for Deep Networks (D2L1 2017 UPC Deep Learning for Computer Vision)Optimization for Deep Networks (D2L1 2017 UPC Deep Learning for Computer Vision)
Optimization for Deep Networks (D2L1 2017 UPC Deep Learning for Computer Vision)
 
Prediction of route and destination intent shibumon alampatta
Prediction of route and destination intent  shibumon alampattaPrediction of route and destination intent  shibumon alampatta
Prediction of route and destination intent shibumon alampatta
 
Robotics Localization
Robotics LocalizationRobotics Localization
Robotics Localization
 
A Unified PDE model for image multi-phase segmentation and grey-scale inpaint...
A Unified PDE model for image multi-phase segmentation and grey-scale inpaint...A Unified PDE model for image multi-phase segmentation and grey-scale inpaint...
A Unified PDE model for image multi-phase segmentation and grey-scale inpaint...
 
Pregel: A System For Large Scale Graph Processing
Pregel: A System For Large Scale Graph ProcessingPregel: A System For Large Scale Graph Processing
Pregel: A System For Large Scale Graph Processing
 
Distributed ADMM
Distributed ADMMDistributed ADMM
Distributed ADMM
 
Robotics:The computational motion planning:: Sampling based algorithms
Robotics:The computational motion planning:: Sampling based algorithmsRobotics:The computational motion planning:: Sampling based algorithms
Robotics:The computational motion planning:: Sampling based algorithms
 
Building 3D Morphable Models from 2D Images
Building 3D Morphable Models from 2D ImagesBuilding 3D Morphable Models from 2D Images
Building 3D Morphable Models from 2D Images
 
Making Complex Decisions(Artificial Intelligence)
Making Complex Decisions(Artificial Intelligence)Making Complex Decisions(Artificial Intelligence)
Making Complex Decisions(Artificial Intelligence)
 
OpenGL Transformations
OpenGL TransformationsOpenGL Transformations
OpenGL Transformations
 
06 image features
06 image features06 image features
06 image features
 

Recently uploaded

Traditional Agroforestry System in India- Shifting Cultivation, Taungya, Home...
Traditional Agroforestry System in India- Shifting Cultivation, Taungya, Home...Traditional Agroforestry System in India- Shifting Cultivation, Taungya, Home...
Traditional Agroforestry System in India- Shifting Cultivation, Taungya, Home...jana861314
 
The Black hole shadow in Modified Gravity
The Black hole shadow in Modified GravityThe Black hole shadow in Modified Gravity
The Black hole shadow in Modified GravitySubhadipsau21168
 
Grafana in space: Monitoring Japan's SLIM moon lander in real time
Grafana in space: Monitoring Japan's SLIM moon lander  in real timeGrafana in space: Monitoring Japan's SLIM moon lander  in real time
Grafana in space: Monitoring Japan's SLIM moon lander in real timeSatoshi NAKAHIRA
 
BIOETHICS IN RECOMBINANT DNA TECHNOLOGY.
BIOETHICS IN RECOMBINANT DNA TECHNOLOGY.BIOETHICS IN RECOMBINANT DNA TECHNOLOGY.
BIOETHICS IN RECOMBINANT DNA TECHNOLOGY.PraveenaKalaiselvan1
 
Artificial Intelligence In Microbiology by Dr. Prince C P
Artificial Intelligence In Microbiology by Dr. Prince C PArtificial Intelligence In Microbiology by Dr. Prince C P
Artificial Intelligence In Microbiology by Dr. Prince C PPRINCE C P
 
Analytical Profile of Coleus Forskohlii | Forskolin .pdf
Analytical Profile of Coleus Forskohlii | Forskolin .pdfAnalytical Profile of Coleus Forskohlii | Forskolin .pdf
Analytical Profile of Coleus Forskohlii | Forskolin .pdfSwapnil Therkar
 
SOLUBLE PATTERN RECOGNITION RECEPTORS.pptx
SOLUBLE PATTERN RECOGNITION RECEPTORS.pptxSOLUBLE PATTERN RECOGNITION RECEPTORS.pptx
SOLUBLE PATTERN RECOGNITION RECEPTORS.pptxkessiyaTpeter
 
Bentham & Hooker's Classification. along with the merits and demerits of the ...
Bentham & Hooker's Classification. along with the merits and demerits of the ...Bentham & Hooker's Classification. along with the merits and demerits of the ...
Bentham & Hooker's Classification. along with the merits and demerits of the ...Nistarini College, Purulia (W.B) India
 
Luciferase in rDNA technology (biotechnology).pptx
Luciferase in rDNA technology (biotechnology).pptxLuciferase in rDNA technology (biotechnology).pptx
Luciferase in rDNA technology (biotechnology).pptxAleenaTreesaSaji
 
GFP in rDNA Technology (Biotechnology).pptx
GFP in rDNA Technology (Biotechnology).pptxGFP in rDNA Technology (Biotechnology).pptx
GFP in rDNA Technology (Biotechnology).pptxAleenaTreesaSaji
 
Scheme-of-Work-Science-Stage-4 cambridge science.docx
Scheme-of-Work-Science-Stage-4 cambridge science.docxScheme-of-Work-Science-Stage-4 cambridge science.docx
Scheme-of-Work-Science-Stage-4 cambridge science.docxyaramohamed343013
 
Physiochemical properties of nanomaterials and its nanotoxicity.pptx
Physiochemical properties of nanomaterials and its nanotoxicity.pptxPhysiochemical properties of nanomaterials and its nanotoxicity.pptx
Physiochemical properties of nanomaterials and its nanotoxicity.pptxAArockiyaNisha
 
Disentangling the origin of chemical differences using GHOST
Disentangling the origin of chemical differences using GHOSTDisentangling the origin of chemical differences using GHOST
Disentangling the origin of chemical differences using GHOSTSérgio Sacani
 
zoogeography of pakistan.pptx fauna of Pakistan
zoogeography of pakistan.pptx fauna of Pakistanzoogeography of pakistan.pptx fauna of Pakistan
zoogeography of pakistan.pptx fauna of Pakistanzohaibmir069
 
TOPIC 8 Temperature and Heat.pdf physics
TOPIC 8 Temperature and Heat.pdf physicsTOPIC 8 Temperature and Heat.pdf physics
TOPIC 8 Temperature and Heat.pdf physicsssuserddc89b
 
Orientation, design and principles of polyhouse
Orientation, design and principles of polyhouseOrientation, design and principles of polyhouse
Orientation, design and principles of polyhousejana861314
 
CALL ON ➥8923113531 🔝Call Girls Kesar Bagh Lucknow best Night Fun service 🪡
CALL ON ➥8923113531 🔝Call Girls Kesar Bagh Lucknow best Night Fun service  🪡CALL ON ➥8923113531 🔝Call Girls Kesar Bagh Lucknow best Night Fun service  🪡
CALL ON ➥8923113531 🔝Call Girls Kesar Bagh Lucknow best Night Fun service 🪡anilsa9823
 
All-domain Anomaly Resolution Office U.S. Department of Defense (U) Case: “Eg...
All-domain Anomaly Resolution Office U.S. Department of Defense (U) Case: “Eg...All-domain Anomaly Resolution Office U.S. Department of Defense (U) Case: “Eg...
All-domain Anomaly Resolution Office U.S. Department of Defense (U) Case: “Eg...Sérgio Sacani
 
Module 4: Mendelian Genetics and Punnett Square
Module 4:  Mendelian Genetics and Punnett SquareModule 4:  Mendelian Genetics and Punnett Square
Module 4: Mendelian Genetics and Punnett SquareIsiahStephanRadaza
 

Recently uploaded (20)

Traditional Agroforestry System in India- Shifting Cultivation, Taungya, Home...
Traditional Agroforestry System in India- Shifting Cultivation, Taungya, Home...Traditional Agroforestry System in India- Shifting Cultivation, Taungya, Home...
Traditional Agroforestry System in India- Shifting Cultivation, Taungya, Home...
 
The Black hole shadow in Modified Gravity
The Black hole shadow in Modified GravityThe Black hole shadow in Modified Gravity
The Black hole shadow in Modified Gravity
 
Grafana in space: Monitoring Japan's SLIM moon lander in real time
Grafana in space: Monitoring Japan's SLIM moon lander  in real timeGrafana in space: Monitoring Japan's SLIM moon lander  in real time
Grafana in space: Monitoring Japan's SLIM moon lander in real time
 
BIOETHICS IN RECOMBINANT DNA TECHNOLOGY.
BIOETHICS IN RECOMBINANT DNA TECHNOLOGY.BIOETHICS IN RECOMBINANT DNA TECHNOLOGY.
BIOETHICS IN RECOMBINANT DNA TECHNOLOGY.
 
Artificial Intelligence In Microbiology by Dr. Prince C P
Artificial Intelligence In Microbiology by Dr. Prince C PArtificial Intelligence In Microbiology by Dr. Prince C P
Artificial Intelligence In Microbiology by Dr. Prince C P
 
Analytical Profile of Coleus Forskohlii | Forskolin .pdf
Analytical Profile of Coleus Forskohlii | Forskolin .pdfAnalytical Profile of Coleus Forskohlii | Forskolin .pdf
Analytical Profile of Coleus Forskohlii | Forskolin .pdf
 
The Philosophy of Science
The Philosophy of ScienceThe Philosophy of Science
The Philosophy of Science
 
SOLUBLE PATTERN RECOGNITION RECEPTORS.pptx
SOLUBLE PATTERN RECOGNITION RECEPTORS.pptxSOLUBLE PATTERN RECOGNITION RECEPTORS.pptx
SOLUBLE PATTERN RECOGNITION RECEPTORS.pptx
 
Bentham & Hooker's Classification. along with the merits and demerits of the ...
Bentham & Hooker's Classification. along with the merits and demerits of the ...Bentham & Hooker's Classification. along with the merits and demerits of the ...
Bentham & Hooker's Classification. along with the merits and demerits of the ...
 
Luciferase in rDNA technology (biotechnology).pptx
Luciferase in rDNA technology (biotechnology).pptxLuciferase in rDNA technology (biotechnology).pptx
Luciferase in rDNA technology (biotechnology).pptx
 
GFP in rDNA Technology (Biotechnology).pptx
GFP in rDNA Technology (Biotechnology).pptxGFP in rDNA Technology (Biotechnology).pptx
GFP in rDNA Technology (Biotechnology).pptx
 
Scheme-of-Work-Science-Stage-4 cambridge science.docx
Scheme-of-Work-Science-Stage-4 cambridge science.docxScheme-of-Work-Science-Stage-4 cambridge science.docx
Scheme-of-Work-Science-Stage-4 cambridge science.docx
 
Physiochemical properties of nanomaterials and its nanotoxicity.pptx
Physiochemical properties of nanomaterials and its nanotoxicity.pptxPhysiochemical properties of nanomaterials and its nanotoxicity.pptx
Physiochemical properties of nanomaterials and its nanotoxicity.pptx
 
Disentangling the origin of chemical differences using GHOST
Disentangling the origin of chemical differences using GHOSTDisentangling the origin of chemical differences using GHOST
Disentangling the origin of chemical differences using GHOST
 
zoogeography of pakistan.pptx fauna of Pakistan
zoogeography of pakistan.pptx fauna of Pakistanzoogeography of pakistan.pptx fauna of Pakistan
zoogeography of pakistan.pptx fauna of Pakistan
 
TOPIC 8 Temperature and Heat.pdf physics
TOPIC 8 Temperature and Heat.pdf physicsTOPIC 8 Temperature and Heat.pdf physics
TOPIC 8 Temperature and Heat.pdf physics
 
Orientation, design and principles of polyhouse
Orientation, design and principles of polyhouseOrientation, design and principles of polyhouse
Orientation, design and principles of polyhouse
 
CALL ON ➥8923113531 🔝Call Girls Kesar Bagh Lucknow best Night Fun service 🪡
CALL ON ➥8923113531 🔝Call Girls Kesar Bagh Lucknow best Night Fun service  🪡CALL ON ➥8923113531 🔝Call Girls Kesar Bagh Lucknow best Night Fun service  🪡
CALL ON ➥8923113531 🔝Call Girls Kesar Bagh Lucknow best Night Fun service 🪡
 
All-domain Anomaly Resolution Office U.S. Department of Defense (U) Case: “Eg...
All-domain Anomaly Resolution Office U.S. Department of Defense (U) Case: “Eg...All-domain Anomaly Resolution Office U.S. Department of Defense (U) Case: “Eg...
All-domain Anomaly Resolution Office U.S. Department of Defense (U) Case: “Eg...
 
Module 4: Mendelian Genetics and Punnett Square
Module 4:  Mendelian Genetics and Punnett SquareModule 4:  Mendelian Genetics and Punnett Square
Module 4: Mendelian Genetics and Punnett Square
 

Graph-based SLAM

  • 2. Introduction ● Learning maps under pose uncertainty is SLAM ● Filtering approaches (Kalman filters, information filters) ○ Online state estimation (state = current robot position and the map) - usually called online SLAM ○ Estimation is refined by incorporating the new measurements ● Smoothing approaches ○ Estimate the full trajectory of the robot from the full set of measurements - usually called full SLAM ○ Least-square error minimization techniques
  • 3. Dense Map Representations for 3D and 2D 3D map acquired with instrumented car Point-cloud map and relative satellite image Occupancy Grid
  • 5. Graph-based SLAM ● Use a graph to represent the problem ● Every node in the graph corresponds to a pose of the robot during mapping ● Every edge between two nodes corresponds to a spatial constraint between them ● Graph-Based SLAM: Build a graph and find a node configuration that minimize the error introduced by the constraints
  • 6. Graph-based SLAM ● Robot pose (robot position + orientation) ● Constraints on the poses relative to another ● Example in 2D ○ State ○ For some translation s0 s1 s2 s3 s4 s5
  • 7. Edge Constraints Edge Constraint Product of Gaussians ● Maximize the likelihood of position given the initial position constraint
  • 8. Graph-based SLAM ● Define probabilities as a sequence of constraints ● Initial Location Constraints ● Relative Motion Constraints ● Relative Measurement Constraints ● Find the most likely robot trajectory given the constraints
  • 9. Creating Edges - Odometry Measurement ● Robot moves from ● Based on Odometry ○ Robot can estimate where it *should* be ○ Motion follows the kinematic model that the robot has about itself ○ Counting translational steering, rotational steering etc. ○ Mean estimate of where the robot has been moving from i to i+1 ○ Encodes relative pose information ■ How can be seen from ■ How can be seen from s0 s1 Edge represents odometry measurement (wheel rotation)
  • 10. Creating Edges - Arbitrary Poses - Loop Closure ● Robot observes the same environment from and ● Relate this information using sensor data ● Virtual measurement ○ Where *should be* as seen from si sj si sj Edge represents position of sj as seen from si based on the observation Alignment Procedure (e.g., Iterative Closest Point, 8-point Algorithm)
  • 11. Spatial Transformations ● Homogeneous coordinates ○ System in Projective Geometry ○ Single Matrix ○ Affine and Projective Transformations ● Odometry-based Edge ● Observation-based Edge General Transformation Matrix Rotation Matrix Translation Matrix
  • 12. Error Function ● Given a state, we can compute what we expect to perceive ● We have real observations relating the nodes with each other Find a configuration of the nodes so that the real and predicted observations are as similar as possible ● Relative transformation (according to odometry) as measurement ● If two poses are exactly the same, ● 2 sequences → 2 unconnected pose graphs ● Adding loop closure edges connects poses across sequences ● Error in the loop
  • 13. Total Likelihood ● Set of independent and identically distributed points ● Total likelihood is the product of likelihood of each point where are the model parameters: vector of means and covariance matrix ● In the multivariate Gaussian case,
  • 14. Log Likelihood ● If we use the log of likelihood, we end up with a sum instead of a product ● In the Gaussian case
  • 15. Weighted Error Function ● Uncertainties in spatial loop closure and odometry constraints ● Weighted error function - a sum of squared non-linear terms ● Minimization problem ● Find values of for which the error is small ○ The whole state vector needs to be changed ○ Changing the pose of one node is not sufficient
  • 16. Gauss-Newton - Error Minimization Procedure 1. Define the error function 2. Linearize the error function 3. Compute its derivative 4. Set the derivative to zero 5. Solve the linear system 6. Iterate the procedure until convergence
  • 17. Linearizing the Error Function ● Approximate the error around an initial guess via Taylor expansion ● Does one error term depend on all state variables? ○ In the SLAM problem, the answer is NO ○ This error term only relates the 2 poses/variables to which this edge is connected ● What is the structure of the Jacobian?
  • 18. Jacobian - Partial Derivatives of Error Function ● Non-zero only in rows corresponding to and Sparse Jacobian
  • 19. Local Approximation of Error Function
  • 20. Linearized System ● Quadratic form can be minimized in by solving ● Linearized Solution: Add initial guess with computed increments
  • 22. Example: Loop Closure ● Red not in state vector ● Shows mismatch in the information about that node s0 s1 s2 s3 s4 s5 s5 s5 Constructed from odometry Constructed from observation sensor Loop closure edge
  • 23. Example: Linear System Construction after Loop Closure ● Diagonal Elements - Accumulated value of different edges ○ Total probability of correctness of that node in the graph ● Off-Diagonal Elements ○ Probability of correctness of two poses relative to each other
  • 24. Online SLAM - Graph Pruning ● Size of the H matrix grows linearly with the number of poses ○ Add a new odometry pose? Expand the matrix by 1 row + 1 column ● Running “full” graph-based SLAM online - Prune the graph ○ Fix the memory - The number of poses remembered by the graph
  • 25. Integrate away the variable - Second-oldest pose
  • 28. Role of a Prior ● Constraints are relative ● We don’t know where and actually are in a global reference frame ● One node needs to be fixed - Create a ‘prior’ node ○ Constraint of a gaussian distribution ○ Fixes the first node as the reference frame with a certain uncertainty ○ Additional constraint to our H matrix, setting ● Updated State Vector
  • 29. References ● G. Grisetti, R. Kümmerle, C. Stachniss and W. Burgard, "A Tutorial on Graph-Based SLAM," in IEEE Intelligent Transportation Systems Magazine, vol. 2, no. 4, pp. 31-43, winter 2010, doi: 10.1109/MITS.2010.939925. ● Appel, R.N. and Folmer, H.H (2016) “Analysis, optimization, and design of a SLAM solution for an implementation on reconfigurable hardware (FPGA) using CλaSH.” ● C. Cadena et al., "Past, Present, and Future of Simultaneous Localization and Mapping: Toward the Robust-Perception Age," in IEEE Transactions on Robotics, vol. 32, no. 6, pp. 1309-1332, Dec. 2016, doi: 10.1109/TRO.2016.2624754 ● Thrun S, Montemerlo M. “The Graph SLAM Algorithm with Applications to Large-Scale Mapping of Urban Structures”. The International Journal of Robotics Research. 2006;25(5-6):403-429. doi:10.1177/0278364906065387 ● Cyrill Stachniss, “Graph-based SLAM using Pose Graphs (Cyrill Stachniss, 2020)” https://www.youtube.com/watch?v=uHbRKvD8TWg