Subject:
|
Re: NQC vs Spirit communication speed
|
Newsgroups:
|
lugnet.robotics.rcx.nqc
|
Date:
|
Sat, 12 May 2001 02:39:34 GMT
|
Viewed:
|
2558 times
|
| |
| |
> I made PredictReplyLength a member of the RCXLink class so it can return
> a
> different value for case 0x20 (it returns 20 if the Target is Cybermaster
> and 0 if it is Scout - since the Scout doesn't support that opcode). Of
> course, in Object Pascal the code isn't quite as pretty. :-)
I knew Scout didn't support the opcode, but overlooked the Cybermaster
case. I'll fix it for NQC as well. The return value for an unsupported
opcode doesn't really matter since nothing is going to come back anyway,
so predictive will fail no matter what and you're stuck with the timeout.
Dave
--
reply to: dbaum at enteract dot com
|
|
Message is in Reply To:
| | Re: NQC vs Spirit communication speed
|
| (...) I made PredictReplyLength a member of the RCXLink class so it can return a different value for case 0x20 (it returns 20 if the Target is Cybermaster and 0 if it is Scout - since the Scout doesn't support that opcode). Of course, in Object (...) (24 years ago, 11-May-01, to lugnet.robotics.rcx.nqc)
|
8 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|