Interesting read on the topic: https://blog.thelifeofkenneth.com/2017/11/creating-autonomous-system-for-fun-and.html?m=1