Quote:
Originally Posted by Zer0
I have a question about simple project. I was messing around with it and how do you start stuff when the robot is initialized. Kind of like how iterative has RobotInit, TeleopInit, and AutonomousInit. Does the simple robot project have something like this?
|
SimpleRobot leaves it up to the programmer to determine how to structure things. The most common way is to put your own while loop in operatorControl. Anything before the while loop is run at the beginning, just like TeleopInit. See
https://wpilib.screenstepslive.com/s...ot-programming