Subject:
|
Re: problem building bugbot3.nqc in cybermaster
|
Newsgroups:
|
lugnet.robotics.rcx.nqc
|
Date:
|
Sat, 8 Apr 2000 13:06:14 GMT
|
Viewed:
|
2308 times
|
| |
| |
Dave Baum <dbaum@spambgoneenteract.com> wrote:
> In article <FsFsts.49C@lugnet.com>, "Jose Antonio Vacas"
> <joseavm@meta4.com> wrote:
>
> > When I try to compila bugbot3.nqc (the code of the Dave's wonderfull
> > book)
> > using my cybermaster as target, the compiler return twice the following
> > error:
>
>
> Just delete the SetSensor() lines. CyberMaster only supports touch
> sensors, so the entire sensor configuration thing isn't needed...in fact
> CyberMaster doesn't support some of those bytecodes (which is why many
> of the constants and functions aren't defined for NQC). Otherwise,
> things should work (although I haven't tried it myself).
Why not do something like this?
#ifdef __RCX
SetSensor(...);
#endif
--
Kevin Reid: | Macintosh:
"I'm me." | Think different.
|
|
Message is in Reply To:
| | Re: problem building bugbot3.nqc in cybermaster
|
| (...) Just delete the SetSensor() lines. CyberMaster only supports touch sensors, so the entire sensor configuration thing isn't needed...in fact CyberMaster doesn't support some of those bytecodes (which is why many of the constants and functions (...) (25 years ago, 3-Apr-00, to lugnet.robotics.rcx.nqc)
|
3 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|