Hidden-Markov-Model
This repo makes use of a Hidden Markov Model to estimate the postion of a robot in a discrete map.
This simulation is run in the RobotLocWrapper.ipynb notebook
This HMM filter makes use of 2 types of models, namely the transition model and the observation model.
The transition model, describes the probability of getting to one state given a state. is a matrix where , each item in the matrix represents or the probability of getting to state given that the current state is .
For each possible sensor reading, , there exist one Observation model. Each observation model is and matrix, where .
The matrix is a diagonal matrix, where each element represents or the probability of being in state given the sensor reading .
The prediction matrix is a matrix where . Each item in the matrix represents the probability of the robot being at state m that is estimated by the HMM filter. It first initialises with all values of being equal, as the robot does not know its initial state. For each time step, it updates itself as follows: