Sign in

username:

password:



Not a member?

Search basicx



Search tips

Subscribe to basicx



basicx by Keywords

Accelerometer | ADC | ADXL | Adxl20 | AVR | BasicStamp | BX-35 | BX28 | BX35 | COM3 | Compiler | Downloader | EEPROM | Electromagnet | GetADC | GP2D1 | GPS | I2C | IDE | Keypad | LCD | LCD+ | MIDI | Motors | Multitasking | Netmedia | Networking | PCB | PID | PlaySound | PWM | Relays | RTC | Servo | ShiftOut | SitePlayer | SPI | Stack | Timer | USB

Ads

Discussion Groups

Discussion Groups | BasicX | The Finite State Machine.

Discussion forum for the BasicX family of microcontroller chips.

The Finite State Machine. - Author Unknown - Sep 17 13:28:00 2000

Hi
Iīve read an interesting article about a special way of
programming.
You can find the article as a ZIP file at :
http://www.verinet.com/~dlc/Boe-bot.zip
This is about subsuming programming vs linear programming. Itīs a
way
of saving processing time and get acess to emergent behaviours
(behaviours you end up without having programmed them as a result of
multiples subprogramms interferings).
The codes given in this article are basicStamp codes and as soon i
tryed to change them into Basicx codes, i got in troubles.
Can someone help me with for example the first code given in the
article for servo control?
Cheers

Xavier





(You need to be a member of basicx -- send a blank email to basicx-subscribe@yahoogroups.com )


Re: The Finite State Machine. - Author Unknown - Sep 18 21:38:00 2000

Finite state machines are a pretty common programming technique. I use
such a technique on the BX-24 to interleave a number of behavioral
"processes" in a subsumption architecture robot.

I use state machines primarily to avoid the stack overhead associated
with BX-24 multiple threads. A simplified (older version) of the code
can be had at:

http://www.swampgas.com/files/subsump.bas On Sun, 17 Sep 2000 18:28:08 -0000, you wrote: >Hi
>Iīve read an interesting article about a special way of
>programming.
>You can find the article as a ZIP file at :
>http://www.verinet.com/~dlc/Boe-bot.zip
>This is about subsuming programming vs linear programming. Itīs a
>way
>of saving processing time and get acess to emergent behaviours
>(behaviours you end up without having programmed them as a result of
>multiples subprogramms interferings).
>The codes given in this article are basicStamp codes and as soon i
>tryed to change them into Basicx codes, i got in troubles.
>Can someone help me with for example the first code given in the
>article for servo control?
>Cheers
>
>Xavier
**************************************
Do not taunt Happy Fun Ball.





(You need to be a member of basicx -- send a blank email to basicx-subscribe@yahoogroups.com )