| | Sending Commands to Spybot from RCX - Question from a Beginner to Comm area.
|
|
Hi All, I am planning to send some commands to spybot via RCX 2.0 unit. My Whole plan is control spybot using RCX unit. To have a basic understanding of the communication, I used the sample posted my Mark Riley 19 Aug 2002. In RCX I used (...) (20 years ago, 28-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)
|
|
| | Re: Arrays and proximity
|
|
(...) If I MUST program a state machine, I could program it to be a small array. Something like this: if(i==0) r=array0; if(i==1) r=array1; if(i==2) r=array2; etc... Self modifying code would be more elegant, but can that be done? If it can be done, (...) (20 years ago, 27-Jan-05, to lugnet.robotics.spybotics)
|
|
| | 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)
|
|
| | Arrays and proximity
|
|
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 (...) (20 years ago, 27-Jan-05, to lugnet.robotics.spybotics)
|
|
| | Re: New NQC API for RCX-Spybot or RCX-RC communication
|
|
(...) I forgot to include a few #defines: #define SERIAL_PACKET_RC 0 // default #define SERIAL_PACKET_SPYBOT 0 #define SERIAL_COMM_RC 7 // 4800/76KHZ/25% #define SERIAL_COMM_SPYBOT 7 // was SERIAL_COMM_4800 + SERIAL_COMM_76KHZ The RC function, by (...) (20 years ago, 12-Jan-05, to lugnet.robotics, lugnet.robotics.rcx, lugnet.robotics.rcx.nqc, lugnet.robotics.spybotics)
|
|
| | New NQC API for RCX-Spybot or RCX-RC communication
|
|
Recently I happened across the MindScript headers for the RCX in the SDK and saw some interesting macros for RCX communication. I decided to port them to NQC and possibly add them to the official built-in NQC API. I would be extremely grateful if (...) (20 years ago, 12-Jan-05, to lugnet.robotics, lugnet.robotics.rcx, lugnet.robotics.rcx.nqc, lugnet.robotics.spybotics)
|
|
| | Re: Sending/receiving messages
|
|
(...) Unfortunately, the Spybot does not support the Message() or SendMessage(n) functions. The RCX mailbox source (which is what is read or written to via these functions) is the VLL source in the Spybot. You can, however, use other functions to (...) (20 years ago, 12-Jan-05, to lugnet.robotics.spybotics)
|
|
| | Re: Sending/receiving messages
|
|
Gabe, I think you want something like this: // first spybot if (x==1) { SendMessage(SORT_NUMBER); while (Message()!=SORT_CONFIRM); start follow_line(); } --- // second spybot if (Message()==SORT_NUMBER) { //send confirmation (...) (20 years ago, 11-Jan-05, to lugnet.robotics.spybotics)
|
|
| | Sending/receiving messages
|
|
Hi guys, I have a project where I am using 2 spybots in one robot. I need one spybot to send a "GO" message to the other and to wait until it gets confirmed and do an action together. I have tryed to understand what I read in the help file but I (...) (20 years ago, 11-Jan-05, to lugnet.robotics.spybotics)
|
|
| | Re: using MacNQC with Spybotics via USB Tower
|
|
(...) It is a capability of NQC but I was mistaken about the Mac version of NQC. It currently does not support the Spybotics target when the USB tower is used. One of the first changes I made when I took over NQC was to add the ability for NQC to (...) (20 years ago, 29-Dec-04, to lugnet.robotics.spybotics, lugnet.robotics.rcx, lugnet.robotics.rcx.nqc)
|
|
| | Re: using MacNQC with Spybotics via USB Tower
|
|
(...) I'd not heard this - do you use a fiber optic cable between the USB tower and the Spybot, or just place the Spybot port near the little green light on the UBS tower? I currently use a Serial-to-USB adapter, but another solution would be (...) (20 years ago, 29-Dec-04, to lugnet.robotics.spybotics)
|
|
| | Re: using MacNQC with Spybotics via USB Tower
|
|
(...) It is possible with NQC 3.0 a1. I believe that the very latest release of MacNQC includes this capability, but I may be mistaken. Normally you use the serial cable that comes with the Spybot. I know I have downloaded programs to my Spybot (...) (20 years ago, 29-Dec-04, to lugnet.robotics.spybotics)
|
|
| | using MacNQC with Spybotics via USB Tower
|
|
Anyone know if it is possible to download programs to a Spybotics unit using MacNQC with a USB Tower? We have been able to download to an RCX with no problem but not the Spybot. Any help appreciated. (20 years ago, 29-Dec-04, to lugnet.robotics.spybotics)
|
|
| | a serial message receive
|
|
hello, can say someone to me why this program not functioned? I connected the exit of spybot with the entrance by a light conductor and would like a serial message to send and these at the same time receive! my asks: 1. which worth the message INDEX (...) (20 years ago, 21-Dec-04, to lugnet.robotics.spybotics)
|
|
| | Spybot RC button release event
|
|
Hi, how can I catch spybot's remote control button release event (in NQC)? Is it possible? (I know how to catch RC button pressed, but can't figure out the release event.) Thanks. (20 years ago, 29-Nov-04, to lugnet.robotics.spybotics)
|
|
| | Re: Wireless Camera
|
|
(...) Sorry Brickshelf doesn't seem to be clearing my images. I have sent them to you direct. As for the link someone has just posted I got my camera for £10 sterling off of Ebay. I know they are a little dearer these days, but no where near $110. (...) (20 years ago, 3-Oct-04, to lugnet.robotics, lugnet.robotics.spybotics, lugnet.robotics.tele, lugnet.robotics.cybermaster)
|
|
| | Re: Wireless Camera
|
|
(...) Could you post direct links to your pictures? I'm quite interested in your wireless setup. It wouldn't by any chance fit into a monorail car (4 wide, could be made 6 wide) ... Bye, Hakan (20 years ago, 3-Oct-04, to lugnet.robotics, lugnet.robotics.spybotics, lugnet.robotics.tele, lugnet.robotics.cybermaster)
|
|
| | Wireless Camera
|
|
I posted this link ages ago and it didn't seem to work. (URL) are some photos of a wirelss camera I made for my setup. It is powered by a single motor port and the footage is then captured via a TV card in my PC. You can also just run it from a 9v (...) (20 years ago, 3-Oct-04, to lugnet.robotics, lugnet.robotics.spybotics, lugnet.robotics.tele, lugnet.robotics.cybermaster)
|
|
| | Spybotics Experiments
|
|
Hi, everybody, I'm new to this forum, and I'm glad I found it. :-) Please note that the following is only an "preliminary report" of a "Work in progress". :-) Recently, I bought a couple of Spybots as buddies for my RCX and was of course thrilled by (...) (20 years ago, 20-Sep-04, to lugnet.robotics.spybotics)
|