icar
29-01-2016, 16:11
Hello
What is a good and efficient way to program a time based autonomous program in an iterative robot base class? More specifically, could anyone show me what an example code would look like if I for example wanted to make my tankdrive, four motor robot, drive forward for two seconds and then turn for one second and then stop?
Any help would be greatly appreciated.
What is a good and efficient way to program a time based autonomous program in an iterative robot base class? More specifically, could anyone show me what an example code would look like if I for example wanted to make my tankdrive, four motor robot, drive forward for two seconds and then turn for one second and then stop?
Any help would be greatly appreciated.