Pass world position transform data from sequencer into control rig?

Hi man, how did you manage to transform this worl transform in local, so that wheels dont rotate in different directions in case of changing the direction?