|
I just got my Spybotics set cheaply, and I now want to start my machine
intellligence experiment. However, I need arrays to process inputs and store
experiences. How large can they be in the spybot? How can I use the flash? And
how can I use the proximity sensors?
Yesterday I studied LASM, and to my horror: No arrays, no indexing, nothing!
Ghastly! It is NOT turing machine compatible. It is in fact not a computer,
just a state machine. Perhaps self modifying code would do the trick. Any advice
on that?
I got quite impressed with NQC, which do have arrays, and I wonder how those
were implemented. Self modifying code again? Bytecodes not in LASM? But it seems
to lack control of proximity sensor. Could I put that in myself with some
#pragma or similar?
Then I discovered BrickOS. Perfect! ...except that it just runs on the RCX, not
the spybots. Can that be fixed? Could I fix that, with a little help?
|
|
Message has 2 Replies: | | Re: Arrays and proximity
|
| (...) You CAN program it, or use the state machine structure provided by LEGO (...) You also can use NQC, but I don't know the extent of what's available on the Spybot. There are differences between the RCX and the Spybot. (...) Yes, perfect. But it (...) (20 years ago, 27-Jan-05, to lugnet.robotics.spybotics)
| | | Re: Arrays and proximity
|
| (...) The Spybot has a limited number of global (32) variables. NQC lets you access these via an array syntax. MindScript and NQC also let you use pointers to variables which effectively is an array. The maximum size of an array is less than 32. The (...) (20 years ago, 27-Jan-05, to lugnet.robotics.spybotics, FTX)
|
4 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|