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 / 3604
3603  |  3605
Subject: 
Blue screen of death
Newsgroups: 
lugnet.org.ca.rtltoronto
Date: 
Thu, 14 Feb 2002 02:31:29 GMT
Viewed: 
399 times
  
So, it took me a while, and I

THINK,

I

MIGHT


have solved the stupid rcx crash thing.

My code has a wait until command.  it is peppered throughout the code
and it is a simple way for me to wait until BOTH the X and the Y are in
position before i do a pick/place cycle.

it looks like the "crash" was that it would get into position BUT would
not advance the counter to say "YES I AM In POSITION" so the rcx would
"hang" and that would be it.

I added a touch sensor to an unused port and when it would hang, I would
press the button and it would advance the counter.  then the program
would solve the game just like nothing was the matter.

SO,  i have 3 options

1. Do I just have the emergency touch switch and during the game,  just
press the button once in a while,  then have to listed to the likes of
Bruce and the little children mockage.

2. replace the touch switch with a simpler timer event that looks for  a
certain time of inactivity then force the pick/place cycle.

OR

3.  replace ALL the "wait until" code with a simple wait 50mS - logic
would dictate that it will not take my bot longer then 50 mS to cross
the Y arm, so that it should be where it needs to be.   the bad side is
that I waste valuable milliseconds for the short hops along the Y axis,
while i wait out the rest of the 50 mS.

I'll keep you all posted.

:)


Chris
I better win this



Message has 2 Replies:
  Re: Blue screen of death
 
(...) Are you dreaming??....No stink'in way you control that bot after we press go. Next thing, you'll be asking if its okay to just reposition a block with your hand. This from the guy who argues the merits of lego vs non-lego string! Bruce (23 years ago, 14-Feb-02, to lugnet.org.ca.rtltoronto)
  Re: Blue screen of death
 
(...) First of all, I definately recall you saying in an earlier post that you had removed *all* of the WAIT instructions. I guess you meant only the independent varieties. A suggestion: (just so that if you beat me, I can claim it was *my* (...) (23 years ago, 14-Feb-02, to lugnet.org.ca.rtltoronto)

11 Messages in This Thread:



Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

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