To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.org.ca.rtltorontoOpen lugnet.org.ca.rtltoronto in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Organizations / Canada / rtlToronto / 15702
    event driven vs. timing driven code... —David Koudys
   K, most of my codeing for every competition has been based mostly on timing--sure I had a few events, such as touch sensors and light sensors and such, but when touch sensors were pressed, the code was to back up for x seconds, rotate for x seconds, (...) (19 years ago, 17-Feb-06, to lugnet.org.ca.rtltoronto)
   
        Re: event driven vs. timing driven code... —Chris Magno
   (...) Welcome to MY world! thats how I have programed MOST of my bots, and THATS the number one thing that bites me in the A..... arm. you just CANT think of all the scenarios. This is going to be a GREAT game. (...) i am so impressed with your seek (...) (19 years ago, 18-Feb-06, to lugnet.org.ca.rtltoronto)
   
        Re: event driven vs. timing driven code... —Rob Antonishen
   (...) When using events I tend to use a state model, and use the events to switch the state. So my main loop is: repeat forever if state 1 do stuff if state 2 do stuff if state 3 do stuff and then have eternal tasks defining the state. Works OK, but (...) (19 years ago, 19-Feb-06, to lugnet.org.ca.rtltoronto, FTX)
   
        Re: event driven vs. timing driven code... —Chris Magno
     Rob Antonishen wrote: ing the state. Works OK, but you can still (...) COOL!!!! i might just have to do a short video myself. it would seem that the "spin" idea works well. Rob, do you have other code that keeps it looking for the light after your (...) (19 years ago, 19-Feb-06, to lugnet.org.ca.rtltoronto)
    
         Re: event driven vs. timing driven code... —Rob Antonishen
     (...) Yep Chris - it is a basic line follower type routine, with the only sneaky thing being that it always looks for the light staying the same or getting brighter (as it gets closer). If it looses the light in its FOV then it will reset an go back (...) (19 years ago, 20-Feb-06, to lugnet.org.ca.rtltoronto)
   
        Re: event driven vs. timing driven code... —David Koudys
   In lugnet.org.ca.rtltoronto, Rob Antonishen wrote: <snip> (...) That's a beautiful vid! I think this is gonna be a great competition... (19 years ago, 20-Feb-06, to lugnet.org.ca.rtltoronto, FTX)
   
        Re: event driven vs. timing driven code... —Calum Tsang
   (...) You know, I'm man enough to eat my words from before...I am looking forward to this too. I spent a lot of the weekend working on my "you come to me, I'm lazy" robot. Prompted primarily by my friend Sacha, who wrote all the software for it. (...) (19 years ago, 20-Feb-06, to lugnet.org.ca.rtltoronto, FTX)
 

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR