does anyone have any automous example code?
Please ask Smart Questions.
It would help immensely if you provided just a little more information. Such as the programming language you’re using (Labview vs Java/C++ vs Python will all generate vastly different answers). Also, where have you looked? What have you tried? For what you tried, what didn’t work?
Example projects are provided as part of the WPILIB API and tutorials for programming are available on FIRST’s website.
And sorry, I am new to robotics and Chief Delphi, I forgot to add that we are coding in java and timed based.