Quote:
Originally Posted by Arrowhead
This is the first time we are testing the code, as we havent had a working CRio before now.
What is this net console you talk about?
Also, what is the PIDController class?
It looks like i have some reading to do
|
If you haven't tested any of the code before I would recommend starting small and then adding in one piece at a time verifying that things work as expected as you go. Just comment out everything in your while(IsAutonomous()) loop and while(IsOperatorControl()) loop and then uncomment one line at a time testing each time. Another way of saying this is you should do 'unit testing' to verify each function is working as intended, then do 'integration testing' to verify all the functions/units work together correctly.
You may not need to use NetConsole since you are already sending print statements to the LCD but is here is a link to the documentation
http://wpilib.screenstepslive.com/s/...ing-netconsole.
PIDController is one of the classes available in the WPILib that is used for doing closed-loop PID control. Here's the link for that
http://wpilib.screenstepslive.com/s/...rs-pid-control