Subject:
|
Re: Blue screen of death
|
Newsgroups:
|
lugnet.org.ca.rtltoronto
|
Date:
|
Thu, 14 Feb 2002 06:20:28 GMT
|
Viewed:
|
409 times
|
| |
| |
>
> 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.
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*
suggestion that made the difference)
Within the software*, calculate how many cells (ie. how far) the
gripper has to travel over and adjust your wait cycle accordingly.
i.e. 2ms to speed up, plus 2 cells@3ms each, plus 2ms to stop = 10ms
wait time for 2 cells, 13 for 3 cells and 7 for one. That would keep
the wasted time to a minimum while working around whatever problem is
preventing the RCX from seeing that it is in fact where it needs to
be.
Matthias Jetleb
|
|
Message is in Reply To:
| | Blue screen of death
|
| 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 (...) (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
|
|
|
|