1D positioning using robot_localization package
I've recently started learning about ROS. I am currently working on a project where I am designing a vehicle. This vehicle contains 2 motors. Main motor which is a brushless DC is driving rear wheels and a secondary servo motor controls the rotation of the vehicle over a single front wheel. This vehicle currently contains an encoder attached on one of the rear wheels, an IMU and GPS module. I need this vehicle to move an amount in a straight line then repeat this movement specified number of times. Therefore, I need to implement 1D position tracking. My question is "With this number of sensors and using ROS robot_localization package, will I be able to do 1D positioning?"