Location detection

Hello
I want to detect the Location and the movement that a robot has made without using rotary encoder I have Ultrasonic sensor is there any way to do it?
thanks!

Pozyx works well.