behavior-based programming examples in BASIC

Translate This Thread From English to

Threaded View
Hi all,

I am looking for samples or examples of behavior-based programming
code (a la Joseph L Jones' book) in BASIC.  I am not very familiar
with C or Java, and all the examples in that book are in those
languages.

Thanks for any help!

John Byrley


Re: behavior-based programming examples in BASIC


I've seen a few. One is here:

http://www.seattlerobotics.org/encoder/200210/prj4/scrob.htm

The basic idea is to have some form of message pump or loop (event
scheduler), and one or more switch statements to handle events.

Try looking for compiler-specific examples. Some popular Basic and
Basic-like compilers used in robotics include Bascom AVR and OOPic.

-- Gordon

Site Timeline