To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.spyboticsOpen lugnet.robotics.spybotics in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / Spybotics / *387 (-10)
  Re: Sending Commands to Spybot from RCX - Question from a Beginner to Comm area.
 
(...) First of all, my apologies for not answering you via email. I've been a bit busy at work. I needed to run some tests myself before I could properly respond as well. The 0x9223 from the RCX happens to match the IR sent out by the Spybot (...) (19 years ago, 28-Jan-05, to lugnet.robotics.spybotics, lugnet.robotics, lugnet.robotics.rcx, lugnet.robotics.rcx.nqc)
 
  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 (...) (19 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 (...) (19 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, (...) (19 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 (...) (19 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 (...) (19 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 (...) (19 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 (...) (19 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 (...) (19 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 (...) (19 years ago, 11-Jan-05, to lugnet.robotics.spybotics)


Next Page:  5 more | 10 more | 20 more

Redisplay Messages:  All | Compact

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR