How can i implement this into my python project for a real life robot project that i'm working on?