Pseudo interrupt type behaviour
Tazman
Posts: 6
Hi all,
I am in the process of coding my sumo bot (with BS2 brain). My bot has edge detectors that sense the boundaries of the playing field. I would like to handle detection of field edges like interrupts while hunting for opponents in the field.
What design patterns can I use to simulate an interrupt being generated by the edge detector while searching and pushing out opponents?
Any and all pointers would be much appreciated.
Thankx.
I am in the process of coding my sumo bot (with BS2 brain). My bot has edge detectors that sense the boundaries of the playing field. I would like to handle detection of field edges like interrupts while hunting for opponents in the field.
What design patterns can I use to simulate an interrupt being generated by the edge detector while searching and pushing out opponents?
Any and all pointers would be much appreciated.
Thankx.
Comments