|
Re: What's the best way to test?
The best way to test/debug code is to get your robot on a table, set on blocks, and play with your code. Now that your robot is in a bag, you'll have to approach things differently. Write code you think will work, and have other people review it. Talk to them; bounce your logic off of them, what you can reasonably expect each VI to do, what you want to do and so on. In explaining everything to someone, you might find errors within your code.
The next best thing to a robot is a cRIO with a Digital Module and a Digital Sidecar along with one speed controller. You can move the single controller around and test most of your code on it.
|