|
Re: EasyC autonomous modes
Uh...hate to be a wet blanket, but for others that are looking at this I just thought of another problem with your snippet. Won't the INNER while loops also cause the program to stick in Initialize()? Say the operator sets the auto program he wants then backs away, then the code sits here in:
while ( GetOIDInput(1,1) == 0 ) // wait for the trigger
{
}
Right? The only way to escape to the outside loop is to press the trigger again after the field is enabled (not allowed).
|