Quote:
Originally Posted by Greg McKaskle
The attached image shows some of the useful techniques that may help. You can even make some of these into subVIs for use elsewhere.
I'd encourage you to build this with the button, right click on the button and change the mechanical action to a "switch until released", and run it on the My Computer. You can place probes on any of the wires or add indicators to them to understand how the values change when you interact. Then, when you understand and trust it, move it to the robot simply by retargeting it or by copying the code or using the subVIs.
Ask questions if parts of it don't make sense or you want to compare it to your approach.
Greg McKaskle
|
I either copied it wrong or I guessed what was in the case and diagram disable structures incorrectly because after many a run through it seemed ok but when I actually tested it the motor didn't move. Here is what I made:
I noticed that the stop on the while loop was set to false so I switched that to true and nothing changed.
Please give it to me straight, doc.