Autonomous Vehicle/Theory

(prerequisite-Kalman Filter) Localization, Tracking

Naranjito 2023. 7. 6. 14:16
  • Localization

 

Localization = Sensor + Control Input + (Noise of Sensor + Noise of Control Input)

 

It recognizes the kinematic information of the car, which uses the sensor and the control input assuming that noise can be generated in the sensor values and control inputs.

 

Control Input + (Noise of Control Input) : You can see how much the accelerator pedal was pressed, how many degrees the wheel was moved, and so on.


  • Formula of Localization

 

p ( x t | x 0 : t 1 , z 1 : t 1 , u 1 : t ) = p ( x t | x t 1 , u t )

 

x t : The LOCATION in time 't'.
z t : The SENSOR in time 't'.
u t : The CONTROL INPUT in time 't'.
  • Decomposition of Formula of Localization

 

1. The left side

 

p ( x t | x 0 : t 1 , z 1 : t 1 , u 1 : t )

 

It estimates the position at the current time 't' using the position of the previous time(t-1), sensor, control input.



2. The right side

 

p ( x t | x t 1 , u t )

 

All x0 to xt-2 were omitted because the current state is a simplification assuming that it is affected by the previous state.

 

2-1. Markov Property

 

P ( x t | x 0 , x 1 , . . . , x t 1 ) P ( x t | x t 1 )

 

The preceding state, P(xt-1), implies all previous states.


 

3. Update sensor z t

 

p ( z t | x 0 : t , z 1 : t 1 , u 1 : t ) = p ( z t | x t )

 

Update the sensor z t based on the x t obtained earlier.

 

4. Final position( b e l ( x t ) , belif)
b e l ( x t ) = p ( x t | z 1 : t , u 1 : t )

 

Current state, based on all sensor and control input data from the start of the algorithm to the current.


  • Tracking

 

Tracking = Sensor + (Noise of Control Input)
Remove control input u from the Formula of Localization.

 

p ( x t | x 0 : t 1 , z 1 : t 1 ) = p ( x t | x t 1 )
p ( z t | x 0 : t , z 1 : t 1 ) = p ( z t | x t )
b e l ( x t ) = p ( x t | z 1 : t )

 

https://gaussian37.github.io/autodrive-ose-localization_and_tracking/