I want to plot a map( with matplotlib or any other library ) using a wheel encoder and IMU data.
Eg:- For every 10cm robot moves it should draw line (in a graph) and draw angles depending on the data received from the IMU.
I'm using python in Raspberry pi.
How can I achieve this function? Is there any algorithm for this? I googled for a couple of hours but still found nothing.