Self balancing robot issue

lukagabric:
Here are two more videos after I added motor dead zone compensation:

https://www.youtube.com/watch?v=i-PIlF5rdAA
https://www.youtube.com/watch?v=anxJNQCpQuA

Hi! How did you add the dead zone compensation? Only by adding an offset to the PWM signal?

Thanks!

PS: I'm working on a balancing robot too, but I don't get full stability. It gets perturbations from it's own start-stop acceleration that makes it drift a little bit too much