|
Re: When programming doesn't get enough time
As Bongle said: simulation is everything. We write simulation wrappers for almost every bit of code we do, and test it on a PC before it ever sees the robot.
The key is to structure your code such that it can be executed on a PC - in other words, don't bury calls to the hardware input reading or output setting functions within each code unit. This will allow you to test your code unit off the robot.
__________________
-
An ounce of perception is worth a pound of obscure.
|