Differential drive locomotion module code