Hi @FKara.3 ,
this is a very interesting project, let me try to give you all the info you need:
if you need to detect and follow the motion of a robot in the space, the Sensor Fusion algorithm can help you in detecting the orientation of the robot, with a very high precision.
you can find all the info on it in this application note (section 6.5).
then when speaking about velocity, the situation is more complicated: in theory, having the acceleration, it is possible to integrate it to get the velocity, but in reality, there are many factors to keep into consideration, that makes it impossible to have a great accuracy.
the noise (both the environmental one and the sensor one), is a big problem, but with the right algorithm you can find a good compromise.
If this answers your question, please, mark this as "best answer", by clicking on the "accept as solution" to help the other users of the community
Niccolò