10-08-2012 12:51 PM
Environment: NXT-G 2.0
I extended a simple ultrasonic sensor test program, and the switch block stopped working.
I tried removing the extensions to see if I could start from a known baseline and then add program blocks to see what was causing the problem, but after I'd deleted all the extensions the program still didn't behave like the original program.
Explanation of attachments:
bat bot.rbt - the original program which works as expected (moves until sensor reads < 12 inches, then backs and turns)
bat bot 1.rbt - as far as I can tell identical to original program, but the '< 12 inches' branch is never chosen
bat bot speaker.rbt - the intended extension - adds a sensor display loop and uses sound sensor as an additional way to turn
Any help figuring out why bat bot 1 doesn't behave like bat bot would be appreciated.
BTW, might be helpful to add .rbt to the list of valid attachment extensions.
10-09-2012 09:51 AM
NXT-G is not a National Instruments software environment. As such I am not able to help you with your question. Other people in the community may know, but you would probably be better served finding forums which support the environment you're using.
Good luck!
10-20-2012 03:01 PM
I appologize, the following link led me to belive this might be an appropriate forum:
Certainly there didn't seem to be any relevant activity in the legos forums.