Implementation of mobile robot based on Raspberry Pi

Hi
Can the linear speed of a mobile robot be calculated from the accelerometer?
I calculated the speed from accelerometer with this eq: v = v0 + acc.(t2-t1) ,correct?
I would like to develop my project:

Do you have any tips or suggestions?
I am currently designing an algorithm for sensor fusion(IMU+GPS)
Thank you