I am implementing Kalman filter in python with two state-space models, ‘x’, one for ego-motion having 3 variables and the other for road geometry estimation having 3 variabl