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 / 382
    Arrays and proximity —Kim Øyhus
   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: Arrays and proximity —Steve Hassenplug
     (...) 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)
    
         Re: Arrays and proximity —Kim Øyhus
     (...) 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 —John Hansen
   (...) 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)
 

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