| | 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)
|